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

Possible to treat different keyboard devices differently? #68

Open
QuinnyPig opened this issue Oct 31, 2023 · 3 comments
Open

Possible to treat different keyboard devices differently? #68

QuinnyPig opened this issue Oct 31, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@QuinnyPig
Copy link

As a user, I would like to be able to have my Yubikey physically scream when I push the button. For some unknown reason, Yubico refuses to support this in hardware, so I'm falling back to a software option here.

@QuinnyPig QuinnyPig added the enhancement New feature or request label Oct 31, 2023
@orhun
Copy link
Owner

orhun commented Nov 2, 2023

I think rdev only supports listening for keyboard and mouse events. I'm not familiar with Yubikey but if it is recognized as a keyboard then it should be somehow possible to query events from it. Otherwise it needs some custom logic - we probably need to look for some other Rust library for that. Needs some investigation.

@Xenira
Copy link
Sponsor Contributor

Xenira commented Nov 2, 2023

I own a yubikey and I am not sure if that is something you can easily listen to.

It can act as a keyboard in some cases, but the button itself does not. Without further researching the topic I am not even sure if you can get that information, as this is a security feature internal to the yubikey. If there is a lib that supports getting that information #54 might provide an interface to make daktilo respond to it.

@orhun orhun added help wanted Extra attention is needed question Further information is requested labels Nov 4, 2023
@orhun orhun removed their assignment Nov 4, 2023
@Xenira
Copy link
Sponsor Contributor

Xenira commented Nov 4, 2023

Regardless of whether the yubikey can be supported I like the idea of having different presets based on the keyboard used.

A good use case would be laptop keyboard vs usb keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants