Seytonic / malduino

All the Malduinos!
MIT License
208 stars 50 forks source link

Use HID Project to wait for drivers #24

Open fionafibration opened 6 years ago

fionafibration commented 6 years ago

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.

fionafibration commented 6 years ago

If you want to see the actual diff, change the diff settings to ignore whitespace changes.

fionafibration commented 6 years ago

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.

fionafibration commented 5 years ago

__

Alex1602 commented 4 years ago

I was actually thinking about doing the same, is it working for you?

Alex1602 commented 4 years ago

Works great, gave it a try today and it is now waiting for the computer to load the drivers

irishgreencitrus commented 4 years ago

any support for UK keyboards??

Alex1602 commented 4 years ago

You should be able to download the package with correct keyboard layout here: https://malduino.com/converter/ than use those keyboard files

irishgreencitrus commented 4 years ago

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