1
0
Fork 0

[Keyboard] Bug fixes and improvements to PloopyCo devices (#10573)

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
Drashna Jael're 2020-10-26 23:09:11 -07:00 committed by GitHub
parent 555b1640b2
commit 33074bcbad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 536 additions and 61 deletions

View file

@ -20,7 +20,7 @@
#include "quantum.h"
#include "spi_master.h"
#include "pmw3600.h"
#include "pmw3360.h"
#include "analog.h"
#include "opt_encoder.h"
#include "pointing_device.h"
@ -38,3 +38,17 @@ void process_wheel_user(report_mouse_t* mouse_report, int16_t h, int16_t v);
#define LAYOUT(BLL, BL, BM, BR, BRR, BF, BB, BDPI) \
{ {BL, BM, BR, BF, BB, BRR, BLL, BDPI}, }
typedef union {
uint32_t raw;
struct {
uint8_t dpi_config;
};
} keyboard_config_t;
extern keyboard_config_t keyboard_config;
enum ploopy_keycodes {
DPI_CONFIG = SAFE_RANGE,
PLOOPY_SAFE_RANGE,
};