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

Status? #1

Open
isovector opened this issue Feb 12, 2020 · 1 comment
Open

Status? #1

isovector opened this issue Feb 12, 2020 · 1 comment

Comments

@isovector
Copy link

I'm looking to generate some key events from Haskell -- wondering if this is working and worth cannibalizing.

@ocecaco
Copy link
Owner

ocecaco commented Feb 12, 2020

Hi! It was working last time I tested it (both for generating key events and reading ones generated by a physical keyboard), but it's in a quite unpolished state and I never got around to cleaning things up for releasing it as a proper library. I don't really have any plans for working further on it, so feel free to plunder it for parts.

Also, you might know this already, but the nice thing about using evdev is that you can generate key events without involving X or Wayland. I think there's also a library that uses the Linux evdev interface directly instead of using FFI to call out to libevdev, but the libevdev maintainers recommend against using evdev directly, since apparently there are a lot of tricky edge cases that you need to take into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants