Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ToxicMushroom opened this issue Oct 22, 2022 · 1 comment · May be fixed by #4326
Open

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

ToxicMushroom opened this issue Oct 22, 2022 · 1 comment · May be fixed by #4326
Labels
C-API-request Category: API request E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone

Comments

@ToxicMushroom
Copy link

ToxicMushroom commented Oct 22, 2022

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

@ToxicMushroom ToxicMushroom added the C-API-request Category: API request label Oct 22, 2022
@devnexen
Copy link
Contributor

devnexen commented Dec 10, 2022

seems it s for kernel drivers purpose ? cc @JohnTitor

@tgross35 tgross35 added this to the 1.x milestone Aug 29, 2024
@tgross35 tgross35 added the E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-API-request Category: API request E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants