Skip to content
13 changes: 13 additions & 0 deletions keyboards/santy65v2/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2023-2026 Santiago Garcia (@santy81855)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once
/* optical sensor settings */
// define which side the pointing device is on
#define SPLIT_POINTING_ENABLE
#define POINTING_DEVICE_LEFT
// SS Pin on the Trackball sensor
#define PMW33XX_CS_PIN B0
// the sensitivity between 100 and 12000
#define PMW33XX_CPI 1200
#define POINTING_DEVICE_INVERT_Y
147 changes: 147 additions & 0 deletions keyboards/santy65v2/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
{
"manufacturer": "Santy",
"keyboard_name": "santy65v2",
"maintainer": "santy81855",
"bootloader": "atmel-dfu",
"build": {
"lto": true
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B6", "pin_b": "C7"}
]
},
"features": {
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"pointing_device": true,
"rgblight": true
},
"matrix_pins": {
"cols": ["B4", "D5", "F4", "F5", "D4", "C6", "D7", "E6", "D1"],
"rows": ["F6", "F7", "F0", "F1", "B5"]
},
"processor": "atmega32u4",
"rgblight": {
"animations": {
"rainbow_mood": true,
"rainbow_swirl": true,
"static_gradient": true
},
"led_count": 32,
"split": true,
"split_count": [16, 16]
},
"split": {
"enabled": true,
"encoder": {
"right": {
"rotary": [
{"pin_a": "B6", "pin_b": "B2"}
]
}
},
"matrix_pins": {
"right": {
"cols": ["B4", "D2", "F4", "F5", "D4", "C6", "D7", "E6", "D1"],
"rows": ["F6", "F7", "B1", "B3", "B5"]
}
},
"serial": {
"pin": "D0"
}
},
"usb": {
"device_version": "0.0.1",
"pid": "0x0001",
"vid": "0xFEED"
},
"ws2812": {
"pin": "D3"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1.25, "y": 0},
{"matrix": [0, 2], "x": 2.25, "y": 0},
{"matrix": [0, 3], "x": 3.25, "y": 0},
{"matrix": [0, 4], "x": 4.25, "y": 0},
{"matrix": [0, 5], "x": 5.25, "y": 0},
{"matrix": [0, 6], "x": 6.25, "y": 0},
{"matrix": [0, 7], "x": 7.25, "y": 0},
{"matrix": [5, 1], "x": 10.25, "y": 0},
{"matrix": [5, 2], "x": 11.25, "y": 0},
{"matrix": [5, 3], "x": 12.25, "y": 0},
{"matrix": [5, 4], "x": 13.25, "y": 0},
{"matrix": [5, 5], "x": 14.25, "y": 0},
{"matrix": [5, 6], "x": 15.25, "y": 0},
{"matrix": [5, 7], "x": 16.25, "y": 0, "w": 2},
{"matrix": [5, 8], "x": 18.75, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1.25, "y": 1, "w": 1.5},
{"matrix": [1, 2], "x": 2.75, "y": 1},
{"matrix": [1, 3], "x": 3.75, "y": 1},
{"matrix": [1, 4], "x": 4.75, "y": 1},
{"matrix": [1, 5], "x": 5.75, "y": 1},
{"matrix": [1, 6], "x": 6.75, "y": 1},
{"matrix": [6, 0], "x": 9.75, "y": 1},
{"matrix": [6, 1], "x": 10.75, "y": 1},
{"matrix": [6, 2], "x": 11.75, "y": 1},
{"matrix": [6, 3], "x": 12.75, "y": 1},
{"matrix": [6, 4], "x": 13.75, "y": 1},
{"matrix": [6, 5], "x": 14.75, "y": 1, "w": 1.5},
{"matrix": [6, 6], "x": 16.25, "y": 1},
{"matrix": [6, 7], "x": 17.25, "y": 1},
{"matrix": [6, 8], "x": 18.75, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1.25, "y": 2, "w": 1.75},
{"matrix": [2, 2], "x": 3, "y": 2},
{"matrix": [2, 3], "x": 4, "y": 2},
{"matrix": [2, 4], "x": 5, "y": 2},
{"matrix": [2, 5], "x": 6, "y": 2},
{"matrix": [2, 6], "x": 7, "y": 2},
{"matrix": [7, 0], "x": 10, "y": 2},
{"matrix": [7, 1], "x": 11, "y": 2},
{"matrix": [7, 2], "x": 12, "y": 2},
{"matrix": [7, 3], "x": 13, "y": 2},
{"matrix": [7, 4], "x": 14, "y": 2},
{"matrix": [7, 5], "x": 15, "y": 2},
{"matrix": [7, 6], "x": 16, "y": 2, "w": 2.25},
{"matrix": [7, 7], "x": 18.75, "y": 2.25},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 2.25},
{"matrix": [3, 2], "x": 3.5, "y": 3},
{"matrix": [3, 3], "x": 4.5, "y": 3},
{"matrix": [3, 4], "x": 5.5, "y": 3},
{"matrix": [3, 5], "x": 6.5, "y": 3},
{"matrix": [3, 6], "x": 7.5, "y": 3},
{"matrix": [8, 0], "x": 10.5, "y": 3},
{"matrix": [8, 1], "x": 11.5, "y": 3},
{"matrix": [8, 2], "x": 12.5, "y": 3},
{"matrix": [8, 3], "x": 13.5, "y": 3},
{"matrix": [8, 4], "x": 14.5, "y": 3},
{"matrix": [8, 5], "x": 15.5, "y": 3, "w": 1.75},
{"matrix": [8, 6], "x": 17.5, "y": 3.25},
{"matrix": [4, 0], "x": 0, "y": 4.25},
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
{"matrix": [4, 3], "x": 3.75, "y": 4, "w": 1.25},
{"matrix": [4, 4], "x": 5, "y": 4, "w": 2},
{"matrix": [4, 5], "x": 7, "y": 4, "w": 1.25},
{"matrix": [4, 6], "x": 8.5, "y": 4},
{"matrix": [9, 0], "x": 10.25, "y": 4, "w": 1.5},
{"matrix": [9, 1], "x": 11.75, "y": 4, "w": 1.5},
{"matrix": [9, 2], "x": 13.25, "y": 4},
{"matrix": [9, 3], "x": 14.25, "y": 4},
{"matrix": [9, 4], "x": 15.25, "y": 4},
{"matrix": [9, 5], "x": 16.5, "y": 4.25},
{"matrix": [9, 6], "x": 17.5, "y": 4.25},
{"matrix": [9, 7], "x": 18.5, "y": 4.25}
]
}
}
}
21 changes: 21 additions & 0 deletions keyboards/santy65v2/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2023-2026 Santiago Garcia (@santy81855)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H


