László Monda
|
ab7e25692a
|
Use hex numbers as the values of UsbCommandId_*
|
2017-11-23 04:18:37 +01:00 |
|
László Monda
|
b68e8a736e
|
Make processMouseAction() handle acceleration and deceleration, even though I can't yet trigger these actions for some reason.
|
2017-11-23 01:54:54 +01:00 |
|
László Monda
|
4d211f0fe1
|
Reset mouseMoveCurrentSpeed when the mouse movement keys are no longer pressed, even if a mouse button key stays pressed due to drag and drop or selection purposes.
|
2017-11-22 02:34:37 +01:00 |
|
László Monda
|
8429ee2b71
|
Implement mouse acceleration.
|
2017-11-21 21:15:12 +01:00 |
|
László Monda
|
4bbc49f4ca
|
Clean up processMouseAction() by using floats instead of divisor values. Move MouseSpeed_* into mouse_speed_action_t
|
2017-11-21 19:01:59 +01:00 |
|
László Monda
|
322ee0b35f
|
Rename the misnamed MouseButton_t to MouseButton_6
|
2017-11-21 16:42:27 +01:00 |
|
László Monda
|
8252da86d8
|
Rename some files and identifiers that are related to USB commands.
|
2017-11-18 03:30:24 +01:00 |
|
László Monda
|
086ab239b4
|
Fix the previously introduced EEPROM read bug by making addressBuffer static. Rename EEPROM_ADDRESS_LENGTH to EEPROM_ADDRESS_SIZE.
|
2017-11-18 03:18:37 +01:00 |
|
László Monda
|
a7ba0add18
|
Simplify eeprom.c
|
2017-11-18 03:11:17 +01:00 |
|
László Monda
|
d2ef63184b
|
Move updateUsbReports() from main.c to usb_report_updater.c and delete main.h
|
2017-11-17 01:21:30 +01:00 |
|
László Monda
|
6cf47565f9
|
Bump version to 3.0.0 and update the changelog.
v3.0.0
3.0.0
|
2017-11-15 22:36:51 +01:00 |
|
László Monda
|
7f6f9e7094
|
Detect the use of USB interfaces by introducing IsUsb*ReportSent and compute areUsbReportsSent using them.
|
2017-11-15 16:54:34 +01:00 |
|
László Monda
|
a0afdcf476
|
Implement key debouncer.
|
2017-11-14 22:54:53 +01:00 |
|
László Monda
|
9e18caa0ba
|
Set the left KEY_SCANNER_INTERVAL_USEC to 1000 / KEYBOARD_MATRIX_ROWS_NUM
|
2017-11-14 13:08:01 +01:00 |
|
László Monda
|
f63f2f9b96
|
Adding left/key_scanner.[ch] which I totally forgot.
|
2017-11-14 03:43:51 +01:00 |
|
László Monda
|
4c97238999
|
Even though the current code seems to be working fine, call KeyMatrix_Init() before InitKeyScanner() just to be sure.
|
2017-11-14 02:40:51 +01:00 |
|
László Monda
|
5c84620704
|
Call KeyMatrix_ScanRow() from an LPTMR interrupt for the left half. Remove KeyMatrix_Scan()
|
2017-11-14 02:29:18 +01:00 |
|
László Monda
|
ae4d60882f
|
Use interrupt based keyboard matrix scanning for the right keyboard half. Get rid of INTERRUPT_KEY_SCANNER
|
2017-11-13 02:18:55 +01:00 |
|
László Monda
|
332f2a69fa
|
Set up the timer properly and introduce CurrentTime.
|
2017-11-12 17:33:23 +01:00 |
|
László Monda
|
a91f945591
|
Add timer.[ch]
|
2017-11-12 04:48:06 +01:00 |
|
László Monda
|
d0c689146e
|
Remove unused counter variable.
|
2017-11-12 04:17:38 +01:00 |
|
László Monda
|
27e64adc33
|
Extract PIT related macros to the newly created peripherals/pit.h
|
2017-11-12 04:06:46 +01:00 |
|
László Monda
|
5da6510d7c
|
Use the menu key in the factory keymap.
|
2017-11-12 01:50:01 +01:00 |
|
László Monda
|
a4ddf1ff2a
|
Uppercamelcase read*() config parser functions since they're not local.
|
2017-11-11 16:54:40 +01:00 |
|
László Monda
|
22141ba1e3
|
Replace {GET,SET}_USB_BUFFER_UINT8 with {Get,Set}UsbRxBufferUint8
|
2017-11-11 16:49:48 +01:00 |
|
László Monda
|
f4de0df149
|
Replace SET_DEBUG_BUFFER_UINT* macros with SetDebugBufferUint* functions for improved type safety and readability.
|
2017-11-11 03:52:39 +01:00 |
|
László Monda
|
5c7a3faa9c
|
Use buffer functions in eeprom.c for easier readability.
|
2017-11-11 03:41:03 +01:00 |
|
László Monda
|
80240c8e9b
|
Add shared/buffer.[ch] for easily dealing with array values.
|
2017-11-11 03:40:06 +01:00 |
|
László Monda
|
f45ebdde4f
|
Comment that the EEPROM address has to be big-endian.
|
2017-11-11 01:15:27 +01:00 |
|
László Monda
|
e3a121f0d8
|
Make pressing the reset button revert to the factory preset.
|
2017-11-10 23:42:45 +01:00 |
|
László Monda
|
f927aef7f5
|
Put function curlies into their own line according to our coding standards all across the codebase.
|
2017-11-10 23:14:44 +01:00 |
|
László Monda
|
f3682efe53
|
Revert to the factory default state when the reset button is pressed upon firmware startup. Display FTY on the display in this case.
|
2017-11-10 22:48:21 +01:00 |
|
László Monda
|
c06b06ed1b
|
Make the secondary role work properly when a layer is set and when pressing the non-dual role key for long right after keeping the dual role key pressed.
|
2017-11-10 00:41:33 +01:00 |
|
László Monda
|
402697c0a3
|
Don't call applyKeyAction() when a secondary role is triggered because it'd output the scancode of the pressed key which is not the right thing when the secondary role is layer switching.
|
2017-11-09 22:26:44 +01:00 |
|
László Monda
|
b8846cd601
|
Add LedDisplay_SetCurrentKeymapText() and use it when reinitializaing the LED display upon disconnect. This fixes the bug that shows FTY on the display upon I2C watchdog recoveries.
|
2017-11-09 20:59:51 +01:00 |
|
László Monda
|
c2efb5e0d0
|
Rename watchdog related variables to be more intuitively named.
|
2017-11-09 20:41:19 +01:00 |
|
László Monda
|
4aad86947c
|
Set the deviceId of uhk60-right to 1.
|
2017-11-09 18:47:21 +01:00 |
|
László Monda
|
0421c2f339
|
Swap SlaveCommand_RequestKeyStates and SlaveCommand_JumpToBootloader, thereby making SlaveCommand_JumpToBootloader the lower number because it's more basic and shouldn't change in the future.
|
2017-11-09 01:49:32 +01:00 |
|
László Monda
|
c83e331c37
|
Remove the unused PROTOCOL_RESPONSE_{SUCCESS,GENERIC_ERROR} macros.
|
2017-11-09 01:45:55 +01:00 |
|
László Monda
|
f8ad10b0c1
|
Make build/uhk60-left_{debug,release}_kboot.launch build the relevant firmware images before running their update script.
|
2017-11-09 01:34:23 +01:00 |
|
László Monda
|
f1058294a6
|
Wrap the whole debug_over_spi.[ch] files into #ifdef DEBUG_OVER_SPI to silence compiler warnings when it's not defined.
|
2017-11-09 01:33:23 +01:00 |
|
László Monda
|
e5865009f5
|
Remove unused SetError(), SetGenericError, and SetResponseByte() functions.
|
2017-11-09 01:17:50 +01:00 |
|
László Monda
|
21c1ded972
|
Slightly tweak USB command names.
|
2017-11-08 23:14:12 +01:00 |
|
László Monda
|
98b84bc49c
|
Change nomenclature in the release script and package.json from master and slave to device and module.
|
2017-11-08 22:57:43 +01:00 |
|
László Monda
|
272ff3ccbe
|
Tweak firmware updater script paths according to the changes of the Agent repo.
|
2017-11-08 18:33:00 +01:00 |
|
László Monda
|
b49d5a7f7e
|
Add launch configurations for the release and debug versions of the left half firmware.
|
2017-11-08 04:09:58 +01:00 |
|
László Monda
|
49a94d82b0
|
Move update-{master,slave}-firmware.js and shared.js into the Agent repo and reference those scripts.
|
2017-11-08 01:27:49 +01:00 |
|
László Monda
|
fb39d700e0
|
Rename masters[*].moduleId to deviceId
|
2017-11-08 00:37:49 +01:00 |
|
László Monda
|
4fa2304e4b
|
Suppress pressed keys upon layer switcher key release.
|
2017-11-07 02:21:36 +01:00 |
|
László Monda
|
f6beeecec1
|
Make local variables static.
|
2017-11-07 01:37:46 +01:00 |
|