-
Notifications
You must be signed in to change notification settings - Fork 0
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
PR: gh#146 : Changes for linux message handler #147
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes
8116a1b
to
73cc33c
Compare
73cc33c
to
67e0443
Compare
361b39a
to
f798c73
Compare
f798c73
to
f89f934
Compare
keyhandler/keyhandler.c
Outdated
} | ||
break; | ||
case 't': | ||
type = optarg; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
types must be checked against the valid list from the profile.
keyhandler/keyhandler.c
Outdated
type = optarg; | ||
break; | ||
case 'c': | ||
code = optarg; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code input can only be from the based on profile the event type , otherwise it's an error.
//ioctl(fd, UI_SET_KEYBIT, result_kvp); | ||
|
||
memset(&usetup, 0, sizeof(usetup)); | ||
usetup.id.bustype = BUS_USB; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we swap this to the way that keySumulator works.. I think it may just use the dev, but someone needs to create it..
keyhandler/keyhandler.c
Outdated
|
||
write(fd, &ie, sizeof(ie)); | ||
|
||
ie.type = EV_SYN; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not clear why your doing the one this. And what is the bennifit you need to document more.
ba7bb26
to
b089424
Compare
b089424
to
6cfcdae
Compare
Changes for linux message handler