Pages: [1]   Go Down
Author Topic: this is how to send control + alt + delete with virtual usb keyboard library  (Read 442 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  smiley

Logged

Pages: [1]   Go Up
Jump to: