History

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull input fixes from Dmitry Torokhov: - a fix to generate proper timestamps on key autorepeat events that were broken recently - a fix for Synaptics driver to only activate reduced reporting mode when explicitly requested - a new keycode for "selective screenshot" function - other assorted fixes * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: fix stale timestamp on key autorepeat events Input: move the new KEY_SELECTIVE_SCREENSHOT keycode Input: avoid BIT() macro usage in the serio.h UAPI header Input: synaptics-rmi4 - set reduced reporting mode only when requested Input: synaptics - enable RMI on HP Envy 13-ad105ng Input: allocate keycode for "Selective Screenshot" key Input: tm2-touchkey - add support for Coreriver TC360 variant dt-bindings: input: add Coreriver TC360 binding dt-bindings: vendor-prefixes: Add Coreriver vendor prefix Input: raydium_i2c_ts - fix error codes in raydium_i2c_boot_trigger()

Linus Torvalds committed 6 years ago

Commit f3e69422 parents 9efcc4a 41342529 files · +30 −11Browse files

Showing the changes to include/uapi/linux (2 of 9 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/input-event-codes.h +3 −0
  2. include/uapi/linux/serio.h +5 −5
include/uapi/linux/input-event-codes.h+3−0
@@ -652,6 +652,9 @@ · 651 unmodified lines
652652 /* Electronic privacy screen control */
653653 #define KEY_PRIVACY_SCREEN_TOGGLE 0x279
654654
655+/* Select an area of screen to be copied */
656+#define KEY_SELECTIVE_SCREENSHOT 0x27a
657+
655658 /*
656659 * Some keyboards have keys which do not have a defined meaning, these keys
657660 * are intended to be programmed / bound to macros by the user. For most
include/uapi/linux/serio.h+5−5
@@ -9,7 +9,7 @@ · 8 unmodified lines
99 #ifndef _UAPI_SERIO_H
1010 #define _UAPI_SERIO_H
1111
12−
12+#include <linux/const.h>
1313 #include <linux/ioctl.h>
1414
1515 #define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
@@ -18,10 +18,10 @@ · 2 unmodified lines
1818 /*
1919 * bit masks for use in "interrupt" flags (3rd argument)
2020 */
21−#define SERIO_TIMEOUT BIT(0)
22−#define SERIO_PARITY BIT(1)
23−#define SERIO_FRAME BIT(2)
24−#define SERIO_OOB_DATA BIT(3)
21+#define SERIO_TIMEOUT _BITUL(0)
22+#define SERIO_PARITY _BITUL(1)
23+#define SERIO_FRAME _BITUL(2)
24+#define SERIO_OOB_DATA _BITUL(3)
2525
2626 /*
2727 * Serio types