László Monda
|
e3d4eb50db
|
Make secondary role layer switching work.
|
2017-11-07 00:30:40 +01:00 |
|
László Monda
|
31fa1a0d5e
|
Don't make secondary role stuck when holding a layer switcher even after releasing the dual role key.
|
2017-11-07 00:00:02 +01:00 |
|
László Monda
|
3ac94684e2
|
Dump mouse related variables via the debug buffer to figure out the cause of occasional mouse freezes.
|
2017-11-06 18:28:23 +01:00 |
|
László Monda
|
693315222f
|
Handle secondary role modifiers.
|
2017-11-06 18:11:05 +01:00 |
|
László Monda
|
3533a8f73c
|
Rename long presss action to secondary role.
|
2017-11-06 01:58:11 +01:00 |
|
László Monda
|
34b2875861
|
Kill the magic numbers of UsbCommand_WriteConfig()
|
2017-11-06 00:57:41 +01:00 |
|
László Monda
|
8c7014cf8c
|
Clean up the includes under usb_commands and rename led state variable in usb_command_set_test_led.c
|
2017-11-06 00:51:11 +01:00 |
|
László Monda
|
9910fe536f
|
Add USB_STATUS_CODE_SIZE and use it to kill the magic numbers of usb_command_read_config()
|
2017-11-06 00:44:32 +01:00 |
|
László Monda
|
003f313947
|
Make UsbCommand_JumpToSlaveBootloader expect a slave slot id instead of a uhkModuleDriverId.
|
2017-11-06 00:32:08 +01:00 |
|
László Monda
|
379fe6a4c7
|
Rename DebugInfo to DebugBuffer and related files and variables.
|
2017-11-05 23:36:16 +01:00 |
|
László Monda
|
67794d460e
|
Add and use SET_DEBUG_BUFFER_UINT*
|
2017-11-05 23:32:58 +01:00 |
|
László Monda
|
1449f98781
|
Remove redundant includes.
|
2017-11-05 23:29:34 +01:00 |
|
László Monda
|
870dec7519
|
Fix indentation.
|
2017-11-05 23:03:27 +01:00 |
|
László Monda
|
1c9e350006
|
Extract updateUsbBuffer() from UsbCommand_ApplyConfig()
|
2017-11-05 22:56:51 +01:00 |
|
László Monda
|
df0b0c33b5
|
Add ParsingStage_* enums.
|
2017-11-05 22:51:43 +01:00 |
|
László Monda
|
97f044d21f
|
Simplify the control flow of UsbCommand_ApplyConfig() a bit.
|
2017-11-05 22:45:58 +01:00 |
|
László Monda
|
88514f82f4
|
Put all macro arguments into parentheses just to be safe.
|
2017-11-05 22:29:47 +01:00 |
|
László Monda
|
f7e26eef8a
|
Split usb_status_code_transfer_config_t as usb_status_code_read_config_t and usb_status_code_write_config_t
|
2017-11-05 22:14:49 +01:00 |
|
László Monda
|
a8bde4e007
|
Add {GET,SET}_USB_BUFFER_UINT* and use them wherever possible. Get rid of SetUsb*() functions.
|
2017-11-05 22:09:34 +01:00 |
|
László Monda
|
58778feb5b
|
Move UsbStatusCode_JumpToSlaveBootloader_InvalidModuleDriverId to usb_command_jump_to_slave_bootloader.h
|
2017-11-05 19:33:08 +01:00 |
|
László Monda
|
d78ac1bcf0
|
Start USB command specific status codes from 2 since 0 and 1 are taken.
|
2017-11-05 19:28:40 +01:00 |
|
László Monda
|
6db3eb3045
|
Rename UsbResponse_*() to UsbStatusCode_*(), SetUsbError() to SetUsbStatusCode(), and other USB status codes consistently.
|
2017-11-05 19:25:13 +01:00 |
|
László Monda
|
eb451d6153
|
Set UsbResponse_InvalidCommand upon encountering with an invalid USB command.
|
2017-11-05 19:12:37 +01:00 |
|
László Monda
|
3f52819c0e
|
Move UsbDebugInfo into usb_command_get_debug_info.[ch] and remove external UsbDebugInfo references.
|
2017-11-05 19:07:12 +01:00 |
|
László Monda
|
ebd06ebbc6
|
Reorder includes according to USB command ids.
|
2017-11-05 19:02:24 +01:00 |
|
László Monda
|
8c42ec27dd
|
Remove the now unused UsbCommandId_WriteLedDriver
|
2017-11-05 18:13:57 +01:00 |
|
László Monda
|
6dcfcca10f
|
Remove unneeded includes and comments from usb_protocol_handler.c
|
2017-11-05 18:10:35 +01:00 |
|
László Monda
|
45420a348b
|
Extract UsbCommand_SetLedPwmBrightness() into its own file.
|
2017-11-05 18:08:35 +01:00 |
|
László Monda
|
84ffe50dac
|
Extract UsbCommand_GetAdcValue() to its own file.
|
2017-11-05 01:35:12 +01:00 |
|
László Monda
|
68f9aac883
|
Extract UsbCommand_SetTestLed() into its own file.
|
2017-11-05 01:28:15 +01:00 |
|
László Monda
|
d547b9b324
|
Remove UsbCommandId_ReadMergeSensor now that it can be queried via UsbCommandId_GetKeyboardState.
|
2017-11-05 01:21:23 +01:00 |
|
László Monda
|
e907e65751
|
Extract UsbCommand_Reenumerate() into its own file.
|
2017-11-05 01:18:37 +01:00 |
|
László Monda
|
0febc9dd69
|
Uncomment the exec of user-config-json-to-bin.ts now that it works from outside its own directory. Make make-release.js verbose.
|
2017-11-04 17:57:19 +01:00 |
|
László Monda
|
fe74ea1578
|
Extract UsbCommand_GetDebugInfo() into its own file.
|
2017-11-04 10:46:04 +01:00 |
|
László Monda
|
67e304a787
|
Extract UsbCommand_GetKeyboardState() into its own file.
|
2017-11-04 10:30:37 +01:00 |
|
László Monda
|
4de340967c
|
Extract UsbCommand_LaunchEepromTransferLegacy() into its own file.
|
2017-11-04 10:06:55 +01:00 |
|
László Monda
|
54496ca210
|
Extract UsbCommand_WriteConfig()
|
2017-11-04 08:43:27 +01:00 |
|
László Monda
|
232f595b41
|
Extract UsbCommand_SendKbootCommand()
|
2017-11-04 08:38:19 +01:00 |
|
László Monda
|
8a255aaf5f
|
Extract UsbCommand_JumpToSlaveBootloader()
|
2017-11-04 08:32:54 +01:00 |
|
László Monda
|
ad4fe1a18d
|
Extract system properties to usb_command_get_property.c
|
2017-11-04 02:38:00 +01:00 |
|
László Monda
|
336c2e5368
|
Extract UsbCommand_ReadConfig() to usb_command_read_config.c. Rename Set{Response,Error}* to SetUsb{Response,Error}
|
2017-11-04 02:11:49 +01:00 |
|
László Monda
|
c0b41b8e60
|
Remove the ApplyConfig() prototype because it doesn't exist anymore.
|
2017-11-04 01:36:55 +01:00 |
|
László Monda
|
457f4802d4
|
Rename usb_command_t to usb_command_id_t and UsbCommand_* to UsbCommandId_*
|
2017-11-04 01:35:31 +01:00 |
|
László Monda
|
ae3efce452
|
Extract the applyConfig USB command into usb_command_apply_config.[ch]
|
2017-11-04 01:32:03 +01:00 |
|
László Monda
|
330a899625
|
Make the getAdcValue and getDebugInfo USB commands utilize the first byte of the response to provide status as dictated by the UHK protocol.
|
2017-11-04 01:02:19 +01:00 |
|
László Monda
|
e7f34dcdc6
|
Simplify code by utilizing type casing on uint8_t arrays.
|
2017-11-04 00:30:40 +01:00 |
|
László Monda
|
c2a1a94349
|
Switch keymap only upon keypress.
|
2017-11-03 22:39:18 +01:00 |
|
László Monda
|
35b8f0084b
|
Don't put a zero scancode into ActiveUsbBasicKeyboardReport->scancodes[basicScancodeIndex++]
|
2017-11-03 22:32:10 +01:00 |
|
László Monda
|
0688c1bdfc
|
Rename keymaps.[ch] to keymap.[ch]
|
2017-11-03 19:01:56 +01:00 |
|
László Monda
|
4072a0ea33
|
Rename Keymap_Switch() to SwitchKeymap()
|
2017-11-03 18:59:58 +01:00 |
|