XLite support (#5806)

This commit is contained in:
Bertrand Songis
2018-04-25 23:07:04 +02:00
committed by GitHub
parent 37f96d452a
commit 99604dccc9
78 changed files with 1098 additions and 1050 deletions
+13
View File
@@ -79,8 +79,12 @@ void boardInit(void);
#define KEYS_GPIO_PIN_UP (1<<4)
#define KEYS_GPIO_REG_DOWN pinb
#define KEYS_GPIO_PIN_DOWN (1<<3)
#define IS_SHIFT_KEY(index) (false)
#define IS_SHIFT_PRESSED() (false)
// Trims
#define NUM_TRIMS 4
#define NUM_TRIMS_KEYS (NUM_TRIMS * 2)
#define TRIMS_GPIO_REG_LHL pind
#define TRIMS_GPIO_PIN_LHL (1<<6)
#define TRIMS_GPIO_REG_LVD pind
@@ -257,4 +261,13 @@ void rotencPoll();
#define buzzerOn() PORTE |= (1 << OUT_E_BUZZER)
#define buzzerOff() PORTE &= ~(1 << OUT_E_BUZZER)
// Battery driver
#define BATTERY_MIN 90 // 9V
#define BATTERY_MAX 120 // 12V
#define BATTERY_WARN 90 // 9V
// Analogs
#define NUM_MOUSE_ANALOGS 0
#define NUM_DUMMY_ANAS 0
#endif // _BOARD_STOCK_H_