From a9ba8a1907a1ffb2947510a6ed5d17f0eaee34a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Thu, 5 Oct 2017 19:51:15 +0200 Subject: [PATCH] Remove redundant module members. --- right/src/module.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/right/src/module.h b/right/src/module.h index 76fce8f..57c963f 100644 --- a/right/src/module.h +++ b/right/src/module.h @@ -8,19 +8,6 @@ // Macros: - #define MODULE_REQUEST_GET_PROTOCOL_VERSION 0 - #define MODULE_REQUEST_GET_MODULE_ID 1 - #define MODULE_REQUEST_GET_MODULE_NAME 2 - #define MODULE_REQUEST_GET_FEATURES 3 - #define MODULE_REQUEST_GET_FACTORY_LAYER 4 - #define MODULE_REQUEST_GET_POINTER_INFO 5 - #define MODULE_REQUEST_GET_STATE 6 - #define MODULE_REQUEST_GET_GRAPHICS 7 - - #define POINTER_ROLE_MOVE 0 - #define POINTER_ROLE_SCROLL 1 - - #define MAX_MODULE_NAME_LENGTH 64 #define MAX_KEY_COUNT_PER_MODULE 64 // Typedefs: @@ -31,12 +18,4 @@ uint8_t roles[LAYER_COUNT]; } pointer_t; - typedef struct { - uint8_t moduleId; - char moduleName[MAX_MODULE_NAME_LENGTH]; - uint8_t pointerCount; - uint8_t keyCount; - uint8_t pointerRole; - } module_t; - #endif