#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <xserver-properties.h>
#ifndef AXIS_LABELS
#define AXIS_LABELS
static const char* abs_labels[] = {
AXIS_LABEL_PROP_ABS_X,
AXIS_LABEL_PROP_ABS_Y,
AXIS_LABEL_PROP_ABS_Z,
AXIS_LABEL_PROP_ABS_RX,
AXIS_LABEL_PROP_ABS_RY,
AXIS_LABEL_PROP_ABS_RZ,
AXIS_LABEL_PROP_ABS_THROTTLE,
AXIS_LABEL_PROP_ABS_RUDDER,
AXIS_LABEL_PROP_ABS_WHEEL,
AXIS_LABEL_PROP_ABS_GAS,
AXIS_LABEL_PROP_ABS_BRAKE,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_HAT0X,
AXIS_LABEL_PROP_ABS_HAT0Y,
AXIS_LABEL_PROP_ABS_HAT1X,
AXIS_LABEL_PROP_ABS_HAT1Y,
AXIS_LABEL_PROP_ABS_HAT2X,
AXIS_LABEL_PROP_ABS_HAT2Y,
AXIS_LABEL_PROP_ABS_HAT3X,
AXIS_LABEL_PROP_ABS_HAT3Y,
AXIS_LABEL_PROP_ABS_PRESSURE,
AXIS_LABEL_PROP_ABS_DISTANCE,
AXIS_LABEL_PROP_ABS_TILT_X,
AXIS_LABEL_PROP_ABS_TILT_Y,
AXIS_LABEL_PROP_ABS_TOOL_WIDTH,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_VOLUME
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MISC,
AXIS_LABEL_PROP_ABS_MT_TOUCH_MAJOR,
AXIS_LABEL_PROP_ABS_MT_TOUCH_MINOR,
AXIS_LABEL_PROP_ABS_MT_WIDTH_MAJOR,
AXIS_LABEL_PROP_ABS_MT_WIDTH_MINOR,
AXIS_LABEL_PROP_ABS_MT_ORIENTATION,
AXIS_LABEL_PROP_ABS_MT_POSITION_X,
AXIS_LABEL_PROP_ABS_MT_POSITION_Y,
AXIS_LABEL_PROP_ABS_MT_TOOL_TYPE,
AXIS_LABEL_PROP_ABS_MT_BLOB_ID,
AXIS_LABEL_PROP_ABS_MT_TRACKING_ID,
AXIS_LABEL_PROP_ABS_MT_PRESSURE,
#ifdef AXIS_LABEL_PROP_ABS_MT_DISTANCE
AXIS_LABEL_PROP_ABS_MT_DISTANCE,
AXIS_LABEL_PROP_ABS_MT_TOOL_X,
AXIS_LABEL_PROP_ABS_MT_TOOL_Y,
#endif
};
static const char* rel_labels[] = {
AXIS_LABEL_PROP_REL_X,
AXIS_LABEL_PROP_REL_Y,
AXIS_LABEL_PROP_REL_Z,
AXIS_LABEL_PROP_REL_RX,
AXIS_LABEL_PROP_REL_RY,
AXIS_LABEL_PROP_REL_RZ,
AXIS_LABEL_PROP_REL_HWHEEL,
AXIS_LABEL_PROP_REL_DIAL,
AXIS_LABEL_PROP_REL_WHEEL,
AXIS_LABEL_PROP_REL_MISC
};
static const char* btn_labels[][16] = {
{
BTN_LABEL_PROP_BTN_0,
BTN_LABEL_PROP_BTN_1,
BTN_LABEL_PROP_BTN_2,
BTN_LABEL_PROP_BTN_3,
BTN_LABEL_PROP_BTN_4,
BTN_LABEL_PROP_BTN_5,
BTN_LABEL_PROP_BTN_6,
BTN_LABEL_PROP_BTN_7,
BTN_LABEL_PROP_BTN_8,
BTN_LABEL_PROP_BTN_9
},
{
BTN_LABEL_PROP_BTN_LEFT,
BTN_LABEL_PROP_BTN_RIGHT,
BTN_LABEL_PROP_BTN_MIDDLE,
BTN_LABEL_PROP_BTN_SIDE,
BTN_LABEL_PROP_BTN_EXTRA,
BTN_LABEL_PROP_BTN_FORWARD,
BTN_LABEL_PROP_BTN_BACK,
BTN_LABEL_PROP_BTN_TASK
},
{
BTN_LABEL_PROP_BTN_TRIGGER,
BTN_LABEL_PROP_BTN_THUMB,
BTN_LABEL_PROP_BTN_THUMB2,
BTN_LABEL_PROP_BTN_TOP,
BTN_LABEL_PROP_BTN_TOP2,
BTN_LABEL_PROP_BTN_PINKIE,
BTN_LABEL_PROP_BTN_BASE,
BTN_LABEL_PROP_BTN_BASE2,
BTN_LABEL_PROP_BTN_BASE3,
BTN_LABEL_PROP_BTN_BASE4,
BTN_LABEL_PROP_BTN_BASE5,
BTN_LABEL_PROP_BTN_BASE6,
NULL,
NULL,
NULL,
BTN_LABEL_PROP_BTN_DEAD
},
{
BTN_LABEL_PROP_BTN_A,
BTN_LABEL_PROP_BTN_B,
BTN_LABEL_PROP_BTN_C,
BTN_LABEL_PROP_BTN_X,
BTN_LABEL_PROP_BTN_Y,
BTN_LABEL_PROP_BTN_Z,
BTN_LABEL_PROP_BTN_TL,
BTN_LABEL_PROP_BTN_TR,
BTN_LABEL_PROP_BTN_TL2,
BTN_LABEL_PROP_BTN_TR2,
BTN_LABEL_PROP_BTN_SELECT,
BTN_LABEL_PROP_BTN_START,
BTN_LABEL_PROP_BTN_MODE,
BTN_LABEL_PROP_BTN_THUMBL,
BTN_LABEL_PROP_BTN_THUMBR
},
{
BTN_LABEL_PROP_BTN_TOOL_PEN,
BTN_LABEL_PROP_BTN_TOOL_RUBBER,
BTN_LABEL_PROP_BTN_TOOL_BRUSH,
BTN_LABEL_PROP_BTN_TOOL_PENCIL,
BTN_LABEL_PROP_BTN_TOOL_AIRBRUSH,
BTN_LABEL_PROP_BTN_TOOL_FINGER,
BTN_LABEL_PROP_BTN_TOOL_MOUSE,
BTN_LABEL_PROP_BTN_TOOL_LENS,
NULL,
NULL,
BTN_LABEL_PROP_BTN_TOUCH,
BTN_LABEL_PROP_BTN_STYLUS,
BTN_LABEL_PROP_BTN_STYLUS2,
BTN_LABEL_PROP_BTN_TOOL_DOUBLETAP,
BTN_LABEL_PROP_BTN_TOOL_TRIPLETAP
},
{
BTN_LABEL_PROP_BTN_GEAR_DOWN,
BTN_LABEL_PROP_BTN_GEAR_UP
}
};
#endif