Skip to content

Commit

Permalink
hi res scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
freznel10 committed Jan 22, 2023
1 parent 03cc6d2 commit c0b2e20
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
29 changes: 16 additions & 13 deletions keyboards/zerfstudios/emblem/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,6 @@

//#define EEPROM_I2C_CAT24C512

//Pointing device config
#ifdef POINTING_DEVICE_DRIVER_CIRQUE_PINNACLE_SPI
#define CIRQUE_PINNACLE_DIAMETER_MM 40
#define CIRQUE_PINNACLE_SPI_CS_PIN GP11
#define POINTING_DEVICE_ROTATION_270
#define CIRQUE_PINNACLE_TAP_ENABLE
#endif //POINTING_DEVICE_DRIVER_CIRQUE_PINNACLE_SPI

#ifdef POINTING_DEVICE_DRIVER_PMW3360
#define PMW33XX_CS_PIN GP11
#define PMW33XX_LIFTOFF_DISTANCE 0x03
#define POINTING_DEVICE_INVERT_X
#endif //POINTING_DEVICE_DRIVER_PMW3360

// #define OLED_DISPLAY_128X64
// #define DEBUG_EEPROM_OUTPUT
Expand Down Expand Up @@ -179,3 +166,19 @@
#endif // POINTING_DEVICE_ENABLE


//Pointing device config
#ifdef POINTING_DEVICE_DRIVER_CIRQUE_PINNACLE_SPI
#define CIRQUE_PINNACLE_DIAMETER_MM 40
#define CIRQUE_PINNACLE_SPI_CS_PIN GP11
#define POINTING_DEVICE_ROTATION_270
#define CIRQUE_PINNACLE_TAP_ENABLE
#define POINTING_DEVICE_GESTURES_SCROLL_ENABLE
#define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE
#endif //POINTING_DEVICE_DRIVER_CIRQUE_PINNACLE_SPI

#ifdef POINTING_DEVICE_DRIVER_PMW3360
#define PMW33XX_CS_PIN GP11
#define PMW33XX_LIFTOFF_DISTANCE 0x03
#define POINTING_DEVICE_INVERT_X
#endif //POINTING_DEVICE_DRIVER_PMW3360

5 changes: 4 additions & 1 deletion keyboards/zerfstudios/emblem/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ OLED_DRIVER = custom
POINTING_DEVICE_ENABLE = yes
# #POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c
# #POINTING_DEVICE_DRIVER = cirque_pinnacle_spi
POINTING_DEVICE_DRIVER = pmw3360
HAPTIC_DRIVER += DRV2605L

POINTING_DEVICE_DRIVER = cirque_pinnacle_spi



RGB_MATRIX_DRIVER = WS2812
WS2812_DRIVER = vendor

Expand Down

0 comments on commit c0b2e20

Please sign in to comment.