]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit552e4047f3341ead7c7d61eddfc5c39dbf20452b
tree9cde79e299142d0f42d6888f55d7ff68039eac15
parent9b2336965a4c664b200af81f6bc214757b9f64e2
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]