mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
Input: sensehat-joystick : Revert to downstream keymap
Upstream chose to use BTN_DPAD_* and BTN_SELECT, whilst downstream had used KEY_*. Revert to the downstream map to avoid any regressions. (Ideally this would be read from DT) Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
7e13804c25
commit
bdb5325c9f
@@ -28,7 +28,7 @@ struct sensehat_joystick {
|
||||
};
|
||||
|
||||
static const unsigned int keymap[] = {
|
||||
BTN_DPAD_DOWN, BTN_DPAD_RIGHT, BTN_DPAD_UP, BTN_SELECT, BTN_DPAD_LEFT,
|
||||
KEY_DOWN, KEY_RIGHT, KEY_UP, KEY_ENTER, KEY_LEFT
|
||||
};
|
||||
|
||||
static irqreturn_t sensehat_joystick_report(int irq, void *cookie)
|
||||
|
||||
Reference in New Issue
Block a user