László Monda
|
693315222f
|
Handle secondary role modifiers.
|
2017-11-06 18:11:05 +01:00 |
|
László Monda
|
3533a8f73c
|
Rename long presss action to secondary role.
|
2017-11-06 01:58:11 +01:00 |
|
László Monda
|
0688c1bdfc
|
Rename keymaps.[ch] to keymap.[ch]
|
2017-11-03 19:01:56 +01:00 |
|
László Monda
|
31b7dddef4
|
Read the new UserConfig.userConfigLength field.
|
2017-11-02 23:10:22 +01:00 |
|
László Monda
|
2aaef66d85
|
Convert LAYER_ID_* macros to LayerId_* enum values.
|
2017-11-02 21:48:30 +01:00 |
|
László Monda
|
84b304fe02
|
Read (and ignore) device name.
|
2017-10-14 15:54:38 +02:00 |
|
László Monda
|
9f411dc1d4
|
Throw ParserError_InvalidKeymapCount if keymapCount == 0.
|
2017-10-06 23:37:05 +02:00 |
|
László Monda
|
377fe4a2b2
|
Make EEPROM transfers receive an operation and a buffer id parameter. This allows reading and writing both staging and validated user configurations which will aid future debugging. This API is also cleaner.
|
2017-10-05 02:45:22 +02:00 |
|
László Monda
|
259f4d3299
|
Add config_buffer_id_t.
|
2017-10-04 23:57:43 +02:00 |
|
László Monda
|
8e420f8592
|
Rename and rearrange some variables in config_globals.c for better readability.
|
2017-10-04 22:39:40 +02:00 |
|
László Monda
|
63674e02b7
|
Now rename the other guard macro, too. I thought it was renamed by the IDE.
|
2017-10-04 22:36:27 +02:00 |
|
László Monda
|
e27fb83693
|
Rename guard macro according to the filename.
|
2017-10-04 22:35:17 +02:00 |
|
László Monda
|
4295793fb9
|
Add ATTR_* macros in the newly created attributes.h and use them wherever possible for improved readability.
|
2017-10-04 22:26:48 +02:00 |
|
László Monda
|
f348aec97a
|
Rename UserConfigBuffer to ValidatedUserConfigBuffer.
|
2017-10-04 22:10:55 +02:00 |
|
László Monda
|
024c2d5cff
|
Merge branch 'master' into macro-engine
|
2017-08-11 10:05:32 +02:00 |
|
Eric Tang
|
968a9b13a4
|
Move the opening braces of the macro parser functions onto their own lines
|
2017-08-09 13:31:13 -07:00 |
|
Eric Tang
|
b1fb5f62c1
|
Make macro_reference_t store the offset of the first macro action and expose ParseMacroAction
|
2017-08-09 13:13:50 -07:00 |
|
Eric Tang
|
22e49c50d1
|
Make the macro parser store the data it extracts into macro_action_t variables
|
2017-08-09 13:09:17 -07:00 |
|
Eric Tang
|
c342f75031
|
Check the value of macroIndex
|
2017-08-09 11:50:02 -07:00 |
|
Eric Tang
|
abc0b994a4
|
Fully implement parsePlayMacroAction
|
2017-08-09 11:21:45 -07:00 |
|
Eric Tang
|
b0b659940d
|
Limit the number of macros to 255
|
2017-08-09 11:13:52 -07:00 |
|
Eric Tang
|
558089f856
|
Check the value of macroCount
|
2017-08-09 10:02:33 -07:00 |
|
Eric Tang
|
71b43b8625
|
Use MAX_KEYMAP_NUM instead of a magic value
|
2017-08-09 09:54:58 -07:00 |
|
Eric Tang
|
c983e58d8e
|
When parsing a macro, store its offset and number of actions
|
2017-08-09 09:49:30 -07:00 |
|
Eric Tang
|
1c91a7d5d9
|
Move the opening brace of ParseKeymap onto its own line and remove a stray semicolon
|
2017-08-08 17:44:57 -07:00 |
|
Eric Tang
|
332f1d9b5a
|
Check the value of abbreviationLen
|
2017-08-08 17:40:41 -07:00 |
|
Eric Tang
|
1ef10e9a1a
|
Check the values of moduleConfigurationCount and keymapCount
|
2017-08-08 17:40:41 -07:00 |
|
Eric Tang
|
7306073cee
|
Use 8-bit instead of 16-bit loop indices where they will suffice
|
2017-08-08 17:40:41 -07:00 |
|
Eric Tang
|
2b97758ad2
|
Move the opening braces of some functions onto their own lines
|
2017-08-08 16:20:48 -07:00 |
|
László Monda
|
dd5a0e058d
|
Split config_state.[ch] to config_globals.[ch] and basic_types.[ch]
|
2017-08-08 23:22:18 +02:00 |
|
Eric Tang
|
b91d8ca472
|
Add a missing include
|
2017-08-08 13:00:08 -07:00 |
|
Eric Tang
|
b07aba1766
|
Set AllKeymapsCount only once when applying a configuration
|
2017-08-08 12:40:19 -07:00 |
|
Eric Tang
|
31de620fee
|
Add error checking to parseSwitchKeymapAction
|
2017-08-08 12:10:44 -07:00 |
|
Eric Tang
|
2621707206
|
Implement keymap switching
|
2017-08-08 12:10:26 -07:00 |
|
Eric Tang
|
599e701479
|
Rename current_keymap.* to keymaps.*
|
2017-08-08 12:03:13 -07:00 |
|
Eric Tang
|
709e7644e5
|
Fully implement parseSwitchKeymapAction
|
2017-08-08 12:02:27 -07:00 |
|
Eric Tang
|
2fa935af37
|
Revert "Add some temporary code to ensure that only the default keymap is applied"
This reverts commit 711769cb50.
|
2017-08-08 12:01:34 -07:00 |
|
Eric Tang
|
711769cb50
|
Add some temporary code to ensure that only the default keymap is applied
|
2017-08-08 11:42:35 -07:00 |
|
Eric Tang
|
406ea3782d
|
Move back to swapping pointers
|
2017-08-08 10:57:12 -07:00 |
|
László Monda
|
079988146d
|
Make the ParserRunDry global. Separate TestConfig() and ApplyConfig()
|
2017-08-08 19:20:01 +02:00 |
|
Eric Tang
|
29fabe5b2e
|
Revert "Cut the lengths of userConfig1 and userConfig2 in half for now"
This reverts commit 036b5c4172.
|
2017-08-07 18:18:42 -07:00 |
|
Eric Tang
|
036b5c4172
|
Cut the lengths of userConfig1 and userConfig2 in half for now
|
2017-08-07 17:39:14 -07:00 |
|
Eric Tang
|
d035c8699b
|
Try putting userConfig2 in the upper half of the RAM
|
2017-08-07 16:40:21 -07:00 |
|
Eric Tang
|
97336455b5
|
Verify a new configuration before applying it
|
2017-08-07 11:19:41 -07:00 |
|
László Monda
|
48cd8f374a
|
Move EEPROM_SIZE from config_state.h to eeprom.h
|
2017-08-06 16:55:12 +02:00 |
|
László Monda
|
f779f3ec6f
|
Rename the config directory to config_parser.
|
2017-08-06 16:52:04 +02:00 |
|
László Monda
|
94f0430c27
|
Rename config_parser to config
|
2017-06-15 17:55:50 +02:00 |
|
László Monda
|
57a6c94145
|
Move config_buffer.[ch] to the config_parser directory.
|
2017-06-15 17:53:35 +02:00 |
|
László Monda
|
1f556a8095
|
Move deserialize.c into the newly create config_parser subdirectory.
|
2017-06-15 13:09:31 +02:00 |
|