Closed
Description
- target triple: linux-gnu
- docs: https://docs.kernel.org/input/event-codes.html?highlight=event+types#device-properties
- src: https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h
Unless I'm missing something these fields seem to be missing from src/unix/linux_like/linux/mod.rs
/*
* Device properties and quirks
*/
#define [INPUT_PROP_POINTER] 0x00 /* needs a pointer */
#define [INPUT_PROP_DIRECT] 0x01 /* direct input devices */
#define [INPUT_PROP_BUTTONPAD] 0x02 /* has button(s) under pad */
#define [INPUT_PROP_SEMI_MT] 0x03 /* touch rectangle only */
#define [INPUT_PROP_TOPBUTTONPAD] 0x04 /* softbuttons at top of pad */
#define [INPUT_PROP_POINTING_STICK] 0x05 /* is a pointing stick */
#define [INPUT_PROP_ACCELEROMETER] 0x06 /* has accelerometer */
If desired, I can make a PR for this