Commit graph

351 commits

Author SHA1 Message Date
NicoHood
3008e6d11d Added NKRO keyboard 2015-10-11 14:00:49 +02:00
NicoHood
64b89df10c Mouse API fix 2015-10-11 12:53:37 +02:00
NicoHood
0d15f41e6a Activated Single Gamepad support 2015-10-11 11:11:34 +02:00
NicoHood
c8cb67ebd6 Fixed Gamepad compile errors 2015-10-11 11:08:37 +02:00
NicoHood
567b3b2bc9 Added Gamepad API 2015-10-11 11:07:29 +02:00
NicoHood
81312c20e0 Merge branch 'dev_2_4' of https://github.com/NicoHood/HID into dev_2_4 2015-10-11 11:01:54 +02:00
NicoHood
6d6c7d3068 Added Single Gamepad
(Empty files to show off an arduino bug)
2015-10-11 11:00:50 +02:00
NicoHood
5feda433f4 minor 2015-10-11 11:00:40 +02:00
NicoHood
c7518ae3c1 Added Gamepad API 2015-10-11 10:51:34 +02:00
NicoHood
b1aa9b030d Fixed Consumer warning 2015-10-11 10:42:51 +02:00
NicoHood
6ac9398a18 Added Consumer API 2015-10-11 10:22:32 +02:00
NicoHood
9250ff9835 Added System API 2015-10-11 10:14:08 +02:00
NicoHood
28bdd9f10e Inlined HID APIs 2015-10-11 09:17:10 +02:00
NicoHood
fbde2f4534 Added Absolute mouse 2015-10-11 09:11:08 +02:00
NicoHood
1d2e5d36b2 inlined Keyboard implementation 2015-10-10 20:58:36 +02:00
Nico
6035dd515b Update Readme.md 2015-10-10 20:08:37 +02:00
NicoHood
0bfb10b66d removed option to deactivate leds
Bootkeyboard requires leds, so they are used. This feature isnt bad at all though
2015-10-10 19:38:33 +02:00
NicoHood
dd52139e1a Moved Mouse report descriptor 2015-10-10 19:38:16 +02:00
NicoHood
e521af69ca Made SendReport() capaital 2015-10-10 19:37:58 +02:00
NicoHood
2e72174480 Enabled Mouse API 2015-10-10 18:59:17 +02:00
NicoHood
2e684a3c71 Added Mouse API 2015-10-10 12:59:57 +02:00
NicoHood
2e6d4c9e2d Improved Boot Keyboard, added example
HID Driver got removed, now relies on the internal IDE definitions.
The PR is opened at Github, but will merged hopefully soon.
2015-10-10 12:58:51 +02:00
NicoHood
59bf10efeb Moved HID report descriptors to their implementation 2015-10-10 12:28:12 +02:00
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