Commit graph

378 commits

Author SHA1 Message Date
NicoHood
652e590e23 updated Led Example 2015-10-10 12:27:30 +02:00
NicoHood
1f93958ce2 Added Teensy API
Not implemented as device yet
2015-10-10 11:59:18 +02:00
NicoHood
fb0d874619 corrected protocol definition 2015-10-10 11:33:06 +02:00
NicoHood
7151a55577 Fixed KEY_RETURN definition 2015-10-10 07:58:32 +02:00
NicoHood
24034031b6 Added HID protocol (bios/normal mode) 2015-10-10 07:52:22 +02:00
NicoHood
5dd1e991fd Fixed Keyboard Leds 2015-10-09 22:27:09 +02:00
NicoHood
d6c44e4698 Initial commit of Keyboard API after IDE refactoring 2015-10-09 21:46:06 +02:00
NicoHood
57f5fa039b Clean start (once more)
This is required after a lot of IDE USB Core changes.
To get the code working properly I will add the new updated devices commit per commit.
However the diff is not good visible, but that changed since 2.3 anyways so who cares and reads this message.
2015-10-09 21:44:21 +02:00
NicoHood
6aa1cc29cd Added missing HID.begin return 2015-09-28 17:15:45 +02:00
NicoHood
b28d83b160 Added UK Keyboard layout to improved API 2015-09-28 14:42:23 +02:00
NicoHood
2c59165422 Completed asciimap aliases 2015-09-28 14:22:11 +02:00
NicoHood
3d7b93b586 Removed default german keyboard layout 2015-09-28 12:48:29 +02:00
Nico
90c911fd3d Fix compiler Warnings in raw HID 2015-09-24 11:48:48 +02:00
Nico
70d445d374 Fix compiler warnings and reduce flash 2015-09-24 11:46:48 +02:00
Nico
dd0c71d233 Fix KEY_ENTER compile error 2015-09-24 11:45:26 +02:00
Nico
0d2558bce9 Remove Makro Warnings 2015-09-24 11:41:32 +02:00
Nico
ca970cb663 Remove duplicate RAW_KEYBOARD definition warnings 2015-09-24 11:40:24 +02:00
Nico
900342ea4c Add Arduino 1.6.6 DotALinkage support
No special PR build is required now :)
2015-09-24 10:47:59 +02:00
NicoHood
6c9e2fd99c Added RawHID
Works under linux with a patched Teensy RawHID testprogram
Only works without any other HID device (like keyboard) used together
2015-09-22 22:08:13 +02:00
NicoHood
85922c2860 Added SetInterface function
This might help use to set a different hid interface later via keyboard/mouse api
2015-09-22 22:07:21 +02:00
NicoHood
700ca71cf8 Finally changes SetReportData function to int
This was required since available() of stream also uses int and not uint16_t sadly
2015-09-22 21:25:11 +02:00
NicoHood
f42b37ca8e Fixed report out length 2015-09-22 21:07:04 +02:00
NicoHood
803ecfddf5 Made SetReportData more flexible
can now take more data and keep the data array if changed to zero.
2015-09-22 20:48:35 +02:00
NicoHood
a0edeebc61 Send the whole data for an out report
RawHID does not add the reportID again, so we need to see the first byte there
For the keyboard led you can just ignore this byte
2015-09-20 14:05:08 +02:00
NicoHood
250ce02838 Changed setReportData length to 1 byte 2015-09-20 12:30:43 +02:00
NicoHood
b617fb0b3d (NKRO) Keyboard improvements 2015-09-20 10:55:13 +02:00
NicoHood
3d86fb20d4 Fixed HID Out report (leds) 2015-09-20 08:50:39 +02:00
NicoHood
2281210b1c fixed some led issues, added leds for teensy
seems to still not work for nkro and teensy?
2015-09-19 18:51:16 +02:00
NicoHood
f34b500d68 Updated keywords.txt 2015-09-19 18:20:10 +02:00
NicoHood
aa06a6aa4e Added TeensyKeyboard example 2015-09-19 18:10:39 +02:00
NicoHood
78870a82dd Added NKRO Keyboard 2015-09-19 17:58:35 +02:00
NicoHood
60bd43e0a1 added bool operator 2015-09-19 17:28:36 +02:00
NicoHood
7acc31ca75 Release keyboard keys on begin() and end() 2015-09-19 16:54:47 +02:00
NicoHood
e7b6591bc5 Added Mouse example 2015-09-19 16:46:34 +02:00
NicoHood
a683e6eab1 Added boot protocol for mouse 2015-09-19 16:46:08 +02:00
NicoHood
f357dfc6c3 Added Improved Mouse
Made Mouse API compatible with HID-Project
2015-09-19 16:35:58 +02:00
NicoHood
1ef666451e Added Arduino Mouse library (not compatible)
The next commit will patch the files for HID-Project
2015-09-19 16:17:09 +02:00
NicoHood
aad40a0798 Prevent other reports from sending while in bios mode 2015-09-19 16:15:33 +02:00
NicoHood
3ed2577dac Enabled BootKeyboard by default, now dynamically chooses the protocol type 2015-09-19 15:55:22 +02:00
NicoHood
67904276e5 Made HID_ class members static inside the class, not global. 2015-09-19 15:41:41 +02:00
NicoHood
7f407fcb58 Important CDC Lag fix 2015-09-19 15:24:06 +02:00
NicoHood
0e297490ae Added Boot Keyboard support
If enabled the keyboard will not work in the OS again. This still needs to be fixed.
Experimental!
2015-09-19 14:37:42 +02:00
NicoHood
78c763e438 Updated HIDDevices for new, modified Pluggable HID version
Keyboard got improved a bit as well.
2015-09-19 13:15:32 +02:00
NicoHood
36fdbb4987 Minor fixes 2015-09-19 12:45:43 +02:00
NicoHood
f34df6edef Added KeyboardLeds/HID Out Report
This also enables the option for further raw HID development.
2015-09-19 12:16:29 +02:00
NicoHood
02684edc0a Added Pluggable HID duplicate 2015-09-19 09:10:12 +02:00
NicoHood
5d71e559fa minor fixes 2015-09-19 09:09:25 +02:00
NicoHood
962b1a725f Improved Keylayout definition 2015-09-08 19:12:22 +02:00
NicoHood
9a6f6d4a6c Added missing keylayouts file
forgot in the last commits to add it
2015-09-08 18:11:46 +02:00
NicoHood
75a4d3cb33 Fixed Keyboard and added HID-Tables 2015-09-08 18:10:32 +02:00