László Monda
|
ce056ed2ca
|
Extract UsbReceiveData()
|
2016-02-29 16:00:00 +01:00 |
|
László Monda
|
9585c2c8cb
|
Don't check the value of alternateSetting because it's always 0.
|
2016-02-29 15:52:26 +01:00 |
|
László Monda
|
44234f15ca
|
Rename Usb*SetConfigure() to Usb*SetConfiguration()
|
2016-02-29 15:43:37 +01:00 |
|
László Monda
|
933acd4361
|
Wrap the lines of the definitions of USB_COMPOSITE_INTERFACE_COUNT
|
2016-02-29 15:42:02 +01:00 |
|
László Monda
|
60ced5a6d7
|
Remove the prototype declaration of Usb{Keyboard,Mouse}Init() because these functions have been removed.
|
2016-02-29 15:37:35 +01:00 |
|
László Monda
|
f62a96778f
|
Remove HID interface related string descriptors.
|
2016-02-29 15:35:59 +01:00 |
|
László Monda
|
0247fe17b1
|
Remove usb_device_composite_struct_t.speed because it's unused.
|
2016-02-29 15:27:34 +01:00 |
|
László Monda
|
3f7bad3c19
|
Move LED initialization code to pin_mux.c
|
2016-02-29 15:25:47 +01:00 |
|
László Monda
|
5d73388fd8
|
Set up set configuration and set interface callbacks for the generic HID interface.
|
2016-02-29 00:38:03 +01:00 |
|
László Monda
|
ad15e39e30
|
Add generic HID interface.
|
2016-02-28 23:16:50 +01:00 |
|
László Monda
|
d429980975
|
Use BOARD_SW[23]_GPIO{_PIN} macros wherever possible.
|
2016-02-27 12:51:38 +01:00 |
|
László Monda
|
00c9659c16
|
Make SW2 move the mouse pointer downwards.
|
2016-02-27 12:44:38 +01:00 |
|
László Monda
|
b3984c050b
|
Make SW3 send the scancode of 'A' to the host.
|
2016-02-27 12:33:04 +01:00 |
|
László Monda
|
f4c778be30
|
Rename parameter.
|
2016-02-26 11:31:44 +01:00 |
|
László Monda
|
43c6230930
|
Remove all the cruft from USB_DeviceApplicationInit()
|
2016-02-26 11:27:34 +01:00 |
|
László Monda
|
af46f730a4
|
Remove Usb{Keyboard,Mouse}Init()
|
2016-02-26 11:18:07 +01:00 |
|
László Monda
|
1ffb45795a
|
Move USB_{KEYBOARD,MOUSE}_REPORT_LENGTH to hid_{keyboard,mouse}.h
|
2016-02-26 10:18:39 +01:00 |
|
László Monda
|
40bd3f82ac
|
Extract scan codes to dedicated file.
|
2016-02-26 09:51:18 +01:00 |
|
László Monda
|
65412b86fb
|
Rename some string descriptor related macros.
|
2016-02-26 09:45:18 +01:00 |
|
László Monda
|
40bef157b1
|
Reaname and rearrange a couple of descriptor related macros.
|
2016-02-26 09:39:28 +01:00 |
|
László Monda
|
4cc0f862b0
|
Remove util.[ch] because USB_SHORT_GET_{LOW,HIGH} can be used in place of GET_[LM]SB_OF_WORD()
|
2016-02-25 22:49:08 +01:00 |
|
László Monda
|
ec187193b6
|
Create macros for the magic numbers of the configuration descriptor. Remove the now redundant comments.
|
2016-02-25 21:17:52 +01:00 |
|
László Monda
|
23ffb23bd2
|
Rename mouse and keyboard related callbacks and variables.
|
2016-02-25 18:47:36 +01:00 |
|
László Monda
|
9e52743ba0
|
Simplify USB_DeviceCallback() and its surroundings.
|
2016-02-25 18:20:35 +01:00 |
|
László Monda
|
7e89132fd8
|
Simplify USB_DeviceGetStringDescriptor() as much as possible.
|
2016-02-25 17:11:04 +01:00 |
|
László Monda
|
075338f398
|
Clean up USB string descriptor related identifier names and the section titles of header files.
|
2016-02-25 16:19:56 +01:00 |
|
László Monda
|
ce8deaac2c
|
Further clean up identifier names and indentation.
|
2016-02-25 13:45:23 +01:00 |
|
László Monda
|
835e12c2b1
|
Further clean up macro and variable naming.
|
2016-02-25 10:00:10 +01:00 |
|
László Monda
|
f287759476
|
Add util.[ch]
|
2016-02-25 09:27:49 +01:00 |
|
László Monda
|
cea9182113
|
Extract magic numbers from the device descriptor as macros.
|
2016-02-25 09:26:33 +01:00 |
|
László Monda
|
0160d17d64
|
Make the configuration descriptor easier to read along with the rest of the file.
|
2016-02-25 08:34:18 +01:00 |
|
László Monda
|
08239ac72d
|
Add usb_keyboard_descriptors.[ch] which I forgot to add.
|
2016-02-25 07:56:47 +01:00 |
|
László Monda
|
cfb1135aac
|
Extract mouse descriptors and macros to usb_keyboard_descriptors.[ch]
|
2016-02-25 07:54:27 +01:00 |
|
László Monda
|
8ae37ce6f3
|
Remove unused macro.
|
2016-02-25 07:38:19 +01:00 |
|
László Monda
|
66614ecc47
|
Rename keyboard_descriptors.[ch] to usb_keyboard_descriptors.[ch]
|
2016-02-24 23:54:01 +01:00 |
|
László Monda
|
57fbbb2b8d
|
Extract further keyboard interface specific macros and variable to keyboard_descriptors.[ch]
|
2016-02-24 23:41:24 +01:00 |
|
László Monda
|
f1c1279d04
|
Extract keyboard descriptors to keyboard_descriptors.[ch]
|
2016-02-24 23:18:39 +01:00 |
|
László Monda
|
e8d7341e5a
|
Remove the unused USB_DeviceSetSpeed() function.
|
2016-02-24 20:20:38 +01:00 |
|
László Monda
|
d69884f28b
|
Make command line build scripts work.
|
2016-02-14 01:12:27 +01:00 |
|
László Monda
|
5ce5dbc62d
|
Rename the libs directory to lib. Reference KSDK via relative path instead of using the KSDK_DIR environment variable.
|
2016-02-13 17:25:55 +01:00 |
|
László Monda
|
4beab991ed
|
Make the keyboard + mouse composite USB device work based on the KSDK 2.0 usb_device_composite_hid_mouse_hid_keyboard demo.
|
2016-02-06 02:00:47 +01:00 |
|
László Monda
|
946de98ac5
|
Add source.
|
2016-02-01 00:53:35 +01:00 |
|