]> git.baikalelectronics.ru Git - kernel.git/commit
Input: add Raspberry Pi Sense HAT joystick driver
authorCharles Mirabile <cmirabil@redhat.com>
Wed, 20 Apr 2022 21:00:20 +0000 (14:00 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 25 Apr 2022 01:25:02 +0000 (18:25 -0700)
commit5d7433e1573aafca903df17e09b84f7a8c4d4b7f
tree96764b7b47efd153e99d3bf0c3ab82d495bc03da
parent857d741f821c8e36db4c85b5b6d995c6f890e4bc
Input: add Raspberry Pi Sense HAT joystick driver

This patch adds the driver for the Sense HAT joystick. It outputs BTN_DPAD
key events when moved in any of the four directions and the BTN_SELECT
event when depressed.

Co-developed-by: Daniel Bauman <dbauman@redhat.com>
Signed-off-by: Daniel Bauman <dbauman@redhat.com>
Co-developed-by: Mwesigwa Guma <mguma@redhat.com>
Signed-off-by: Mwesigwa Guma <mguma@redhat.com>
Co-developed-by: Joel Savitz <jsavitz@redhat.com>
Signed-off-by: Joel Savitz <jsavitz@redhat.com>
Signed-off-by: Charles Mirabile <cmirabil@redhat.com>
Link: https://lore.kernel.org/r/20220419205158.28088-3-cmirabil@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/Kconfig
drivers/input/joystick/Makefile
drivers/input/joystick/sensehat-joystick.c [new file with mode: 0644]