mtdev.h | mtdev.h | |||
---|---|---|---|---|
skipping to change at line 71 | skipping to change at line 71 | |||
/* includes available in 2.6.36 */ | /* includes available in 2.6.36 */ | |||
#ifndef ABS_MT_SLOT | #ifndef ABS_MT_SLOT | |||
#define ABS_MT_SLOT 0x2f /* MT slot being modified */ | #define ABS_MT_SLOT 0x2f /* MT slot being modified */ | |||
#endif | #endif | |||
/* includes available in 2.6.38 */ | /* includes available in 2.6.38 */ | |||
#ifndef ABS_MT_DISTANCE | #ifndef ABS_MT_DISTANCE | |||
#define ABS_MT_DISTANCE 0x3b /* Contact hover distance */ | #define ABS_MT_DISTANCE 0x3b /* Contact hover distance */ | |||
#endif | #endif | |||
/* includes available in 3.4 */ | ||||
#ifndef EVIOCGMTSLOTS | ||||
#define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len) | ||||
#endif | ||||
#define MT_ID_NULL (-1) | #define MT_ID_NULL (-1) | |||
#define MT_ID_MIN 0 | #define MT_ID_MIN 0 | |||
#define MT_ID_MAX 65535 | #define MT_ID_MAX 65535 | |||
/** | /** | |||
* mtdev_new_open - create and open a new mtdev | * mtdev_new_open - create and open a new mtdev | |||
* @fd: file descriptor of the kernel device | * @fd: file descriptor of the kernel device | |||
* | * | |||
* Create a new mtdev and open the conversion. | * Create a new mtdev and open the conversion. | |||
* | * | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||