Skip to content

Commit

Permalink
6x7 cy track looking good
Browse files Browse the repository at this point in the history
  • Loading branch information
bullwinkle3000 committed Dec 6, 2024
1 parent c231a1b commit 1329d05
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 29 deletions.
51 changes: 24 additions & 27 deletions keyboards/handwired/wylderbuilds/trackball/6x7_cy_track/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,40 +30,37 @@
#define DYNAMIC_KEYMAP_MACRO_COUNT 64

//trackball support
#define SPI_DRIVER SPID0
#define POINTING_DEVICE_SCLK_PIN GP22
#define POINTING_DEVICE_SDIO_PIN GP20
#define SPI_MOSI_PIN GP23
#define POINTING_DEVICE_CS_PIN GP21
#define POINTING_DEVICE_INVERT_X
//#define POINTING_DEVICE_INVERT_X_RIGHT
#define SPLIT_POINTING_ENABLE
//#define POINTING_DEVICE_INVERT_Y
#define POINTING_DEVICE_RIGHT
#define POINTING_DEVICE_ROTATION_90
#define CHARYBDIS_DRAGSCROLL_REVERSE_Y
#define POINTING_DEVICE_TASK_THROTTLE_MS 1//default 0x02, 2mm liftoff distance
//#define SPI_DRIVER SPID0
//#define POINTING_DEVICE_SCLK_PIN GP22
//#define POINTING_DEVICE_SDIO_PIN GP20
//#define SPI_MOSI_PIN GP23
//#define POINTING_DEVICE_CS_PIN GP21
//#define POINTING_DEVICE_INVERT_X
////#define POINTING_DEVICE_INVERT_X_RIGHT
//#define SPLIT_POINTING_ENABLE
////#define POINTING_DEVICE_INVERT_Y
//#define POINTING_DEVICE_RIGHT
//#define POINTING_DEVICE_ROTATION_90
//#define CHARYBDIS_DRAGSCROLL_REVERSE_Y
//#define POINTING_DEVICE_TASK_THROTTLE_MS 1//default 0x02, 2mm liftoff distance

//#include "config_common.h"
// Basic Config
#define SPLIT_POINTING_ENABLE
//#define ROTATIONAL_TRANSFORM_ANGLE -25
//#define PMW33XX_CS_PIN GP21
//#define POINTING_DEVICE_CS_PIN GP21

//#define SPLIT_TRANSACTION_IDS_KB RPC_ID_KB_CONFIG_SYNC

//#define CHARYBDIS_MINIMUM_DEFAULT_DPI 600
//#define CHARYBDIS_MAX_DEFAULT_DPI_MULTIPLIER 0x08
//#define CHARYBDIS_BASE_DEFAULT_DPI_MULTIPLIER 0x02
//#define CHARYBDIS_DEFAULT_DPI_CONFIG_STEP 400
//#define CHARYBDIS_MINIMUM_SNIPING_DPI 400
//#define CHARYBDIS_SNIPING_DPI_CONFIG_STEP 100
//#define CHARYBDIS_DRAGSCROLL_DPI 100

#define ROTATIONAL_TRANSFORM_ANGLE -25
#define POINTING_DEVICE_INVERT_Y
#define POINTING_DEVICE_RIGHT
#define SPI_DRIVER SPID0
#define SPI_SCK_PIN GP22
#define SPI_MISO_PIN GP20
#define SPI_MOSI_PIN GP23
#define POINTING_DEVICE_CS_PIN GP21
#define POINTING_DEVICE_TASK_THROTTLE_MS 1
#define PMW33XX_LIFTOFF_DISTANCE 0x02

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
// only required if not setting mouse layer elsewhere
// only required if not setting mouse layer elsewhere
#define AUTO_MOUSE_DEFAULT_LAYER 3

#ifdef RGB_MATRIX_ENABLE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"features": {
"bootmagic": true,
"command": false,
"console": true,
"console": false,
"encoder": false,
"encoder_map": false,
"extrakey": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BOOTLOADER = rp2040
#MOUSEKEY_ENABLE = yes
#CONSOLE_ENABLE = no
#POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = pmw3610
#POINTING_DEVICE_DRIVER = pmw3610
##COMMAND_ENABLE = yes
#BOOTMAGIC_ENABLE = yes
#NKRO_ENABLE = yes # Enable N-Key Rollover
Expand Down

0 comments on commit 1329d05

Please sign in to comment.