mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-25 21:02:21 +00:00
input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
17f9723f48
commit
a30fef9956
14 changed files with 201 additions and 42 deletions
|
|
@ -215,6 +215,7 @@ typedef struct _AxisInfo {
|
|||
int max_resolution;
|
||||
int min_value;
|
||||
int max_value;
|
||||
Atom label;
|
||||
} AxisInfo, *AxisInfoPtr;
|
||||
|
||||
typedef struct _ValuatorAccelerationRec {
|
||||
|
|
@ -254,6 +255,7 @@ typedef struct _ButtonClassRec {
|
|||
CARD8 postdown[DOWN_LENGTH];
|
||||
CARD8 map[MAP_LENGTH];
|
||||
union _XkbAction *xkb_acts;
|
||||
Atom labels[MAX_BUTTONS];
|
||||
} ButtonClassRec, *ButtonClassPtr;
|
||||
|
||||
typedef struct _FocusClassRec {
|
||||
|
|
|
|||
Loading…
Reference in a new issue