Commit Graph
294 Commits
Author SHA1 Message Date
László Monda 7b30750ef5 Bump USB HID version from 1.00 to 1.10 because most devices seem to be using it, so this probably results in maximum compatibility. 2016-03-10 14:45:07 +01:00
László Monda 5eca5e58fb Number endpoints according to the order of their related interfaces. 2016-03-10 14:35:05 +01:00
László Monda e4a23e2dab Fix indentation. 2016-03-09 22:28:55 +01:00
László Monda 8fd9936954 Make SW2 and SW3 control the red and blue LEDs respectively. 2016-03-09 22:27:40 +01:00
László Monda 150f6e72ef Remove .gitginore files as the top level gitignore makes the job. 2016-03-09 01:59:23 +01:00
László Monda e8b83b7f4f Add .gitignore 2016-03-09 01:58:42 +01:00
László Monda 14a36cc84f Add firmware for the left keyboard half. 2016-03-09 01:56:53 +01:00
László Monda 22e2841d8d Don't use the U notation wherever unnecessary. 2016-03-08 20:58:04 +01:00
László Monda 9aae53919a Add KSDK_1.3_FRDM-KL03Z as a Git submodule. 2016-03-08 13:18:53 +01:00
László Monda bffcad0cce Fix identation. 2016-03-04 16:07:12 +01:00
László Monda e12613b981 Group macros in a more logical manner. 2016-03-04 16:06:43 +01:00
László Monda a582ef9e39 Clean up includes. 2016-03-04 15:59:10 +01:00
László Monda 8b64a528ce Wrap lines. 2016-03-04 15:30:17 +01:00
László Monda f3232ff7de Update README.md 2016-03-04 15:25:03 +01:00
László Monda a1fa3d39f5 Create README.md 2016-03-04 15:21:19 +01:00
László Monda 8068e10586 Create README.md 2016-03-04 15:15:27 +01:00
László Monda c56f2d13f6 Create README.md 2016-03-04 15:12:50 +01:00
László Monda c10f3ad1e9 Create README.md 2016-03-04 14:41:53 +01:00
László Monda c45db1984d Update README.md 2016-03-04 14:32:22 +01:00
László Monda 59c0b97bdf Create README.md 2016-03-04 14:31:06 +01:00
László Monda c03423ca20 Create README.md 2016-03-04 14:20:41 +01:00
László Monda c7d94a6334 Create README.md 2016-03-04 14:12:39 +01:00
László Monda eecd34f1f4 Create README.md 2016-03-04 14:10:19 +01:00
László Monda 1b1337b702 Update submodule. 2016-03-04 13:58:28 +01:00
László Monda 7223eaed8c Wrap lines. 2016-03-04 13:51:55 +01:00
László Monda 77f6621267 Create README.md 2016-03-04 13:42:56 +01:00
László Monda 3865429a0e Move USB constants to usb_api.h 2016-03-04 01:18:59 +01:00
László Monda a988afe1ea Use USB_DEVICE_CONFIG_HID as a single source of truth and replace USB_COMPOSITE_INTERFACE_COUNT with it. 2016-03-03 23:55:58 +01:00
László Monda 22e36dc030 Set USB_DEVICE_CONFIG_ENDPOINTS to 5 instead of 6 because it's just enough. 2016-03-03 22:50:14 +01:00
László Monda 029df6f7c1 Use standard one-liner comments instead of the Doxygen syntax. 2016-03-03 22:10:00 +01:00
László Monda df63abeb3a Ditch USB_*_SUBCLASS and USB_*_PROTOCOL macros in favor of the standard USB_HID_SUBCLASS_* USB_HID_PROTOCOL_* macros. 2016-03-03 22:02:28 +01:00
László Monda 55e5643bf0 Replace USB_*_HID_CLASS with USB_CLASS_HID 2016-03-03 21:17:11 +01:00
László Monda 7b04084f46 Rename USB_*_ENDPOINT_ID to USB_*_ENDPOINT_INDEX 2016-03-03 21:08:08 +01:00
László Monda 09e0a739e3 Use USB_INTERFACE_ALTERNATE_SETTING_NONE wherever possible. 2016-03-03 21:01:14 +01:00
László Monda f7755b2520 Rename usb_report_item_macros.h to usb_api.h, include the whole USB API into it, and include it from every file where it's needed. 2016-03-03 19:18:21 +01:00
László Monda a4989349ec Extract general HID descriptor related functions to descriptor_hid.[ch] 2016-03-03 18:43:22 +01:00
László Monda 55c063c69a Don't use the U number notation and macro parentheses unless necessary. 2016-03-03 18:27:39 +01:00
László Monda 09f25e6139 Feature HID descriptors within the configuration descriptor in the same order as HID interface indexes dictate. 2016-03-03 17:42:54 +01:00
László Monda d1ac7ba892 Deduplicate macros. 2016-03-03 16:56:11 +01:00
László Monda fa1afbbb9b Make the names of guard macros reflect the filenames they're in. 2016-03-03 16:14:55 +01:00
László Monda 951fcbfe79 Make the armgcc build work. 2016-03-03 11:41:25 +01:00
László Monda 9ef0c484ba Make Generic HID the first interface because further interfaces may be added in the future and this way its index will be fixed and well defined. 2016-03-03 11:12:24 +01:00
László Monda 73518d8222 Use the correct handles for generic HID. 2016-03-03 10:58:26 +01:00
László Monda 5bcf07b1a6 Rename type. 2016-03-03 10:56:52 +01:00
László Monda 39f286ce39 Remove redundant struct identifiers. 2016-03-03 10:53:42 +01:00
László Monda fc8c0682d6 Extract main() to the newly created main.c 2016-03-03 10:49:01 +01:00
László Monda 2c15f1d8c3 Rename composite.[ch] to usb_composite_device.[ch] 2016-03-03 10:36:03 +01:00
László Monda 66b8d72c70 Merge usb_class_*.[ch] into usb_interface_*.[ch] respectively. 2016-03-03 01:07:07 +01:00
László Monda b3867fe6de Remove usb_device_generic_hid_struct_t in favor of a local buffer and buffer index variable. 2016-03-02 20:26:06 +01:00
László Monda d6d15ec884 Remove scancodes.h and rather use LUFA's scancode macros. 2016-03-02 20:10:06 +01:00