-
Notifications
You must be signed in to change notification settings - Fork 54
Use HID Project to wait for drivers #24
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
base: master
Are you sure you want to change the base?
Conversation
Use [NicoHood's HID Library](https://github.com/NicoHood/HID) for checking readiness of drivers and killing the caps lock button if it is on.
I don't know why that was different...
|
If you want to see the actual diff, change the diff settings to ignore whitespace changes. |
|
I just added commands for media keys and power keys, so a Malduino can turn the volume up to 11 before it starts a rickroll. |
|
__ |
|
I was actually thinking about doing the same, is it working for you? |
|
Works great, gave it a try today and it is now waiting for the computer to load the drivers |
Alex1602
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks oke nice to have
Alex1602
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this increases the buffersize used in the for loop no idea why this is important but it doesn't seem to break stuff
Alex1602
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvement, now we do not need to guess the delay at the beginning of the script (a computer might be slower than you think)
|
any support for UK keyboards?? |
|
You should be able to download the package with correct keyboard layout here: https://malduino.com/converter/ than use those keyboard files |
|
got UK keyboards to work, but the media keys don't work on any of the 4 computers i have tried it on. Still using the exact same lines of code for that |
Use NicoHood's HID Library for checking readiness of drivers and killing the caps lock button if it is on.
Experimental and by no means necessary, would require the user to download the HID Library and install it. Will provide slight benefits by checking whether drivers have finished installing by spamming the caps lock key and seeing if the queried LED responds. Also fixes the cases in which a Malduino is plugged in with caps lock already on and all capitalization is reversed, thus ruining the payload.