diff options
| author | Terry Tritton <terry.tritton@linaro.org> | 2024-12-20 19:23:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:57:11 +0100 |
| commit | a3bdd14936537ef92edf8a60f2415b2ac9a92dbb (patch) | |
| tree | 5fe4bcfc7e1b82a204e1ca2f97702d24b9bd3fd0 /include/linux | |
| parent | e5bcae4212a6a4b4204f46a1b8bcba08909d2007 (diff) | |
| download | linux-a3bdd14936537ef92edf8a60f2415b2ac9a92dbb.tar.gz linux-a3bdd14936537ef92edf8a60f2415b2ac9a92dbb.tar.bz2 linux-a3bdd14936537ef92edf8a60f2415b2ac9a92dbb.zip | |
HID: fix generic desktop D-Pad controls
[ Upstream commit 80818fdc068eaab729bb793d790ae9fd053f7053 ]
The addition of the "System Do Not Disturb" event code caused the Generic
Desktop D-Pad configuration to be skipped. This commit allows both to be
configured without conflicting with each other.
Fixes: 22d6d060ac77 ("input: Add support for "Do Not Disturb"")
Signed-off-by: Terry Tritton <terry.tritton@linaro.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index a7d60a1c72a0..dd3342301253 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -218,6 +218,7 @@ struct hid_item { #define HID_GD_DOWN 0x00010091 #define HID_GD_RIGHT 0x00010092 #define HID_GD_LEFT 0x00010093 +#define HID_GD_DO_NOT_DISTURB 0x0001009b /* Microsoft Win8 Wireless Radio Controls CA usage codes */ #define HID_GD_RFKILL_BTN 0x000100c6 #define HID_GD_RFKILL_LED 0x000100c7 |
