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

PR: gh#146 : Changes for linux message handler #147

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

kanjoe24
Copy link
Contributor

Changes for linux message handler

@kanjoe24 kanjoe24 self-assigned this Nov 22, 2024
@kanjoe24 kanjoe24 added the enhancement New feature or request label Nov 22, 2024
@Ulrond Ulrond linked an issue Nov 25, 2024 that may be closed by this pull request
Copy link
Contributor

@Ulrond Ulrond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes

keyhandler/keyhandler.c Show resolved Hide resolved
keyhandler/keyhandler.c Outdated Show resolved Hide resolved
keyhandler/input-event-codes-5.15.yaml Outdated Show resolved Hide resolved
keyhandler/mykeyMessage.yaml Outdated Show resolved Hide resolved
keyhandler/keyhandler.c Outdated Show resolved Hide resolved
@kanjoe24 kanjoe24 requested a review from Ulrond November 25, 2024 14:13
@kanjoe24 kanjoe24 marked this pull request as ready for review November 25, 2024 14:13
@kanjoe24 kanjoe24 requested a review from a team as a code owner November 25, 2024 14:13
@kanjoe24 kanjoe24 force-pushed the feature/gh146-key-handler branch 3 times, most recently from 8116a1b to 73cc33c Compare November 25, 2024 15:57
@kanjoe24 kanjoe24 force-pushed the feature/gh146-key-handler branch from 73cc33c to 67e0443 Compare November 25, 2024 16:40
keyhandler/Makefile Outdated Show resolved Hide resolved
keyhandler/Makefile Outdated Show resolved Hide resolved
keyhandler/keyhandler.c Outdated Show resolved Hide resolved
keyhandler/keyhandler.c Outdated Show resolved Hide resolved
keyhandler/run.sh Outdated Show resolved Hide resolved
@kanjoe24 kanjoe24 force-pushed the feature/gh146-key-handler branch 2 times, most recently from 361b39a to f798c73 Compare November 26, 2024 14:30
@kanjoe24 kanjoe24 force-pushed the feature/gh146-key-handler branch from f798c73 to f89f934 Compare November 26, 2024 14:50
@kanjoe24 kanjoe24 requested a review from Ulrond November 27, 2024 09:52
}
break;
case 't':
type = optarg;
Copy link
Contributor

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.

type = optarg;
break;
case 'c':
code = optarg;
Copy link
Contributor

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;
Copy link
Contributor

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/Makefile Outdated Show resolved Hide resolved

write(fd, &ie, sizeof(ie));

ie.type = EV_SYN;
Copy link
Contributor

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.

@kanjoe24 kanjoe24 force-pushed the feature/gh146-key-handler branch 2 times, most recently from ba7bb26 to b089424 Compare December 2, 2024 15:27
@kanjoe24 kanjoe24 force-pushed the feature/gh146-key-handler branch from b089424 to 6cfcdae Compare December 2, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Under Review
Development

Successfully merging this pull request may close these issues.

Linux Key / Message Handling Application
2 participants