Commit Graph

  • 64668e953f Remove commented out line. László Monda 2017-07-15 18:36:16 +02:00
  • 85b709bad9 Resolve some compiler warnings Eric Tang 2017-07-15 07:06:20 -07:00
  • b329485ac9 Merge branch 'master' of https://github.com/UltimateHackingKeyboard/firmware Eric Tang 2017-07-15 06:50:14 -07:00
  • b8b1bc4979 Rename serialized_buffer_t to config_buffer_t László Monda 2017-07-15 11:23:02 +02:00
  • 5d39c725f9 Make the serialized buffer fixed-size. László Monda 2017-07-15 11:18:22 +02:00
  • dab3b3464f Use only decimal values to represent LED brightnesses in led_display.c Eric Tang 2017-07-14 20:28:00 -07:00
  • 5c2e5d9a81 Fix the appearance of "6" on the LED display Eric Tang 2017-07-14 20:26:15 -07:00
  • 78e5aaa60e Merge pull request #51 from UltimateHackingKeyboard/led-display László Monda 2017-07-14 23:18:28 +02:00
  • ade2add5d2 Merge pull request #50 from UltimateHackingKeyboard/configuration-parser László Monda 2017-07-14 22:34:51 +02:00
  • 1eb2a73753 Display the active layer Eric Tang 2017-07-14 13:28:48 -07:00
  • 970dbd0a50 Call InitClock before InitPeripherals Eric Tang 2017-07-14 13:18:09 -07:00
  • 38b281e962 Improve the appearance of "K" and "7" on the display Eric Tang 2017-07-14 11:26:02 -07:00
  • 58899f092d Merge branch 'led-display' of https://github.com/UltimateHackingKeyboard/firmware into led-display Eric Tang 2017-07-14 11:02:49 -07:00
  • 7ed508943f Try to display "ABC" on the display. László Monda 2017-07-14 19:51:56 +02:00
  • 679021744e Convert a few loop indices from uint8_t to uint16_t Eric Tang 2017-07-09 17:41:18 -07:00
  • 8eb6bdeb35 Clean up config_state.c and fix readString Eric Tang 2017-07-09 17:36:51 -07:00
  • 59d03cc5b9 Merge branch 'master' into led-display Eric Tang 2017-07-14 09:27:32 -07:00
  • 282c77c850 Fix LED driver update, so it'll keep working after initialization. László Monda 2017-07-14 17:40:41 +02:00
  • eaacc18ab1 Make characterToSegmentSet use a lookup table Eric Tang 2017-07-14 08:14:09 -07:00
  • 37c56296eb Display the abbreviation of a keymap when it is being applied Eric Tang 2017-07-13 19:35:37 -07:00
  • 1cd060122f Implement the new API for controlling the LED display Eric Tang 2017-07-13 19:28:19 -07:00
  • 25181e5841 Expose the new API for controlling the LED display Eric Tang 2017-07-13 16:37:58 -07:00
  • 335c77a158 Expose LedDriverStates Eric Tang 2017-07-12 20:44:18 -07:00
  • 9a5e146866 Rename InitPeripherials to InitPeripherals Eric Tang 2017-07-12 20:06:11 -07:00
  • 595ced9902 Treat the LED driver as a peripheral with a driver Eric Tang 2017-07-12 20:03:50 -07:00
  • 3730733b73 Merge pull request #48 from UltimateHackingKeyboard/configuration-parser László Monda 2017-07-09 22:05:48 +02:00
  • ec5f774944 Add the parser for the top-level configuration Eric Tang 2017-07-09 10:35:52 -07:00
  • bbdb09b5f5 Handle cases where readCompactLength returns a value which cannot fit in 8 bits Eric Tang 2017-07-09 10:24:28 -07:00
  • fa79957ab2 Convert ConfigBuffer to serialized_buffer_t Eric Tang 2017-07-09 10:23:51 -07:00
  • a42d8e5437 Also add Mod+N to Esc mapping for Laci. László Monda 2017-07-09 02:37:56 +02:00
  • 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. László Monda 2017-07-09 02:32:20 +02:00
  • a2ea3567d9 Map Caps Lock to Mod+A according to our official default keymap. László Monda 2017-07-09 02:24:25 +02:00
  • 8d7e538176 Map the Q key of the Mod layer to Esc according to our official keymap. László Monda 2017-07-09 02:14:48 +02:00
  • 7e5951162f Make Alt+Tab keymapping and the like work as assumed. László Monda 2017-07-09 02:09:22 +02:00
  • 7c290ed372 Extract getActiveLayer() and remove the static activeLayer variable. László Monda 2017-07-09 01:54:17 +02:00
  • d3166fb94c Indent curlies according to our coding standards. László Monda 2017-07-09 01:49:34 +02:00
  • 7a9659f7c0 Move some code from parse_keymap.* to config_state.* Eric Tang 2017-07-07 14:54:39 -07:00
  • f4c5a7e969 Revert "Add ConfigPtr" Eric Tang 2017-07-07 14:34:12 -07:00
  • 887208badd Load only the default keymap into CurrentKeymap Eric Tang 2017-07-07 14:05:19 -07:00
  • 9b010ca221 Merge pull request #45 from UltimateHackingKeyboard/configuration-parser László Monda 2017-07-07 19:56:16 +02:00
  • 55328d719f Create a type for the parser error codes Eric Tang 2017-07-07 10:15:03 -07:00
  • 24ed268518 Ensure that parseSwitchKeymapAction advances buffer.offset by the correct amount Eric Tang 2017-07-07 08:00:10 -07:00
  • 042fb60192 Make the configuration parser check that every array has an expected length Eric Tang 2017-07-06 17:41:54 -07:00
  • 0d68f190e1 Make the configuration parser return a more detailed error code Eric Tang 2017-07-06 15:44:25 -07:00
  • c7977c905c Send the final position of the configuration parser to the host Eric Tang 2017-07-03 19:42:45 -07:00
  • ebb154472c Send the status code returned by the configuration parser to the host Eric Tang 2017-07-03 19:41:17 -07:00
  • 02e5dea778 Add basic error checking to the configuration parser Eric Tang 2017-07-03 19:40:41 -07:00
  • 3d58445f29 Make parseLayer static Eric Tang 2017-07-02 10:21:23 -07:00
  • e6454079b9 Fix reset button pin number. László Monda 2017-06-27 09:05:26 +02:00
  • 0f92b0ba22 Take a step towards parsing keymaps Eric Tang 2017-06-24 11:07:56 -07:00
  • 3d8839ee35 adding native debug configuration with J-Link for application Erich Styger 2017-06-24 19:13:09 +02:00
  • c4e0be95a6 ignoring Eclipse generated files Erich Styger 2017-06-24 18:42:30 +02:00
  • 72904dfca1 fixed project refresh policy setting for all build configurations Erich Styger 2017-06-24 18:38:03 +02:00
  • f2f230f273 Merge pull request #43 from ErichStyger/master László Monda 2017-06-22 21:15:06 +02:00
  • 1fa15cb16c ignoring generated files Erich Styger 2017-06-19 17:19:08 +02:00
  • 4a3b031c8b updated project settings: enabled parallel build and fixed refresh policy Erich Styger 2017-06-19 17:16:23 +02:00
  • 679ea45908 Remove excess whitespace. László Monda 2017-06-16 19:15:29 +02:00
  • 97675bd324 Use the right blhost binary on OSX. László Monda 2017-06-16 19:14:01 +02:00
  • 99e185339a Add /usr/local/bin to the path to make blhost-unix.sh work on OSX. László Monda 2017-06-16 18:44:25 +02:00
  • 1dcfcafdcc Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware László Monda 2017-06-16 16:00:00 +02:00
  • a27a2645ba Extract SerializedMouseAction_* enum values. László Monda 2017-06-16 15:59:38 +02:00
  • 30b30bf9c3 Remove const members. László Monda 2017-06-16 11:51:08 +02:00
  • bfd574b3e0 Create CONTRIBUTING.md László Monda 2017-06-16 01:01:25 +02:00
  • 7472849355 Create CONTRIBUTING.md László Monda 2017-06-16 01:00:03 +02:00
  • 67900c4e8e Create README.md László Monda 2017-06-16 00:05:13 +02:00
  • bdb94ac0ca Create CONTRIBUTING.md László Monda 2017-06-15 23:52:27 +02:00
  • 41225b2042 Update the serialization of the keystroke action according to the recent changes of Agent. László Monda 2017-06-15 23:22:16 +02:00
  • 9f4bcb023a Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware László Monda 2017-06-15 20:34:05 +02:00
  • 26a7f7cacf Rename actionType to keyActionType László Monda 2017-06-15 20:19:58 +02:00
  • 57ea831bcf Create CONTRIBUTING.md László Monda 2017-06-15 19:42:29 +02:00
  • cd060d8aa5 Rename a lot of variables within parse_keymap.c László Monda 2017-06-15 19:38:25 +02:00
  • 9800145314 Slightly shorten the initialization of moduleID and pointerRole. László Monda 2017-06-15 19:30:50 +02:00
  • 8d232f3968 Remove separators. László Monda 2017-06-15 19:29:15 +02:00
  • 237ef3c34a Rename action.h to key_action.h László Monda 2017-06-15 19:27:44 +02:00
  • a2c13dee1f Fix action.h according to our coding standards. László Monda 2017-06-15 19:21:00 +02:00
  • 2e9048bbb0 Create CONTRIBUTING.md László Monda 2017-06-15 19:19:07 +02:00
  • 976444b5fe Rename key action related enums and values to be easier to read. László Monda 2017-06-15 19:14:05 +02:00
  • 480b184ab5 move SERIALIZED_KEYSTROKE_TYPE_* macros to parse_keymap.h László Monda 2017-06-15 19:00:44 +02:00
  • 3d4def76f8 Rename and extract some typedefs from parse_keymap.c from parse_keymap.h László Monda 2017-06-15 18:32:21 +02:00
  • 431b2f2f18 Fix file structure according to our coding standards. László Monda 2017-06-15 18:17:59 +02:00
  • bdaef763a4 Rename deserialize_Layer() to parseLayer() and process* functions to parse* László Monda 2017-06-15 18:13:42 +02:00
  • 972febf360 Fix the names of preprocessor guards according to the renamed filenames. László Monda 2017-06-15 18:10:09 +02:00
  • de013f6afa Add ConfigPtr László Monda 2017-06-15 18:08:52 +02:00
  • 1958b1dee4 Rename config_buffer.[ch] to config_state.[ch] László Monda 2017-06-15 18:04:03 +02:00
  • fd66ce5c40 Rename deserialize.[ch] to parse_keymap.[ch] László Monda 2017-06-15 17:59:15 +02:00
  • 94f0430c27 Rename config_parser to config László Monda 2017-06-15 17:55:50 +02:00
  • 57a6c94145 Move config_buffer.[ch] to the config_parser directory. László Monda 2017-06-15 17:53:35 +02:00
  • ab62a3189c Remove configuration parser test data. László Monda 2017-06-15 13:11:27 +02:00
  • 1f556a8095 Move deserialize.c into the newly create config_parser subdirectory. László Monda 2017-06-15 13:09:31 +02:00
  • ad5a9baa5d Fix readCompactLength() László Monda 2017-06-15 12:57:34 +02:00
  • 4af31c2e12 Remove findIndex() now that https://github.com/UltimateHackingKeyboard/agent/issues/136 has been implemented. László Monda 2017-06-15 10:32:39 +02:00
  • c7e0e67a1c Parse media and system keys. László Monda 2017-06-11 12:11:12 +02:00
  • 0391259dab Replace tabs with spaces. László Monda 2017-06-05 16:14:46 +02:00
  • 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. László Monda 2017-06-04 23:32:48 +02:00
  • a6ed51360f Let's not mess around with SP. László Monda 2017-06-04 23:03:50 +02:00
  • 96b12aa69d Remove the UHK prefix from slave_type_t and its members. László Monda 2017-06-01 11:03:03 +02:00
  • f8883e416d Rename slaves to Slaves now that it's extern. László Monda 2017-06-01 11:01:49 +02:00
  • d0678bbb51 Make sure that SDB of the LED driver is pulled high before talking to it over I2C. László Monda 2017-06-01 10:59:41 +02:00
  • 6e23df41bf Set .peripheralDetectionTimeoutMs to 300 ms. László Monda 2017-06-01 03:04:43 +02:00
  • 0f51700ea9 Keep the slave scheduler going even if a slave driver failed to trigger an I2C callback. László Monda 2017-06-01 03:03:20 +02:00