Browse Source

left and right configs

master
Akshay 1 month ago
commit
5e4c753af4
11 changed files with 384 additions and 0 deletions
  1. +77
    -0
      test/backupinfojson
  2. +20
    -0
      test/config.h
  3. +75
    -0
      test/info.json
  4. +22
    -0
      test/keymaps/default/keymap.c
  5. +27
    -0
      test/readme.md
  6. +1
    -0
      test/rules.mk
  7. +20
    -0
      ts65/config.h
  8. +66
    -0
      ts65/info.json
  9. +48
    -0
      ts65/keymaps/default/keymap.c
  10. +27
    -0
      ts65/readme.md
  11. +1
    -0
      ts65/rules.mk

+ 77
- 0
test/backupinfojson View File

@ -0,0 +1,77 @@
{
"manufacturer": "0t0",
"keyboard_name": "test",
"maintainer": "0t0",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["GP12", "GP29", "GP28", "GP27", "GP26", "GP15", "GP14", "GP13"],
"rows": ["GP4", "GP5", "GP6", "GP7", "GP8"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT_all": {
"layout": [
{"label": "7", "matrix": [0, 0], "x": 9.25, "y": 0},
{"label": "8", "matrix": [0, 1], "x": 10.25, "y": 0},
{"label": "9", "matrix": [0, 2], "x": 11.25, "y": 0},
{"label": "0", "matrix": [0, 3], "x": 12.25, "y": 0},
{"label": "-", "matrix": [0, 4], "x": 13.25, "y": 0},
{"label": "=", "matrix": [0, 5], "x": 14.25, "y": 0},
{"label": "`", "matrix": [0, 6], "x": 15.25, "y": 0},
{"label": "Backspace", "matrix": [5, 7], "x": 16.25, "y": 0},
{"label": "Insert", "matrix": [5, 8], "x": 17.25, "y": 0},
{"label": "Y", "matrix": [1, 0], "x": 8.75, "y": 1},
{"label": "U", "matrix": [1, 1], "x": 9.75, "y": 1},
{"label": "I", "matrix": [1, 2], "x": 10.75, "y": 1},
{"label": "O", "matrix": [1, 3], "x": 11.75, "y": 1},
{"label": "P", "matrix": [1, 4], "x": 12.75, "y": 1},
{"label": "[", "matrix": [1, 5], "x": 13.75, "y": 1},
{"label": "]", "matrix": [1, 6], "x": 14.75, "y": 1},
{"label": "\\", "matrix": [1, 7], "x": 15.75, "y": 1, "w": 1.5},
{"label": "Delete", "matrix": [1, 8], "x": 17.25, "y": 1},
{"label": "H", "matrix": [2, 0], "x": 9, "y": 2},
{"label": "J", "matrix": [2, 1], "x": 10, "y": 2},
{"label": "K", "matrix": [2, 2], "x": 11, "y": 2},
{"label": "L", "matrix": [2, 3], "x": 12, "y": 2},
{"label": ";", "matrix": [2, 4], "x": 13, "y": 2},
{"label": "'", "matrix": [2, 5], "x": 14, "y": 2},
{"label": "Enter", "matrix": [2, 7], "x": 15, "y": 2, "w": 2.25},
{"label": "Home", "matrix": [2, 8], "x": 17.25, "y": 2},
{"label": "N", "matrix": [3, 0], "x": 9.5, "y": 3},
{"label": "M", "matrix": [3, 1], "x": 10.5, "y": 3},
{"label": ",", "matrix": [3, 2], "x": 11.5, "y": 3},
{"label": ".", "matrix": [3, 3], "x": 12.5, "y": 3},
{"label": "/", "matrix": [3, 4], "x": 13.5, "y": 3},
{"label": "Shift", "matrix": [3, 5], "x": 14.5, "y": 3, "w": 1.75},
{"label": "\u2191", "matrix": [3, 7], "x": 16.25, "y": 3},
{"label": "End", "matrix": [3, 8], "x": 17.25, "y": 3},
{"label": "Space", "matrix": [4, 0], "x": 8.75, "y": 4, "w": 2.25},
{"label": "Alt", "matrix": [4, 2], "x": 11, "y": 4, "w": 1.25},
{"label": "GUI", "matrix": [4, 3], "x": 12.25, "y": 4, "w": 1.25},
{"label": "Ctrl", "matrix": [4, 4], "x": 13.5, "y": 4, "w": 1.25},
{"label": "\u2190", "matrix": [4, 5], "x": 15.25, "y": 4},
{"label": "\u2193", "matrix": [4, 7], "x": 16.25, "y": 4},
{"label": "\u2192", "matrix": [4, 8], "x": 17.25, "y": 4}
]
}
}
}

