Commit Graph

773 Commits

Author SHA1 Message Date
László Monda
7deaedb397 Merge pull request #53 from UltimateHackingKeyboard/configuration-parser
Add the macro parser
2017-07-21 21:40:34 +02:00
Eric Tang
c4ce5a6cf7 Add parsePlayMacroAction 2017-07-21 12:09:32 -07:00
Eric Tang
4ad11700c6 Add the macro parser 2017-07-21 11:54:39 -07:00
Eric Tang
d29d104be2 Add readInt16 2017-07-21 11:16:52 -07:00
László Monda
c1c00f2b3a Replace tabs with spaces. 2017-07-20 00:32:37 +02:00
Erich Styger
ccc02fe795 fixed BusPal Bootloader (https://github.com/UltimateHackingKeyboard/firmware/issues/44) 2017-07-19 17:28:13 +02:00
Erich Styger
b4ce3b227a disabled unused SWO option 2017-07-19 17:23:40 +02:00
Erich Styger
3f70b08c9f producing binary file for bootloader 2017-07-19 16:54:02 +02:00
Erich Styger
7c89020ccf disabled SWO (not used) in debug configuration 2017-07-19 16:51:33 +02:00
Eric Tang
8a58d97809 Simplify LedDisplay_SetLayer 2017-07-15 23:59:34 -07:00
László Monda
64668e953f Remove commented out line. 2017-07-15 18:36:16 +02:00
Eric Tang
85b709bad9 Resolve some compiler warnings 2017-07-15 07:06:20 -07:00
Eric Tang
b329485ac9 Merge branch 'master' of https://github.com/UltimateHackingKeyboard/firmware 2017-07-15 06:50:14 -07:00
László Monda
b8b1bc4979 Rename serialized_buffer_t to config_buffer_t 2017-07-15 11:23:02 +02:00
László Monda
5d39c725f9 Make the serialized buffer fixed-size. 2017-07-15 11:18:22 +02:00
Eric Tang
dab3b3464f Use only decimal values to represent LED brightnesses in led_display.c 2017-07-14 20:28:00 -07:00
Eric Tang
5c2e5d9a81 Fix the appearance of "6" on the LED display 2017-07-14 20:26:15 -07:00
László Monda
78e5aaa60e Merge pull request #51 from UltimateHackingKeyboard/led-display
Add code to drive the LED display
2017-07-14 23:18:28 +02:00
László Monda
ade2add5d2 Merge pull request #50 from UltimateHackingKeyboard/configuration-parser
Polish up the configuration parser
2017-07-14 22:34:51 +02:00
Eric Tang
1eb2a73753 Display the active layer 2017-07-14 13:28:48 -07:00
Eric Tang
970dbd0a50 Call InitClock before InitPeripherals 2017-07-14 13:18:09 -07:00
Eric Tang
38b281e962 Improve the appearance of "K" and "7" on the display 2017-07-14 11:26:02 -07:00
Eric Tang
58899f092d Merge branch 'led-display' of https://github.com/UltimateHackingKeyboard/firmware into led-display 2017-07-14 11:02:49 -07:00
László Monda
7ed508943f Try to display "ABC" on the display. 2017-07-14 19:51:56 +02:00
Eric Tang
679021744e Convert a few loop indices from uint8_t to uint16_t 2017-07-14 10:50:53 -07:00
Eric Tang
8eb6bdeb35 Clean up config_state.c and fix readString 2017-07-14 10:46:15 -07:00
Eric Tang
59d03cc5b9 Merge branch 'master' into led-display 2017-07-14 09:27:32 -07:00
László Monda
282c77c850 Fix LED driver update, so it'll keep working after initialization. 2017-07-14 17:40:41 +02:00
Eric Tang
eaacc18ab1 Make characterToSegmentSet use a lookup table 2017-07-14 08:14:09 -07:00
Eric Tang
37c56296eb Display the abbreviation of a keymap when it is being applied 2017-07-13 23:42:46 -07:00
Eric Tang
1cd060122f Implement the new API for controlling the LED display 2017-07-13 23:42:39 -07:00
Eric Tang
25181e5841 Expose the new API for controlling the LED display 2017-07-13 16:37:58 -07:00
Eric Tang
335c77a158 Expose LedDriverStates 2017-07-12 20:44:18 -07:00
Eric Tang
9a5e146866 Rename InitPeripherials to InitPeripherals 2017-07-12 20:06:11 -07:00
Eric Tang
595ced9902 Treat the LED driver as a peripheral with a driver 2017-07-12 20:03:50 -07:00
László Monda
3730733b73 Merge pull request #48 from UltimateHackingKeyboard/configuration-parser
Add the parser for the top-level configuration
2017-07-09 22:05:48 +02:00
Eric Tang
ec5f774944 Add the parser for the top-level configuration 2017-07-09 10:35:52 -07:00
Eric Tang
bbdb09b5f5 Handle cases where readCompactLength returns a value which cannot fit in 8 bits 2017-07-09 10:24:28 -07:00
Eric Tang
fa79957ab2 Convert ConfigBuffer to serialized_buffer_t 2017-07-09 10:23:51 -07:00
László Monda
a42d8e5437 Also add Mod+N to Esc mapping for Laci. 2017-07-09 02:37:56 +02:00
László Monda
e17d53461f Temporarily exchange Super and Ctrl, so that Laci can use his new prototype according to his habits now that it's his daily driver. He'll restore these keys as soon as EEPROM saving gets implemented. 2017-07-09 02:32:20 +02:00
László Monda
a2ea3567d9 Map Caps Lock to Mod+A according to our official default keymap. 2017-07-09 02:24:25 +02:00
László Monda
8d7e538176 Map the Q key of the Mod layer to Esc according to our official keymap. 2017-07-09 02:14:48 +02:00
László Monda
7e5951162f Make Alt+Tab keymapping and the like work as assumed. 2017-07-09 02:09:22 +02:00
László Monda
7c290ed372 Extract getActiveLayer() and remove the static activeLayer variable. 2017-07-09 01:54:17 +02:00
László Monda
d3166fb94c Indent curlies according to our coding standards. 2017-07-09 01:49:34 +02:00
Eric Tang
7a9659f7c0 Move some code from parse_keymap.* to config_state.* 2017-07-07 14:54:39 -07:00
Eric Tang
f4c5a7e969 Revert "Add ConfigPtr"
This reverts commit de013f6afa.
2017-07-07 14:34:12 -07:00
Eric Tang
887208badd Load only the default keymap into CurrentKeymap 2017-07-07 14:05:19 -07:00
László Monda
9b010ca221 Merge pull request #45 from UltimateHackingKeyboard/configuration-parser
Improve the configuration parser
2017-07-07 19:56:16 +02:00