const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_F15, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_TRNS,
KC_F16, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_TRNS,
KC_F17, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_TRNS,
KC_F18, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_TRNS, KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_SPACE, KC_TRNS, KC_SPACE, KC_SPACE, KC_MPLY, KC_VOLD, KC_VOLU, KC_LEFT, KC_DOWN, KC_RIGHT

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the trackball spot an actual button you can press?

@santy81855 santy81855 Jun 19, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the trackball is not pressable, no. Also, if I may ask here, what is causing my readme file to fail the lint process?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error is No newline at end of file which qmk format-text is expecting. Running it on those 2 files:

diff --git a/keyboards/santy65v2/keymaps/default/readme.md b/keyboards/santy65v2/keymaps/default/readme.md
index b9df0c9f2d..3b3930b179 100644
--- a/keyboards/santy65v2/keymaps/default/readme.md
+++ b/keyboards/santy65v2/keymaps/default/readme.md
@@ -5,4 +5,4 @@
 This is the default layout.
 For the most part it's a straightforward and easy to follow layout.
 The sides are split up and the rotary encoders count as a button.
-The only unusual thing is that the trackball also takes up a button, so the 7th key on the bottom row should always be KC_TRNS.
\ No newline at end of file
+The only unusual thing is that the trackball also takes up a button, so the 7th key on the bottom row should always be KC_TRNS.
diff --git a/keyboards/santy65v2/readme.md b/keyboards/santy65v2/readme.md
index 88f9fff9f5..d2f58b4722 100644
--- a/keyboards/santy65v2/readme.md
+++ b/keyboards/santy65v2/readme.md
@@ -27,4 +27,4 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to

 * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
 * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
-* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
\ No newline at end of file
+* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, thanks! I went ahead and added the newlines to the end of the readmes.

)
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(C(KC_PGUP), C(KC_PGDN)) }
};
#endif
8 changes: 8 additions & 0 deletions keyboards/santy65v2/keymaps/default/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
![Santy65 Layout Image](https://i.imgur.com/Lamu61l.png)

# Default santy65 Layout

This is the default layout.
For the most part it's a straightforward and easy to follow layout.
The sides are split up and the rotary encoders count as a button.
The only unusual thing is that the trackball also takes up a button, so the 7th key on the bottom row should always be KC_TRNS.
30 changes: 30 additions & 0 deletions keyboards/santy65v2/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# santy65v2

![Santy65](https://i.imgur.com/VcNGcUTh.jpg)

A split 65% keyboard using 2 rotary encoders and a trackball.
Can be built with either:
- 2 elite-C microcontrollers.
- 1 elite-C microcontroller on the left side and a pro-micro on the right side.

* Keyboard Maintainer: [santy](https://github.com/santy81855)
* Hardware Supported:
* Elite-C and Pro Micro microcontrollers
* EC11 rotary encoders
* PMW 3360 sensor

Make example for this keyboard (after setting up your build environment):

make santy65v2:default

Flashing example for this keyboard:

make santy65v2:default:flash

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

## Bootloader

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
1 change: 1 addition & 0 deletions keyboards/santy65v2/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
POINTING_DEVICE_DRIVER = pmw3360
Loading