Request individual layers, not the whole keymap at once.

This commit is contained in:
László Monda
2016-03-15 18:11:23 +01:00
parent ab5bd90f56
commit 9c9b7bbed1

View File

@@ -18,7 +18,7 @@
#define MODULE_REQUEST_GET_PROTOCOL_VERSION 0
#define MODULE_REQUEST_GET_MODULE_ID 1
#define MODULE_REQUEST_GET_FEATURES 2
#define MODULE_REQUEST_GET_FACTORY_KEYMAP 3
#define MODULE_REQUEST_GET_FACTORY_LAYER 3
#define MODULE_REQUEST_GET_POINTER_INFO 4
#define MODULE_REQUEST_GET_STATE 5
#define MODULE_REQUEST_GET_GRAPHICS 6
@@ -40,7 +40,8 @@
} pointer_t;
typedef struct {
uint8_t status;
uint8_t enumerationState;
uint8_t enumerationSubstate;
uint8_t moduleId;
uint8_t pointerCount;
uint8_t keyCount;