+ 20
- 0
test/config.h View File

@ -0,0 +1,20 @@
// Copyright 2024 0t0 (@0t0)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

+ 75
- 0
test/info.json View File

@ -0,0 +1,75 @@
{
"manufacturer": "0t0",
"keyboard_name": "test",
"maintainer": "0t0",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["GP29", "GP28", "GP27", "GP26", "GP15", "GP14", "GP13", "GP12", "GP11"],
"rows": ["GP4", "GP5", "GP6", "GP7", "GP8"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT": {
"layout": [
{"label":"&", "matrix": [0, 0], "x":1, "y":0},
{"label":"*", "matrix": [0, 1], "x":2, "y":0},
{"label":"(", "matrix": [0, 2], "x":3, "y":0},
{"label":")", "matrix": [0, 3], "x":4, "y":0},
{"label":"_", "matrix": [0, 4], "x":5, "y":0},
{"label":"+", "matrix": [0, 5], "x":6, "y":0},
{"label":"Backspace", "matrix": [0, 6], "x":7, "y":0, "w":2},
{"label":"Home", "matrix": [0, 7], "x":9, "y":0},
{"label":"Y", "matrix": [1, 0], "x":0.5, "y":1},
{"label":"U", "matrix": [1, 1], "x":1.5, "y":1},
{"label":"I", "matrix": [1, 2], "x":2.5, "y":1},
{"label":"O", "matrix": [1, 3], "x":3.5, "y":1},
{"label":"P", "matrix": [1, 4], "x":4.5, "y":1},
{"label":"{", "matrix": [1, 5], "x":5.5, "y":1},
{"label":"}", "matrix": [1, 6], "x":6.5, "y":1},
{"label":"|", "matrix": [1, 7], "x":7.5, "y":1, "w":1.5},
{"label":"End", "matrix": [1, 8], "x":9, "y":1},
{"label":"H", "matrix": [2, 0], "x":0.75, "y":2},
{"label":"J", "matrix": [2, 1], "x":1.75, "y":2},
{"label":"K", "matrix": [2, 2], "x":2.75, "y":2},
{"label":"L", "matrix": [2, 3], "x":3.75, "y":2},
{"label":":", "matrix": [2, 4], "x":4.75, "y":2},
{"label":"\"", "matrix": [2, 5], "x":5.75, "y":2},
{"label":"Enter", "matrix": [2, 7], "x":6.75, "y":2, "w":2.25},
{"label":"Page Up", "matrix": [2, 8], "x":9, "y":2},
{"label":"N", "matrix": [3, 0], "x":1.25, "y":3},
{"label":"M", "matrix": [3, 1], "x":2.25, "y":3},
{"label":"<", "matrix": [3, 2], "x":3.25, "y":3},
{"label":">", "matrix": [3, 3], "x":4.25, "y":3},
{"label":"?", "matrix": [3, 4], "x":5.25, "y":3},
{"label":"Shift", "matrix": [3, 5], "x":6.25, "y":3, "w":1.75},
{"label":"\u2191", "matrix": [3, 7], "x":8, "y":3},
{"label":"Page Down", "matrix": [3, 8], "x":9, "y":3},
{ "matrix": [4, 0], "x":1.35, "y":4, "w":2.75},
{"label":"Alt", "matrix": [4, 1], "x":4.1, "y":4, "w":1.25},
{"label":"Ctrl", "matrix": [4, 2], "x":5.35, "y":4, "w":1.25},
{"label":"\u2190", "matrix": [4, 3], "x":7.0, "y":4},
{"label":"\u2193", "matrix": [4, 4], "x":8.0, "y":4},
{"label":"\u2192", "matrix": [4, 5], "x":9.0, "y":4}
]
}
}
}

+ 22
- 0
test/keymaps/default/keymap.c View File

@ -0,0 +1,22 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
//LT(1,KC_SPC), KC_RALT, KC_LGUI, KC_LEFT, KC_DOWN, KC_RGHT
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME,
KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END,
KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
KC_A, KC_RALT, KC_B, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT(
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MRWD, KC_VOLD, KC_MFFD
)
};

+ 27
- 0
test/readme.md View File

@ -0,0 +1,27 @@
# test
![test](imgur.com image replace me!)
*A short description of the keyboard/project*
* Keyboard Maintainer: [0t0](https://github.com/0t0)
* Hardware Supported: *The PCBs, controllers supported*
* Hardware Availability: *Links to where you can find this hardware*
Make example for this keyboard (after setting up your build environment):
make test:default
Flashing example for this keyboard:
make test: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
Enter the bootloader in 3 ways:
* **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
- 0
test/rules.mk View File

@ -0,0 +1 @@
# This file intentionally left blank

+ 20
- 0
ts65/config.h View File

@ -0,0 +1,20 @@
// Copyright 2024 Akshay (@0t0x)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

+ 66
- 0
ts65/info.json View File

@ -0,0 +1,66 @@
{
"manufacturer": "Akshay",
"keyboard_name": "ts65",
"maintainer": "0t0x",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2", "C2"],
"rows": ["D1", "D1", "D1", "D1", "D1"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT_left_iso": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2},
{"matrix": [2, 2], "x": 2.75, "y": 2},
{"matrix": [2, 3], "x": 3.75, "y": 2},
{"matrix": [2, 4], "x": 4.75, "y": 2},
{"matrix": [2, 5], "x": 5.75, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"matrix": [3, 1], "x": 2.25, "y": 3},
{"matrix": [3, 2], "x": 3.25, "y": 3},
{"matrix": [3, 3], "x": 4.25, "y": 3},
{"matrix": [3, 4], "x": 5.25, "y": 3},
{"matrix": [3, 5], "x": 6.25, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.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.25},
]
}
}
}

+ 48
- 0
ts65/keymaps/default/keymap.c View File

@ -0,0 +1,48 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* Esc 1 2 3 4 5 6 7 8 9 0 - = BackspHom
*
* Tab Q W E R T Y U I O P [ ] PgU
* Ent
* Caps A S D F G H J K L ; ' # PgD
*
* Shft \ Z X C V B N M , . / Shift End
*
* CtrlGUI Alt Alt FnCtl
*
*/
[0] = LAYOUT_left_iso(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G,
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC,
),
/*
*
* ` F1 F2 F3 F4 F5 F6 F7 F8 F9 F10F11F12 Delete
*
* Ins PScScr
*
* Pau
*
* MutVl-Vl+
*
*
*
*/
[1] = LAYOUT_left_iso(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______,
)
};

+ 27
- 0
ts65/readme.md View File

@ -0,0 +1,27 @@
# ts65
![ts65](imgur.com image replace me!)
*A short description of the keyboard/project*
* Keyboard Maintainer: [Akshay](https://github.com/0t0x)
* Hardware Supported: *The PCBs, controllers supported*
* Hardware Availability: *Links to where you can find this hardware*
Make example for this keyboard (after setting up your build environment):
make ts65:default
Flashing example for this keyboard:
make ts65: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
Enter the bootloader in 3 ways:
* **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
- 0
ts65/rules.mk View File

@ -0,0 +1 @@
# This file intentionally left blank

Loading…
Cancel
Save