Commit Graph
1377 Commits
Author SHA1 Message Date
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
László Monda 1e290ebc34 Verify the integrity of key state update messages using CRC16-CCITT. 2017-05-31 03:26:50 +02:00
László Monda 57319489d2 Make the left half send only as many bytes of key state information as required. 2017-05-31 02:24:55 +02:00
László Monda 2172b58a00 Remove redundant newline. 2017-05-31 01:42:46 +02:00
László Monda b969feb346 Simplify bool array converter functions. 2017-05-31 01:41:44 +02:00
László Monda a8cb94ef15 Extract KEY_STATE_BUFFER_SIZE 2017-05-31 01:34:35 +02:00
László Monda 0edd56fa82 Serialize key states much more efficiently by using bits instead of bytes. 2017-05-31 01:26:16 +02:00
László Monda 8b69dd7d90 Move crc16.[ch] to shared 2017-05-30 17:20:06 +02:00
László Monda 8c96d2a042 Resolve compilation warning. 2017-05-30 17:12:14 +02:00
László Monda 8ac4f5a069 Rename bridge_protocol.h to slave_protocol.h 2017-05-29 22:17:40 +02:00
László Monda 1daf6db53c Rename *bridge* identifiers to *slave* 2017-05-29 22:14:11 +02:00
László Monda 2b0094f29c Fix guard macro name. 2017-05-29 22:07:52 +02:00
László Monda 2e66d4bc21 Rename bridge_protocol_handler.[ch] to slave_protocol_handler.[ch] 2017-05-29 22:07:13 +02:00
László Monda 98701d1c85 Update BusPal USB VID and PID. 2017-05-24 02:16:25 +02:00
László Monda 61dbe69d3b Update the VID and PID of the bootloader. 2017-05-24 02:10:10 +02:00
László Monda 28bf0cdeef Set final USB VID and PID. 2017-05-23 23:13:34 +02:00
László Monda 5b07a52848 Move test actions to the Fn layer. 2017-05-23 22:24:15 +02:00
László Monda 03ef36cb3a Enable the LED of the ISO key. 2017-05-23 22:20:32 +02:00
László Monda 84108b921d Fix filename. 2017-05-23 13:01:37 +02:00
László Monda 942a54469c Fix include filename. 2017-05-23 03:24:48 +02:00
László Monda 40498a15b9 Fix typo by renaming init_peripherials.[ch] to init_peripherals.[ch] 2017-05-23 03:19:24 +02:00
László Monda 67a5140e91 Mark functions of void arguments as such in the left firmware. 2017-05-23 03:15:53 +02:00