forked from morganvenable/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request qmk#19 from svalboard/mule
merging pointball build config with standard 90 degree angle on trackball.
- Loading branch information
Showing
27 changed files
with
575 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
keyboards/svalboard/tbrtpl/left/config.h → keyboards/svalboard/ballpoint/left/config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#define SERIAL_USART_TX_PIN GP0 | ||
#define SERIAL_USART_RX_PIN GP1 | ||
#define SERIAL_USART_FULL_DUPLEX | ||
#define SERIAL_PIO_USE_PIO0 | ||
#define SERIAL_PIO_USE_PIO0 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"manufacturer": "Svalboard", | ||
"keyboard_name": "svalboard", | ||
"maintainer": "MorganVenable", | ||
"url": "http://svalboard.com", | ||
"bootloader": "rp2040", | ||
"diode_direction": "COL2ROW", | ||
"features": { | ||
"audio": false, | ||
"backlight": false, | ||
"bluetooth": false, | ||
"bootmagic": false, | ||
"command": true, | ||
"console": true, | ||
"extrakey": true, | ||
"fauxclicky": false, | ||
"midi": false, | ||
"mousekey": true, | ||
"nkro": true, | ||
"rgblight": false, | ||
"sleep_led": false, | ||
"unicode": false | ||
}, | ||
"height": 10, | ||
"matrix_pins": { | ||
"cols": ["GP14", "GP13", "GP12", "GP11", "GP10", "GP9"], | ||
"rows": ["GP8", "GP7", "GP6", "GP5", "GP4"] | ||
}, | ||
"mousekey": { | ||
"delay": 150, | ||
"interval": 60, | ||
"max_speed": 5, | ||
"time_to_max": 7 | ||
}, | ||
"processor": "RP2040", | ||
"split": { | ||
"enabled": true, | ||
"transport": { | ||
"protocol": "serial", | ||
"sync_matrix_state": false, | ||
"sync_modifiers": false | ||
} | ||
}, | ||
"tapping": { | ||
"term": 200 | ||
}, | ||
"ps2": { | ||
"enabled": false, | ||
"driver": "vendor" | ||
}, | ||
"usb": { | ||
"device_version": "0.0.2", | ||
"pid": "0x4044", | ||
"polling_interval": 1, | ||
"vid": "0x303A" | ||
}, | ||
"width": 20.5, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"label": "r1c", "matrix": [1, 2], "x": 0.5, "y": 1.5}, | ||
{"label": "r1n", "matrix": [1, 3], "x": 0.5, "y": 1, "h": 0.5}, | ||
{"label": "r1e", "matrix": [1, 1], "x": 1.5, "y": 1.5, "w": 0.5}, | ||
{"label": "r1s", "matrix": [1, 0], "x": 0.5, "y": 2.5, "h": 0.5}, | ||
{"label": "r1w", "matrix": [1, 4], "x": 0, "y": 1.5, "w": 0.5}, | ||
{"label": "r2c", "matrix": [2, 2], "x": 2.5, "y": 1}, | ||
{"label": "r2n", "matrix": [2, 3], "x": 2.5, "y": 0.5, "h": 0.5}, | ||
{"label": "r2e", "matrix": [2, 1], "x": 3.5, "y": 1, "w": 0.5}, | ||
{"label": "r2s", "matrix": [2, 0], "x": 2.5, "y": 2, "h": 0.5}, | ||
{"label": "r2w", "matrix": [2, 4], "x": 2, "y": 1, "w": 0.5}, | ||
{"label": "r3c", "matrix": [3, 2], "x": 4.5, "y": 0.5}, | ||
{"label": "r3n", "matrix": [3, 3], "x": 4.5, "y": 0, "h": 0.5}, | ||
{"label": "r3e", "matrix": [3, 1], "x": 5.5, "y": 0.5, "w": 0.5}, | ||
{"label": "r3s", "matrix": [3, 0], "x": 4.5, "y": 1.5, "h": 0.5}, | ||
{"label": "r3w", "matrix": [3, 4], "x": 4, "y": 0.5, "w": 0.5}, | ||
{"label": "r4c", "matrix": [4, 2], "x": 6.5, "y": 1}, | ||
{"label": "r4n", "matrix": [4, 3], "x": 6.5, "y": 0.5, "h": 0.5}, | ||
{"label": "r4e", "matrix": [4, 1], "x": 7.5, "y": 1, "w": 0.5}, | ||
{"label": "r4s", "matrix": [4, 0], "x": 6.5, "y": 2, "h": 0.5}, | ||
{"label": "r4w", "matrix": [4, 4], "x": 6, "y": 1, "w": 0.5}, | ||
{"label": "l1c", "matrix": [6, 2], "x": 8.5, "y": 4, "h": 2}, | ||
{"label": "l1n", "matrix": [6, 3], "x": 8, "y": 3.5, "w": 0.5, "h": 1.5}, | ||
{"label": "l1e", "matrix": [6, 1], "x": 7.5, "y": 3.5, "w": 0.5}, | ||
{"label": "l1w", "matrix": [6, 0], "x": 9.5, "y": 3.5, "w": 0.5, "h": 1.5}, | ||
{"label": "l1s", "matrix": [6, 4], "x": 9.5, "y": 5, "w": 0.5, "h": 1.5}, | ||
{"label": "l2c", "matrix": [7, 2], "x": 8.5, "y": 5, "w": 0.5, "h": 1.5}, | ||
{"label": "l2n", "matrix": [7, 3], "x": 11, "y": 4, "h": 2}, | ||
{"label": "l2e", "matrix": [7, 1], "x": 12, "y": 3.5, "w": 0.5, "h": 1.5}, | ||
{"label": "l2w", "matrix": [7, 0], "x": 12.5, "y": 3.5, "w": 0.5}, | ||
{"label": "l2s", "matrix": [7, 4], "x": 10.5, "y": 3.5, "w": 0.5, "h": 1.5}, | ||
{"label": "l3c", "matrix": [8, 2], "x": 10.5, "y": 5, "w": 0.5, "h": 1.5}, | ||
{"label": "l3n", "matrix": [8, 3], "x": 11, "y": 5, "w": 0.5, "h": 1.5}, | ||
{"label": "l3e", "matrix": [8, 1], "x": 13, "y": 1}, | ||
{"label": "l3w", "matrix": [8, 0], "x": 13, "y": 0.5, "h": 0.5}, | ||
{"label": "l3s", "matrix": [8, 4], "x": 12.5, "y": 1, "w": 0.5}, | ||
{"label": "l4c", "matrix": [9, 2], "x": 13, "y": 2, "h": 0.5}, | ||
{"label": "l4n", "matrix": [9, 3], "x": 14, "y": 1, "w": 0.5}, | ||
{"label": "l4e", "matrix": [9, 1], "x": 15, "y": 0.5}, | ||
{"label": "l4s", "matrix": [9, 0], "x": 15, "y": 0, "h": 0.5}, | ||
{"label": "l4w", "matrix": [9, 4], "x": 16, "y": 0.5, "w": 0.5}, | ||
{"label": "rtd", "matrix": [0, 2], "x": 15, "y": 1.5, "h": 0.5}, | ||
{"label": "rti", "matrix": [0, 3], "x": 14.5, "y": 0.5, "w": 0.5}, | ||
{"label": "rtu", "matrix": [0, 4], "x": 17, "y": 1}, | ||
{"label": "rtuo", "matrix": [0, 1], "x": 17, "y": 0.5, "h": 0.5}, | ||
{"label": "rtlo", "matrix": [0, 0], "x": 18, "y": 1, "w": 0.5}, | ||
{"label": "rtdd", "matrix": [0, 5], "x": 17, "y": 2, "h": 0.5}, | ||
{"label": "ltd", "matrix": [5, 2], "x": 16.5, "y": 1, "w": 0.5}, | ||
{"label": "lti", "matrix": [5, 3], "x": 19, "y": 1.5}, | ||
{"label": "ltu", "matrix": [5, 4], "x": 19, "y": 1, "h": 0.5}, | ||
{"label": "ltuo", "matrix": [5, 1], "x": 20, "y": 1.5, "w": 0.5}, | ||
{"label": "ltlo", "matrix": [5, 0], "x": 19, "y": 2.5, "h": 0.5}, | ||
{"label": "ltdd", "matrix": [5, 5], "x": 18.5, "y": 1.5, "w": 0.5} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#define SERIAL_USART_TX_PIN GP1 | ||
#define SERIAL_USART_RX_PIN GP0 | ||
#define SERIAL_USART_FULL_DUPLEX | ||
#define SERIAL_PIO_USE_PIO0 | ||
#define SPLIT_POINTING_ENABLE | ||
#define POINTING_DEVICE_AUTO_MOUSE_MH_ENABLE |
File renamed without changes.
7 changes: 4 additions & 3 deletions
7
keyboards/svalboard/tbrtpl/right/rules.mk → keyboards/svalboard/ballpoint/right/rules.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
OPT_DEFS += -DINIT_EE_HANDS_RIGHT | ||
# # this turns on trackpoint: | ||
# PS2_MOUSE_ENABLE = yes | ||
PS2_MOUSE_ENABLE = yes | ||
# # this turns on Manna-Harbour's automousekeys: | ||
# MH_AUTO_BUTTONS = yes | ||
MH_AUTO_BUTTONS = yes | ||
# # this selects trackball driver | ||
|
||
POINTING_DEVICE_ENABLE = yes | ||
POINTING_DEVICE_DRIVER = custom | ||
# this selects trackball driver | ||
POINTING_DEVICE_DRIVER = pmw3360 | ||
#POINTING_DEVICE_DRIVER = pmw3360 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
/* | ||
Copyright 2023 Morgan Venable @_claussen | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#pragma once | ||
|
||
/* key matrix size */ | ||
// Rows are doubled-up | ||
|
||
#if defined(POINTING_DEVICE_ENABLE) | ||
|
||
// Pointing device stuff | ||
#define SPLIT_POINTING_ENABLE | ||
#define POINTING_DEVICE_RIGHT | ||
#define POINTING_DEVICE_AUTO_MOUSE_MH_ENABLE | ||
|
||
#if defined(POINTING_DEVICE_IS_PIMORONI) | ||
|
||
#define I2C_DRIVER I2CD1 | ||
#define I2C1_SDA_PIN GP18 | ||
#define I2C1_SCL_PIN GP19 | ||
#define PIMORONI_TRACKBALL_SCALE 5 | ||
|
||
#endif | ||
|
||
#if (defined(POINTING_DEVICE_IS_PMW3360) || defined(POINTING_DEVICE_IS_PMW3389)) | ||
// SPI stuff | ||
#define USE_FFC_SPI | ||
|
||
#ifdef USE_FFC_SPI | ||
#define SPI_DRIVER SPID1 | ||
// for FFC connector | ||
#define SPI_SCK_PIN GP26 | ||
// Use TX# pin from SPI set. | ||
#define SPI_MOSI_PIN GP27 | ||
// Use RX# pin from SPI set. | ||
#define SPI_MISO_PIN GP24 | ||
// PMW33XX stuff | ||
// Use CS# pin from SPI set. Might not actually have to be the CS# pin, since | ||
// there's supposed to be support for multiple PMW33XX sensors, with different | ||
// CS pins. | ||
#define PMW33XX_CS_PIN GP25 | ||
#else | ||
//for Separate Pimoroni Connector | ||
#define SPI_DRIVER SPID0 | ||
#define SPI_SCK_PIN GP18 | ||
// Use TX# pin from SPI set. | ||
#define SPI_MOSI_PIN GP19 | ||
// Use RX# pin from SPI set. | ||
#define SPI_MISO_PIN GP16 | ||
// PMW33XX stuff | ||
// Use CS# pin from SPI set. Might not actually have to be the CS# pin, since | ||
// there's supposed to be support for multiple PMW33XX sensors, with different | ||
// CS pins. | ||
#define PMW33XX_CS_PIN GP17 | ||
#endif | ||
#define PMW33XX_CS_DIVISOR 4 | ||
#define PMW33XX_CPI 2000 | ||
#define POINTING_DEVICE_RIGHT | ||
#define POINTING_DEVICE_INVERT_Y | ||
#define ROTATIONAL_TRANSFORM_ANGLE 90 | ||
//^ rotation is CCW | ||
#endif | ||
#endif | ||
|
||
//PS2 Trackpoint Setup | ||
#ifdef PS2_MOUSE_ENABLE | ||
//#define SERIAL_PIO_USE_PIO1 | ||
#define PS2_PIO_USE_PIO1 | ||
#define PS2_RESET_PIN GP25 | ||
#define PS2_CLOCK_PIN GP24 | ||
#define PS2_DATA_PIN GP23 | ||
#define PS2_MOUSE_SCROLL_DIVISOR_H 4 | ||
#define PS2_MOUSE_SCROLL_DIVISOR_V 4 | ||
#ifndef PS2_MOUSE_ROTATE | ||
#define PS2_MOUSE_ROTATE 90 | ||
//default is N exit on right hand --270 for N on left see bsa.sh | ||
#endif | ||
// #define PS2_MOUSE_SCROLL_BTN_MASK 0 // just normal middle button for panning and relative scroll | ||
#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_MIDDLE) /* Default -- tap to enter relative scroll, hold to use direct scroll*/ | ||
#endif | ||
|
||
//@manna-harbour's automousekeys | ||
#if defined MH_AUTO_BUTTONS | ||
#define MH_AUTO_BUTTONS_LAYER MBO | ||
#define MH_AUTO_BUTTONS_TIMEOUT 5000 | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#define SERIAL_USART_TX_PIN GP0 | ||
#define SERIAL_USART_RX_PIN GP1 | ||
#define SERIAL_USART_FULL_DUPLEX | ||
#define SERIAL_PIO_USE_PIO0 | ||
#define SPLIT_POINTING_ENABLE | ||
#define POINTING_DEVICE_AUTO_MOUSE_MH_ENABLE |
Oops, something went wrong.