Go Down

Topic: this is how to send control + alt + delete with virtual usb keyboard library (Read 623 times) previous topic - next topic

javirulin

hi,
this is how to send  control + alt +  delete with virtual usb keyboard library
from the code found in :
          http://www.practicalarduino.com/projects/virtual-usb-keyboard
and:    code.google.com/p/vusb-for-arduino/


UsbKeyboard.sendKeyStroke(76,5);    // 76 is the delete key from the hid descriptor, 5 is the INTEGER combination of
MOD_CONTROL_LEFT    (1<<0) and MOD_ALT_LEFT        (1<<2)

all the keys of the keyboard at page 53   http://www.usb.org/developers/devclass_docs/Hut1_11.pdf

I hope it helps someone as I was stuck with this for long time  :)


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy