aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco/trackball/config.h')
-rw-r--r--keyboards/ploopyco/trackball/config.h27
1 files changed, 9 insertions, 18 deletions
diff --git a/keyboards/ploopyco/trackball/config.h b/keyboards/ploopyco/trackball/config.h
index 57113d965..66189c33e 100644
--- a/keyboards/ploopyco/trackball/config.h
+++ b/keyboards/ploopyco/trackball/config.h
@@ -23,29 +23,14 @@
23/* USB Device descriptor parameter */ 23/* USB Device descriptor parameter */
24#define VENDOR_ID 0x5043 24#define VENDOR_ID 0x5043
25#define PRODUCT_ID 0x5442 25#define PRODUCT_ID 0x5442
26#define DEVICE_VER 0x0001 26#define DEVICE_VER 0x0001
27#define MANUFACTURER Ploopyco 27#define MANUFACTURER PloopyCo
28#define PRODUCT Trackball 28#define PRODUCT Trackball
29 29
30/* key matrix size */ 30/* key matrix size */
31#define MATRIX_ROWS 1 31#define MATRIX_ROWS 1
32#define MATRIX_COLS 5 32#define MATRIX_COLS 5
33 33
34/*
35 * Keyboard Matrix Assignments
36 *
37 * Change this to how you wired your keyboard
38 * COLS: AVR pins used for columns, left to right
39 * ROWS: AVR pins used for rows, top to bottom
40 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
41 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
42 *
43 */
44#define DIRECT_PINS { { D4, D2, E6, B5, D7 } }
45
46// These pins are not broken out, and cannot be used normally.
47// They are set as output and pulled high, by default
48#define UNUSED_PINS { D1, D3, B4, B6, B7, D6, C7, F6, F5, F3 }
49 34
50/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 35/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
51#define DEBOUNCE 5 36#define DEBOUNCE 5
@@ -63,7 +48,13 @@
63/* Much more so than a keyboard, speed matters for a mouse. So we'll go for as high 48/* Much more so than a keyboard, speed matters for a mouse. So we'll go for as high
64 a polling rate as possible. */ 49 a polling rate as possible. */
65#define USB_POLLING_INTERVAL_MS 1 50#define USB_POLLING_INTERVAL_MS 1
51#define USB_MAX_POWER_CONSUMPTION 100
66 52
67/* Bootmagic Lite key configuration */ 53/* Bootmagic Lite key configuration */
68#define BOOTMAGIC_LITE_ROW 0 54#define BOOTMAGIC_LITE_ROW 0
69#define BOOTMAGIC_LITE_COLUMN 3 55#define BOOTMAGIC_LITE_COLUMN 3
56
57#define ROTATIONAL_TRANSFORM_ANGLE 20
58
59// If board has a debug LED, you can enable it by defining this
60// #define DEBUG_LED_PIN F7