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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user