Commit Graph
698 Commits
Author SHA1 Message Date
László Monda bdb94ac0ca Create CONTRIBUTING.md 2017-06-15 23:52:27 +02:00
László Monda 41225b2042 Update the serialization of the keystroke action according to the recent changes of Agent. 2017-06-15 23:22:16 +02:00
László Monda 9f4bcb023a Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware 2017-06-15 20:34:05 +02:00
László Monda 26a7f7cacf Rename actionType to keyActionType 2017-06-15 20:19:58 +02:00
László Monda 57ea831bcf Create CONTRIBUTING.md 2017-06-15 19:42:29 +02:00
László Monda cd060d8aa5 Rename a lot of variables within parse_keymap.c 2017-06-15 19:38:25 +02:00
László Monda 9800145314 Slightly shorten the initialization of moduleID and pointerRole. 2017-06-15 19:30:50 +02:00
László Monda 8d232f3968 Remove separators. 2017-06-15 19:29:15 +02:00
László Monda 237ef3c34a Rename action.h to key_action.h 2017-06-15 19:27:44 +02:00
László Monda a2c13dee1f Fix action.h according to our coding standards. 2017-06-15 19:21:00 +02:00
László Monda 2e9048bbb0 Create CONTRIBUTING.md 2017-06-15 19:19:07 +02:00
László Monda 976444b5fe Rename key action related enums and values to be easier to read. 2017-06-15 19:14:05 +02:00
László Monda 480b184ab5 move SERIALIZED_KEYSTROKE_TYPE_* macros to parse_keymap.h 2017-06-15 19:00:44 +02:00
László Monda 3d4def76f8 Rename and extract some typedefs from parse_keymap.c from parse_keymap.h 2017-06-15 18:32:21 +02:00
László Monda 431b2f2f18 Fix file structure according to our coding standards. 2017-06-15 18:17:59 +02:00
László Monda bdaef763a4 Rename deserialize_Layer() to parseLayer() and process* functions to parse* 2017-06-15 18:13:42 +02:00
László Monda 972febf360 Fix the names of preprocessor guards according to the renamed filenames. 2017-06-15 18:10:09 +02:00
László Monda de013f6afa Add ConfigPtr 2017-06-15 18:08:52 +02:00
László Monda 1958b1dee4 Rename config_buffer.[ch] to config_state.[ch] 2017-06-15 18:04:03 +02:00
László Monda fd66ce5c40 Rename deserialize.[ch] to parse_keymap.[ch] 2017-06-15 17:59:15 +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 ab62a3189c Remove configuration parser test data. 2017-06-15 13:11:27 +02:00
László Monda 1f556a8095 Move deserialize.c into the newly create config_parser subdirectory. 2017-06-15 13:09:31 +02:00
László Monda ad5a9baa5d Fix readCompactLength() 2017-06-15 12:57:34 +02:00
László Monda 4af31c2e12 Remove findIndex() now that https://github.com/UltimateHackingKeyboard/agent/issues/136 has been implemented. 2017-06-15 10:32:39 +02:00
László Monda c7e0e67a1c Parse media and system keys. 2017-06-11 12:11:12 +02:00
László Monda 0391259dab Replace tabs with spaces. 2017-06-05 16:14:46 +02:00
László Monda 6c60af4ba8 Preserve state across resets by putting Wormhole to the newly added .noinit section. Rename The jump to bootloader USB command to reenumerate and generalize accordingly by handling the passed reenumeration mode. 2017-06-04 23:32:48 +02:00
László Monda a6ed51360f Let's not mess around with SP. 2017-06-04 23:03:50 +02:00
László Monda 96b12aa69d Remove the UHK prefix from slave_type_t and its members. 2017-06-01 11:03:03 +02:00
László Monda f8883e416d Rename slaves to Slaves now that it's extern. 2017-06-01 11:01:49 +02:00
László Monda d0678bbb51 Make sure that SDB of the LED driver is pulled high before talking to it over I2C. 2017-06-01 10:59:41 +02:00
László Monda 6e23df41bf Set .peripheralDetectionTimeoutMs to 300 ms. 2017-06-01 03:04:43 +02:00
László Monda 0f51700ea9 Keep the slave scheduler going even if a slave driver failed to trigger an I2C callback. 2017-06-01 03:03:20 +02:00
László Monda 420097dddc Keep uhk_slave_t.isConnected updated. 2017-06-01 02:31:04 +02:00
László Monda 7be20e34c2 Reinitialize slaves after reconnecting them. 2017-06-01 01:32:57 +02:00
László Monda 909c6196b2 Add slave driver initializers to the slaves array. 2017-06-01 01:21:04 +02:00
László Monda 4ef45e2e3c Rename led_driver_state_t.frames to .ledValues 2017-06-01 01:08:56 +02:00
László Monda 22ea86eaf1 Get rid of ledsBuffer in favor of led_driver_state_t.frames 2017-06-01 01:01:08 +02:00
László Monda 281d3f547f Capitalize the first letter of ledDriverId_* enum values. 2017-06-01 00:51:19 +02:00
László Monda 328865b63b Update LEDs in small chunks, improving the responsivity of the keys of the left keyboard half dramatically. 2017-06-01 00:46:51 +02:00
László Monda a9fa765f99 Extract currentLedDriverState. 2017-05-31 23:59:39 +02:00
László Monda 0e41e403a9 Move LED control register commands to ledDriverStates. 2017-05-31 23:29:02 +02:00
László Monda 24addf1648 Add led_driver_state_t.i2cAddress 2017-05-31 22:46:43 +02:00
László Monda 2bb86eab70 Utilize the phase member of the LED driver state structure. 2017-05-31 22:33:06 +02:00
László Monda 291fddb0a4 Start to consolidate LED driver state into a struct. 2017-05-31 22:10:14 +02:00
László Monda 0bfdffa4e3 Remove uhkModuleExternalStates for the time being. Caching will be reintroduced later. 2017-05-31 21:48:45 +02:00
László Monda 3b181c1f87 Rename UHK module *state* identifiers to *phase*. 2017-05-31 21:45:33 +02:00
László Monda 55f505ac8c Rename LED driver *state* varibles to *phase*. 2017-05-31 21:41:11 +02:00