diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/exevents.h | 1 | ||||
-rw-r--r-- | include/input.h | 6 | ||||
-rw-r--r-- | include/inputstr.h | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/include/exevents.h b/include/exevents.h index 80eaa768d..861d0ddb1 100644 --- a/include/exevents.h +++ b/include/exevents.h @@ -73,6 +73,7 @@ extern _X_EXPORT int InitProximityClassDeviceStruct( extern _X_EXPORT void InitValuatorAxisStruct( DeviceIntPtr /* dev */, int /* axnum */, + Atom /* label */, int /* minval */, int /* maxval */, int /* resolution */, diff --git a/include/input.h b/include/input.h index b3d56b31c..9711fa87d 100644 --- a/include/input.h +++ b/include/input.h @@ -274,11 +274,13 @@ extern _X_EXPORT Bool SetKeySymsMap( extern _X_EXPORT Bool InitButtonClassDeviceStruct( DeviceIntPtr /*device*/, int /*numButtons*/, + Atom* /* labels */, CARD8* /*map*/); extern _X_EXPORT Bool InitValuatorClassDeviceStruct( DeviceIntPtr /*device*/, int /*numAxes*/, + Atom* /* labels */, int /*numMotionEvents*/, int /*mode*/); @@ -351,9 +353,11 @@ extern _X_EXPORT Bool InitPointerDeviceStruct( DevicePtr /*device*/, CARD8* /*map*/, int /*numButtons*/, + Atom* /* btn_labels */, PtrCtrlProcPtr /*controlProc*/, int /*numMotionEvents*/, - int /*numAxes*/); + int /*numAxes*/, + Atom* /* axes_labels */); extern _X_EXPORT Bool InitKeyboardDeviceStruct( DeviceIntPtr /*device*/, diff --git a/include/inputstr.h b/include/inputstr.h index 23c34a5e8..b284ea4e9 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -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 { |