Commit Graph
948 Commits
Author SHA1 Message Date
László Monda a6ff990288 Implement mysterious workaround to make the left keyboard half of the 6th generation prototype send scancodes to the right half. 2017-03-13 01:42:47 +01:00
László Monda 44f1d46268 Remove incorrect I2C addressing mode setting that was copied from the buggy KSDK examples. The default addressing mode value is correct. 2017-03-13 01:30:28 +01:00
László Monda e3d632e4f0 Make LedPwm_*() do nothing for <7 prototypes. 2017-03-12 22:25:22 +01:00
László Monda 3ef944353f Fix TEST_LED_TOGGLE() 2017-03-12 22:24:44 +01:00
László Monda 832c687ea7 Add v6-{release,debug}-srec build configurations. Add "uhk-right v6 {release,debug} kboot" run configurations. 2017-03-08 00:48:44 +01:00
László Monda eb951dd3d2 Add kboot launch files. 2017-03-08 00:36:02 +01:00
László Monda cde26680a8 Reindent the section comments of the configuration descriptor to resemble the style of other descriptors. 2017-03-07 23:16:04 +01:00
László Monda 15388640c8 Better organize and name HID macros. 2017-03-07 22:11:18 +01:00
László Monda 264c5b671b Refactor the system keyboard report descriptor using LUFA macros. 2017-03-07 21:50:00 +01:00
László Monda 6b54cfcda3 Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware 2017-03-07 19:12:25 +01:00
László Monda 36cca6c287 Refactor media keyboard report descriptor using LUFA macros. 2017-03-07 19:11:26 +01:00
László Monda 463dc3bb7f Update README.md 2017-03-07 01:07:46 +01:00
László Monda c4fa5b9e7d Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware 2017-03-07 00:57:48 +01:00
László Monda c7aab821e9 Include the agent and bootloader repos and reference them from blhost-unix.sh to make the firmware update script work out of the box. 2017-03-07 00:55:43 +01:00
László Monda 7ab0f29838 Update README.md 2017-03-07 00:25:40 +01:00
László Monda 4676b85a19 Update README.md 2017-03-06 23:19:24 +01:00
László Monda ba4680452f Update README.md 2017-03-06 23:05:13 +01:00
László Monda 4efce11e96 Update README.md 2017-03-06 22:16:46 +01:00
László Monda 62a3f6b3a4 Add system keyboard interface and add sleep, power and wake keys. 2017-03-06 01:58:02 +01:00
László Monda c7f101b67f Extract USB_*_INTERFACE_COUNT macros to usb_interface_*.h files and make usb_device_config.h use them along with USB_*_ENDPOINT_COUNT macros. 2017-03-05 23:45:41 +01:00
László Monda 117332bb67 Use consumer keycodes for media keys so they work across platforms and not only on Linux. 2017-03-04 03:40:50 +01:00
László Monda bc0715c63d Remove redundant aliases. 2017-03-04 02:19:58 +01:00
László Monda c49593fe51 Make the Arduino HID library work with the firmware. 2017-03-04 01:10:20 +01:00
László Monda cb3b9b362b Add missing Fn key scancodes and fix some. 2017-03-04 01:03:12 +01:00
László Monda d0198f069f Add useful files from the Aruino HID library. 2017-03-03 23:21:13 +01:00
László Monda a2bd0cf602 Don't put more scancodes into the individual reports than possible. 2017-03-03 23:01:26 +01:00
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