Commit Graph

1307 Commits

Author SHA1 Message Date
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
9031c34bb9 Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware-kinetis 2016-02-24 18:52:53 +01:00
László Monda
ca5ca9dba1 Add .gitignore 2016-02-24 18:52:38 +01:00
László Monda
b5c5f80263 Update README.md 2016-02-14 01:19:39 +01:00
László Monda
b810dee2ae Update README.md 2016-02-14 01:18:42 +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
2874678b1b Add KSDK 2.0 build for the FRDM-K22F as a submodule. 2016-02-13 12:56:52 +01:00
László Monda
75be7e3212 Remove end-of-line spaces. 2016-02-13 12:55:16 +01:00
László Monda
febf39b1e8 Add license. 2016-02-10 21:04:15 +01:00
László Monda
db068e94a1 Update CONTRIBUTING.md 2016-02-10 19:05:21 +01:00
László Monda
afc73311e2 Create CONTRIBUTING.md 2016-02-10 19:03:12 +01:00
László Monda
3c24610b1e Merge pull request #1 from stephengroat/patch-1
Update README with link to KDS
2016-02-10 12:49:55 +01:00
Stephen
f71012844b Update README with link to KDS 2016-02-09 18:12:11 -08:00
László Monda
10256b4ece Update README.md 2016-02-06 02:39:27 +01:00
László Monda
f8f34b6c28 Update README.md 2016-02-06 02:35:19 +01:00
László Monda
c735807c27 Update README.md 2016-02-06 02:33:36 +01:00
László Monda
d8a9fd1e27 Update README.md 2016-02-06 02:29:25 +01:00
László Monda
a441141bcf Update README.md 2016-02-06 02:28:35 +01:00
László Monda
4919f1be01 Update README.md 2016-02-06 02:20:27 +01:00
László Monda
b41a1c190a Update README.md 2016-02-06 02:19:25 +01:00
László Monda
e09dc67df6 Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware-kinetis 2016-02-06 02:03:07 +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