Skip to content

Commit

Permalink
fixing qmk
Browse files Browse the repository at this point in the history
  • Loading branch information
bullwinkle3000 committed Nov 7, 2024
1 parent b9fca53 commit d76be0e
Show file tree
Hide file tree
Showing 6 changed files with 239 additions and 217 deletions.
14 changes: 7 additions & 7 deletions keyboards/handwired/wylderbuilds/trackball/5x7_track/5x7_track.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@
#define LAYOUT_5x7( \
L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \
L20, L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \
L20, L21, L22, L23, L24, L25, L26, L46, R40, R20, R21, R22, R23, R24, R25, R26, \
L30, L31, L32, L33, L34, L35, L36, R30, R31, R32, R33, R34, R35, R36, \
L43, L44, R42, R43, \
L56, R40, R41, \
L55, R50, R51, \
L53, L54, R52, R53 \
L55, L56, R50, \
L51, L53, R51,\
L52, L54, R52, R53 \
) { \
{ L00, L01, L02, L03, L04, L05, L06 }, \
{ L10, L11, L12, L13, L14, L15, L16 }, \
{ L20, L21, L22, L23, L24, L25, L26 }, \
{ L30, L31, L32, L33, L34, L35, L36 }, \
{ XXX, XXX, XXX, L43, L44, XXX, XXX }, \
{ XXX, XXX, XXX, L53, L54, L55, L56 }, \
{ XXX, XXX, XXX, L43, L44, XXX, L46 }, \
{ XXX, L51, L52, L53, L54, L55, L56 }, \
\
{ R00, R01, R02, R03, R04, R05, R06 }, \
{ R10, R11, R12, R13, R14, R15, R16 }, \
{ R20, R21, R22, R23, R24, R25, R26 }, \
{ R30, R31, R32, R33, R34, R35, R36 }, \
{ R40, R41, R42, R43, XXX, XXX, XXX }, \
{ R40, XXX, R42, R43, XXX, XXX, XXX }, \
{ R50, R51, R52, R53, XXX, XXX, XXX } \
}
14 changes: 7 additions & 7 deletions keyboards/handwired/wylderbuilds/trackball/5x7_track/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#define SPLIT_POINTING_ENABLE
#define ROTATIONAL_TRANSFORM_ANGLE 25
#define POINTING_DEVICE_INVERT_Y
#define POINTING_DEVICE_LEFT
#define POINTING_DEVICE_RIGHT
#define PMW33XX_CS_PIN GP21
#define POINTING_DEVICE_TASK_THROTTLE_MS 1
#define PMW33XX_LIFTOFF_DISTANCE 0x02
Expand All @@ -60,12 +60,12 @@
// GP19 -- MOSI pin
// GP18 -- SCK pin clock Driver

//#define ENCODERS_PAD_A { }
//#define ENCODERS_PAD_B { }
//#define ENCODER_RESOLUTIONS { 1 }
//#define ENCODERS_PAD_A_RIGHT { GP27 }
//#define ENCODERS_PAD_B_RIGHT { GP28 }
//#define ENCODER_RESOLUTIONS_RIGHT { 2 }
#define ENCODERS_PAD_A { GP27 }
#define ENCODERS_PAD_B { GP28 }
#define ENCODER_RESOLUTIONS { 1 }
#define ENCODERS_PAD_A_RIGHT { GP27 }
#define ENCODERS_PAD_B_RIGHT { GP28 }
#define ENCODER_RESOLUTIONS_RIGHT { 1 }

#ifdef OLED_ENABLE
#define I2C_DRIVER I2CD1
Expand Down
Loading

0 comments on commit d76be0e

Please sign in to comment.