Skip to content

fred260571/KeyboardHID-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

KeyboardHID-examples

for the KeyboardHID Library https://github.com/fred260571/KeyboardHID

implemented functions

KeyboardHID.press(key);

KeyboardHID.release(key);

KeyboardHID.releaseAll();

KeyboardHID.write(character);

not implemented : KeyboardHID.print("Hello!");

The definitions of the modifier keys are listed below:

Key                            Hexadecimal value

KEY_LEFT_CTRL        0xE0

KEY_LEFT_SHIFT        0xE1

KEY_LEFT_ALT        0xE2

KEY_LEFT_GUI        0xE3

KEY_RIGHT_CTRL        0xE4

KEY_RIGHT_SHIFT        0xE5

KEY_RIGHT_ALT        0xE6

KEY_RIGHT_GUI        0xE7

KEY_UP_ARROW        0x52

KEY_DOWN_ARROW        0x51

KEY_LEFT_ARROW        0x50

KEY_RIGHT_ARROW        0x4F

KEY_BACKSPACE        0x2A

KEY_TAB        0x2B

KEY_RETURN        0x28

KEY_ESC        0x29

KEY_INSERT        0x49

KEY_DELETE        0x2A

KEY_PAGE_UP        0x4B

KEY_PAGE_DOWN        0x4E

KEY_HOME        0x4A

KEY_END        0x4D

KEY_CAPS_LOCK        0x39

KEY_F1        0x3A

KEY_F2        0x3B

KEY_F3        0x3C

KEY_F4        0x3D

KEY_F5        0x3E

KEY_F6        0x3F

KEY_F7        0x40

KEY_F8        0x41

KEY_F9        0x42

KEY_F10        0x43

KEY_F11        0x44

KEY_F12        0x45

KEY_F13        0x68

KEY_F14        0x69

KEY_F15        0x6A

KEY_F16        0x6B

KEY_F17        0x6C

KEY_F18        0x6D

KEY_F19        0x6E

KEY_F20        0x6F

KEY_F21        0x70

KEY_F22        0x71

KEY_F23        0x72

KEY_F24        0x73

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages