Commit Graph
1372 Commits
Author SHA1 Message Date
László Monda f83d655c15 Indent case clauses deeper. 2017-03-03 22:51:29 +01:00
László Monda fdb13d3a7e Use KEY_ACTION_KEYSTROKE instead of KEY_ACTION_{BASIC,MEDIA}_KEYSTROKE. Add keystroke_type_t. 2017-03-03 22:49:20 +01:00
László Monda d2e3d6becf Rename .basicKeystroke back to .keystroke 2017-03-03 22:36:17 +01:00
László Monda cc2c06f497 Rename a couple of members of key_action_t to be more intuitive. 2017-03-03 21:59:28 +01:00
László Monda b6cc59125d Remove __unused_bits fields and outdated comments. 2017-03-03 21:51:11 +01:00
László Monda c887b5e309 Add another HID interface using the consumer HID class for media keys. Resolves #32. 2017-03-03 20:21:05 +01:00
László Monda 1aae668ed5 Provide the correct numOfChnls value to FTM_SetupPwm(). Fixes #35. Fixes UltimateHackingKeyboard/bootloader#4. 2017-02-28 02:06:56 +01:00
László Monda 797c51ca7a Rework blhost-unix.sh a bit now that jump-to-bootloader.js times out and returns a relevant return code. 2017-02-28 00:13:31 +01:00
László Monda c1f8cca455 Enable LEDs on both halves by default. 2017-02-27 14:08:21 +01:00
László Monda 8b46810643 Update USB reports from the main loop instead of the callback of the USB keyboard interface. 2017-02-26 11:10:04 +01:00
László Monda 657431e130 Remove commented out, synchronous I2C communication. 2017-02-26 03:10:18 +01:00
László Monda e76910318a Remove the unused ../../.. include path. 2017-02-26 03:07:47 +01:00
László Monda 5055fa6e77 Remove the usb_desciptors include path and include the full path of these files. 2017-02-26 03:05:15 +01:00
László Monda 6e415696d7 Move merge_sensor.[ch], reset_button.[ch] and test_led.[ch] into the newly created peripherials directory. 2017-02-26 02:50:21 +01:00
László Monda 6f6d116351 Move usb_interface_*.[ch] files to the newly created usb_interfaces directory. 2017-02-26 02:45:43 +01:00
László Monda d12dc7d8a0 Don't expose ProcessMouseAction() and rename it to processMouseAction() 2017-02-26 02:41:48 +01:00
László Monda 03591ce180 Rename action.c to usb_report_updater.c 2017-02-26 02:37:21 +01:00
László Monda c8d4824f3d Swap left and right mouse buttons so that now they work as originally intended. 2017-02-26 02:10:05 +01:00
László Monda 014fb98932 bzero() mouse report instead of zeroing individual fields. 2017-02-26 02:08:19 +01:00
László Monda a3f8027758 Rename HandleMouseKey() to ProcessMouseAction() 2017-02-26 02:06:36 +01:00
László Monda 3561906ebb Remove PreviousKeyStates for the time being. 2017-02-26 02:05:36 +01:00
László Monda 878cedd31c Rename HandleKeyboardEvents() to UpdateActiveUsbReports(). 2017-02-26 02:01:16 +01:00
László Monda e25b1cb912 Make mouse keys work by zeroing the mouse report at the beginning of updating USB reports. Rename UsbMouseAction() to usbMouseAction() 2017-02-26 01:52:18 +01:00
László Monda 476a2fb89a Inline isKeyPressed(). Rename key to action within HandleMouseKey() and a few other identifiers to make the code more intuitive. 2017-02-26 01:34:38 +01:00
László Monda 66d41a0d49 Inline PressKey() and handleKey() into HandleKeyboardEvents() 2017-02-26 01:25:52 +01:00
László Monda c09ed00e5a Extract keyToAction() 2017-02-26 00:46:47 +01:00
László Monda 7eec8281ce Remove arguments from HandleKeyboardEvents. 2017-02-26 00:44:43 +01:00
László Monda 73dec54ee1 Remove keyMasks because they made the right keyboard half crash when pressing a layer switcher key. 2017-02-26 00:35:26 +01:00
László Monda ce4d9ca839 Rewrite layer switcher handling. 2017-02-26 00:26:33 +01:00
László Monda 9ec01bc515 Remove the unused prevKeyStates argument from hasKeyPressed() 2017-02-25 23:41:01 +01:00
László Monda 490382f31b Rename getKeycode() to keyToAction() and code to action. 2017-02-25 22:28:17 +01:00
László Monda 40397a70bc Remove check because keyId < MAX_KEY_COUNT_PER_MODULE should always be true. 2017-02-25 22:13:48 +01:00
László Monda 6cf27799a6 Implement the I2C watchdog using PIT. 2017-02-25 17:48:37 +01:00
László Monda b453297570 Add the v7-release-srec build configuration. Add the "uhk-right v7 debug kboot" run configuration. Make blhost-unix.sh expect the srec file to be transferred. 2017-02-20 18:30:30 +01:00
László Monda ea295ba9eb Update README.md 2017-02-19 17:13:10 +01:00
László Monda f56b10041e Delete README.md 2017-02-19 17:08:22 +01:00
László Monda e8331a108c Update README.md 2017-02-19 17:06:18 +01:00
László Monda 780f8199ea Update README.md 2017-02-19 17:02:30 +01:00
László Monda dd2821ec5d Update README.md 2017-02-19 16:55:38 +01:00
László Monda c9aed34c01 Update README.md 2017-02-19 16:48:41 +01:00
László Monda eddc2990de Update README.md 2017-02-19 16:45:52 +01:00
László Monda 96edaf7b1f Update README.md 2017-02-19 16:40:46 +01:00
László Monda e38a7c2f2b Update README.md 2017-02-19 16:28:09 +01:00
László Monda 85c49de882 Update README.md 2017-02-19 16:24:41 +01:00
László Monda 1754d11e94 Update README.md 2017-02-19 16:22:04 +01:00
László Monda f7376e6ef1 Update README.md 2017-02-19 16:20:20 +01:00
László Monda 99c5148717 Update README.md 2017-02-19 16:19:12 +01:00
László Monda 3d9fb9d4e0 Update README.md 2017-02-19 16:18:47 +01:00
László Monda 4a8311c8b8 Update README.md 2017-02-19 16:16:39 +01:00
László Monda e97ce514d7 Update README.md 2017-02-19 16:15:42 +01:00