Skip to content

Add missing INPUT_PROP_XXX flags from input-event-codes.h #2972

Closed
@ToxicMushroom

Description

@ToxicMushroom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-API-requestCategory: API requestE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions