Replies: 1 comment 1 reply
-
If I understand correctly, I think you're just thinking a little too low level for the way this project is implemented. The following is how you would send "CTRL+ALT+DEL":
I'm using this project to interface a vintage (1988!) laptop AT keyboard to a modern system for a project I'm working on. I'm able to do key combinations without issue using code similar to this, so I expect it should work for you. I wish the documentation on this project was better. It's really neat. But it leaves us having to try to interpret the source to figure out how to use it, which sucks. Hope that helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting great value out of the library thank you, allowing me to send arbitrary HID Keyboard and Consumer reports from an UNO derivative.
My use case is sending particular keycodes, rather than characters. Before using the library I was packing the report structure manually, and now I'm struggling to see how to set (and in particular, unset) the modifier field effectively.
So suppose I start with three bytes: the modifier field (
m
) and two keycodes (c1
andc2
), and I want to send a press and release event. What's the best way to do this? Here's what I've come up with:This feels super clumsy and hard won. I feel like I could improve, either by using the library better, or getting access to the report fields directly some how. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions