Commit Graph
1013 Commits
Author SHA1 Message Date
László Monda 3fb552cc55 Reinitialize the EEPROM upon firmware startup and set the I2C EEPROM interrupt priority to 0. This seems to really fix #67. 2018-05-26 17:06:05 +02:00
László Monda d093c84fb4 Fix HardwareConfig->signature{Length}="FTY" and re-release the latest version. 2018-05-21 15:25:24 +02:00
László Monda 989774ced9 Make the EEPROM interrupt higher priority than the interrupts of the key scanner, key debouncer, I2C main bus and USB. Fixes #67. 2018-05-21 12:41:34 +02:00
László Monda 0e29276a56 Read the hardware and user configuration from the EEPROM even in factory reset mode. 2018-05-21 12:04:12 +02:00
László Monda 5b90d78518 Add IsFactoryResetModeEnabled. 2018-05-21 02:21:30 +02:00
László Monda d2eb4b43c7 Add LED_DISPLAY_DEBUG_MODE and LedDisplay_DebugString, making the LED display usable for debugging purposes. 2018-05-20 12:00:05 +02:00
László Monda a545324693 Set HardwareConfig->signature to "FTY" when the keyboard is in factory reset mode, so that Agent can act on it. 2018-05-20 01:36:27 +02:00
László Monda 27b02c32b5 Set key debounce timeout from 60ms to 80ms. This should further reduce key chattering. 2018-05-16 17:37:30 +02:00
László Monda 51b2631012 Make saving the user configuration faster by only writing the part of the EEPROM which actually contains the user configuration. Resolves #111. 2018-05-15 02:40:21 +02:00
László Monda 66c877f7bd Don't switch keymaps instead of playing macros. Fixes #86. 2018-05-15 01:47:24 +02:00
László Monda ad8aca5793 Merge branch 'make' of https://github.com/Lauszus/firmware 2018-05-06 20:19:07 +02:00
Kristian Sloth Lauszus 7c4c354828 Updated LED status comment 2018-05-06 15:23:07 +02:00
Kristian Sloth Lauszus 492243f801 Added _pvHeapStart entry
This is needed for Semihosting
2018-05-06 15:19:38 +02:00
Kristian Sloth Lauszus 6f0b1adc14 Fix vender specific usage page entry
See: https://github.com/node-hid/node-hid/issues/258
2018-05-06 15:11:22 +02:00
László Monda b917a97e93 Parse long media macro actions. 2018-05-03 00:42:20 +02:00
László Monda bf69f28ed1 Merge pull request #110 from Lauszus/make
Added Makefiles for compiling the two projects
2018-05-03 00:22:05 +02:00
László Monda 14b6e49692 Don't suppress modifiers upon releasing a layer. Fixes #82. 2018-05-02 14:49:56 +02:00
Kristian Sloth Lauszus 101abffec4 Moved the linker script into the source directory 2018-05-02 02:56:03 +02:00
Kristian Sloth Lauszus d9d26814e8 Fix warnings 2018-05-02 00:35:28 +02:00
László Monda e9cd3a96c2 Don't reinitialize LED driver ICs upon suspend and resume. 2018-04-28 17:08:25 +02:00
László Monda 8856c484b6 Add LedDisplay_UpdateAll() 2018-04-28 16:21:54 +02:00
László Monda b97841fdae Delete I2C_WATCHDOG and always enable the watchdog. 2018-04-28 15:04:56 +02:00
László Monda 69143bed9c Replace "computer" with "host". 2018-04-28 15:00:32 +02:00
László Monda ebd0e3b762 Make ParseConfig() restore indicator icons. Fixes #107 2018-04-28 14:43:13 +02:00
László Monda ec8301ae62 Expose IsHostSleeping instead of IsHostSleeping() 2018-04-28 13:11:25 +02:00
László Monda 3d4d78387e Remove LED_DRIVER_STRESS_TEST. 2018-04-28 12:36:12 +02:00
László Monda c2582729f2 Remove LED_DRIVERS_ENABLED. 2018-04-28 11:43:01 +02:00
László Monda 9d66f5ff76 Rename identifiers. 2018-04-28 11:38:38 +02:00
László Monda 06ebed5537 Rename some variables and clean up coding style. 2018-04-28 11:19:01 +02:00
László Monda 7002e7de52 Fix SwitchKeymapByAbbreviation() and use it in place of a for block of equivalent functionality within UsbCommand_ApplyConfig() 2018-04-10 21:27:56 +02:00
László Monda fd787f74e9 Merge branch 'usb-switch-keymap' into dev 2018-04-09 21:12:07 +02:00
László Monda 75fe7904b6 Fix scroll events after the slow mouse fix. 2018-04-09 13:09:41 +02:00
Kristian Sloth Lauszus 9670523310 Cast mouseElapsedTime to float when calculating the speed and distance 2018-04-08 22:19:50 +02:00
Kristian Sloth Lauszus 3d9170402b Moved timer used for mouse speed into processMouseActions and renamed the variables 2018-04-08 22:11:35 +02:00
Kristian Sloth Lauszus c90261d549 Set the update rate according to the mouse endpoint polling interval 2018-04-08 21:59:57 +02:00
Kristian Sloth Lauszus 5a756edf8b Remove historic code that tried to solve the mouse speed issue 2018-04-08 21:39:43 +02:00
Kristian Sloth Lauszus d2acfba659 Process the key inputs at a constant rate when moving the mouse, so the mouse speed is consistent
Fixes #99
2018-04-08 21:18:56 +02:00
Kristian Sloth Lauszus ac75d0ca8b Merge commit 'b68c6bed184f5da12f00c173e23b07c4428be661' into dev 2018-04-08 20:28:02 +02:00
László Monda 43646beca8 Set key debounce timeout from 30ms to 60ms. This should eliminate key chattering. 2018-04-04 00:56:16 +02:00
László Monda 308a71e4a3 Rename SwitchKeymap() to SwitchKeymapById() 2018-03-30 12:46:30 +02:00
László Monda ecf1f1ac32 Actually switch the keymap. 2018-03-30 12:44:43 +02:00
László Monda b34fb9daa3 Add switch keymap USB command. 2018-03-30 11:18:31 +02:00
László Monda 195f40949f Fix build warning. 2018-03-25 22:38:45 +02:00
Kristian Sloth Lauszus ab24e78a5b Wake up the keyboard if there is any activity on the bus
This fixes: https://github.com/UltimateHackingKeyboard/firmware/pull/97#issuecomment-372091423
2018-03-11 20:05:10 +01:00
Kristian Sloth Lauszus c109a9e202 The layer keys can now also wake up the computer 2018-03-11 19:29:24 +01:00
Kristian Sloth Lauszus 3ab2ac18fc The keyboard can now wake up the computer from sleep 2018-03-11 19:00:46 +01:00
Kristian Sloth Lauszus 6e2eca7829 Changed CurrentTime to a static variable and added function for getting the current time instead
Global variables are really bad practice and should be avoided
2018-03-11 17:59:23 +01:00
Kristian Sloth Lauszus 8f4fc1da8e Merge branch 'fixes' into sleep 2018-03-11 17:56:07 +01:00
Kristian Sloth Lauszus 5de0e5ac60 Turn LEDs, backlight and display off when sleeping
Fixes #83
2018-03-11 05:26:51 +01:00
Kristian Sloth Lauszus 13a718f871 Declare local functions and variables static
This both helps the compiler and the programmer
2018-03-11 02:38:23 +01:00