]> git.baikalelectronics.ru Git - kernel.git/commit
Input: add SparkFun Qwiic Joystick driver
authorOleh Kravchenko <oleg@kaa.org.ua>
Thu, 10 Jun 2021 22:16:17 +0000 (15:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Jun 2021 04:28:20 +0000 (21:28 -0700)
commitae07e2c41ac787c30bed40202c67c0c7e8fb588c
tree9cde79e299142d0f42d6888f55d7ff68039eac15
parent6efc0361a65370f4604e846acc32c48908339ac7
Input: add SparkFun Qwiic Joystick driver

A simple analog joystick built on Low Power ATtiny85 Microcontroller.
Directional movements are measured with two 10 kΩ potentiometers
connected with a gimbal mechanism that separates the horizontal and
vertical movements. This joystick also has a select button that is actuated
when the joystick is pressed down.

Input events polled over the I2C bus.

Product page:
https://www.sparkfun.com/products/15168
Firmware and hardware sources:
https://github.com/sparkfun/Qwiic_Joystick

Tested on RPi4B and O4-iMX-NANO boards.

Signed-off-by: Oleh Kravchenko <oleg@kaa.org.ua>
Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/20210608223130.16830-2-oleg@kaa.org.ua
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/Kconfig
drivers/input/joystick/Makefile
drivers/input/joystick/qwiic-joystick.c [new file with mode: 0644]