mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-25 06:26:15 +00:00
538a1d740c
The patches were generated from the RPi repo with the following command: git format-patch v6.6.58..rpi-6.6.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
23 lines
795 B
Diff
23 lines
795 B
Diff
From 3a7ab92b9be0f8849941ed66049b9c3744cbd5aa Mon Sep 17 00:00:00 2001
|
|
From: Dom Cobley <popcornmix@gmail.com>
|
|
Date: Thu, 10 Oct 2024 17:18:57 +0100
|
|
Subject: [PATCH 1315/1350] Reapply "Input: sensehat-joystick : Revert to
|
|
downstream keymap"
|
|
|
|
This reverts commit bdb00151ff537c119cea7125e665a9bee1f76c58.
|
|
---
|
|
drivers/input/joystick/sensehat-joystick.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/input/joystick/sensehat-joystick.c
|
|
+++ b/drivers/input/joystick/sensehat-joystick.c
|
|
@@ -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)
|