László Monda
|
a0803875c4
|
Make UsbCommand_GetModuleProperty() branch based on modulePropertyId
|
2018-01-15 00:04:22 +01:00 |
|
László Monda
|
2661c3d909
|
Implement DevicePropertyId_Uptime
|
2018-01-14 18:32:18 +01:00 |
|
László Monda
|
c854e98d84
|
Implement DevicePropertyId_I2cMainBusBaudRate
|
2018-01-14 18:10:04 +01:00 |
|
László Monda
|
0fd95b71b2
|
Add usb_command_set_i2c_baud_rate.[ch]
|
2018-01-13 03:54:06 +01:00 |
|
László Monda
|
4a4c471b9e
|
Implement DevicePropertyId_CurrentKbootCommand
|
2018-01-10 02:58:31 +01:00 |
|
László Monda
|
6ad425cbf9
|
Log I2C error counts on a per slave and per error type basis and expose them via USB.
|
2018-01-05 03:23:48 +01:00 |
|
László Monda
|
1ac637af0f
|
Rename the GetProperty command to GetDeviceProperty.
|
2017-12-23 16:11:47 +01:00 |
|
László Monda
|
36951d1a34
|
Minor cleanups regarding the previous rename.
|
2017-12-23 16:08:45 +01:00 |
|
László Monda
|
5190265a2c
|
Rename get_module_properties.[ch] to get_module_property.[ch]. It seems that the header wasn't included in usb_protocol_handler.c possibly causing issues when using these commands.
|
2017-12-23 16:06:24 +01:00 |
|
László Monda
|
85e92d21b4
|
Add new UsbCommand_GetModuleProperties() device protocol command.
|
2017-12-15 02:46:30 +01:00 |
|
László Monda
|
bd53b73685
|
Rename usb_command_get_keyboard_state.[ch] to usb_command_get_device_state.[ch]
|
2017-12-14 23:10:13 +01:00 |
|
László Monda
|
83e782d74a
|
Remove DevicePropertyId_HardwareConfigSize and DevicePropertyId_UserConfigSize
|
2017-12-14 21:49:15 +01:00 |
|
László Monda
|
312f56048b
|
Add DevicePropertyId_ConfigSizes.
|
2017-12-14 16:40:44 +01:00 |
|
László Monda
|
494621a841
|
Expose version numbers via the get property interface.
|
2017-12-14 16:16:11 +01:00 |
|
László Monda
|
6a54944cb1
|
Make UsbCommand_JumpToModuleBootloader() more robust by not making it dependent on the state of the module driver.
|
2017-12-13 01:27:04 +01:00 |
|
László Monda
|
5798f9e4fb
|
Refactor UsbCommandId_LaunchEepromTransfer, change its arguments, and change its ID to 0x08.
|
2017-12-12 03:24:34 +01:00 |
|
László Monda
|
a212c254a9
|
Change UsbCommandId_WriteHardwareConfig and UsbCommandId_WriteUserConfig to 0x05 and 0x06.
|
2017-12-12 01:59:53 +01:00 |
|
László Monda
|
7c91f8f6d1
|
Replace UsbCommandId_ReadHardwareConfig and UsbCommandId_ReadUserConfig with UsbCommandId_ReadConfig.
|
2017-12-12 01:22:26 +01:00 |
|
László Monda
|
6780c8177c
|
Expose per-interface count values for debugging purposes via USB.
|
2017-12-04 17:38:31 +01:00 |
|
László Monda
|
46126e1e78
|
Tweak kinetic mouse values further. Temporarily maximize / minimize the acceleratedSpeed / deceleratedSpeed values for testing purposes.
|
2017-11-28 17:25:46 +01:00 |
|
László Monda
|
729e0be0ad
|
Make scrolling utilize mouse_kinetic_state_t, just like mouse movements. Fix scrolling issue by making distance float. Add new debug functions for ints and float.
|
2017-11-28 02:01:26 +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
|
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
|
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
|
c2efb5e0d0
|
Rename watchdog related variables to be more intuitively named.
|
2017-11-09 20:41:19 +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
|
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
|
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
|
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
|
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
|
e907e65751
|
Extract UsbCommand_Reenumerate() into its own file.
|
2017-11-05 01:18:37 +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 |
|