[GH-ISSUE #251] Interoperability with python's keyboard library #212

Closed
opened 2026-05-05 05:07:18 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @beyarkay on GitHub (Nov 6, 2022).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/251

Hi there!

Just wondering what it would take for this to work with python's keyboard library?

I want to be able to send keystrokes via the library and have keycastr display them. But what is actually happening is that the library is sending the keystrokes correctly but keycaster is displaying just an a for every keystroke, regardless of what I type. Is this something on the libraries side or on keycastr's side?

Originally created by @beyarkay on GitHub (Nov 6, 2022). Original GitHub issue: https://github.com/keycastr/keycastr/issues/251 Hi there! Just wondering what it would take for this to work with [python's `keyboard` library](https://github.com/boppreh/keyboard)? I want to be able to send keystrokes via the library and have keycastr display them. But what is actually happening is that the library is sending the keystrokes correctly but keycaster is displaying just an `a` for every keystroke, regardless of what I type. Is this something on the libraries side or on keycastr's side?
gitea-mirror 2026-05-05 05:07:18 -06:00
Author
Owner

@akitchen commented on GitHub (Nov 7, 2022):

Thanks for opening an issue. I would expect this to be supported if the events generated by this library are like any others passed to keycastr in its event tap. It could also be something on keycastr's side, if we're not observing enough input event types in the event tap (see KCKeyboardTap.m)

Do you have a simple example you could share which demonstrates the issue? Pull requests are also welcome if you happen to figure out what adjustments are needed.

<!-- gh-comment-id:1305062074 --> @akitchen commented on GitHub (Nov 7, 2022): Thanks for opening an issue. I would expect this to be supported if the events generated by this library are like any others passed to keycastr in its event tap. It could also be something on keycastr's side, if we're not observing enough input event types in the event tap (see KCKeyboardTap.m) Do you have a simple example you could share which demonstrates the issue? Pull requests are also welcome if you happen to figure out what adjustments are needed.
Author
Owner

@akitchen commented on GitHub (Jun 23, 2023):

Assuming this is a problem with the events generated by the library you mentioned. Please reopen and/or share any interesting learnings.

<!-- gh-comment-id:1605111898 --> @akitchen commented on GitHub (Jun 23, 2023): Assuming this is a problem with the events generated by the library you mentioned. Please reopen and/or share any interesting learnings.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#212
No description provided.