Browse Source

Whynot left keyboard bindings

master
akshay 2 years ago
commit
d066b529e4
  1. 20
      config.h
  2. 66
      info.json
  3. 23
      keymaps/default/keymap.c
  4. 27
      readme.md
  5. 1
      rules.mk

20
config.h

@ -0,0 +1,20 @@
// Copyright 2024 akshay (@akshay)
// 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
info.json

@ -0,0 +1,66 @@
{
"manufacturer": "akshay",
"keyboard_name": "whynot_l",
"maintainer": "akshay",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["GP10", "GP9", "GP8", "GP7", "GP6", "GP5", "GP28"],
"rows": ["GP26","GP15", "GP13", "GP11", "GP12"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT": {
"layout": [
{"label":"1", "matrix": [0, 0], "x": 0, "y": 0},
{"label":"2", "matrix": [0, 1], "x": 1, "y": 0},
{"label":"3", "matrix": [0, 2], "x": 2, "y": 0},
{"label":"4", "matrix": [0, 3], "x": 3, "y": 0},
{"label":"5", "matrix": [0, 4], "x": 4, "y": 0},
{"label":"6", "matrix": [0, 5], "x": 5, "y": 0},
{"label":"7", "matrix": [0, 6], "x": 6, "y": 0},
{"label":"Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"label":"q", "matrix": [1, 2], "x": 1.5, "y": 1},
{"label":"w", "matrix": [1, 3], "x": 2.5, "y": 1},
{"label":"e", "matrix": [1, 4], "x": 3.5, "y": 1},
{"label":"r", "matrix": [1, 5], "x": 4.5, "y": 1},
{"label":"t", "matrix": [1, 6], "x": 5.5, "y": 1},
{"label":"a", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"label":"s", "matrix": [2, 2], "x": 1.75, "y": 2},
{"label":"d", "matrix": [2, 3], "x": 2.75, "y": 2},
{"label":"f", "matrix": [2, 4], "x": 3.75, "y": 2},
{"label":"g", "matrix": [2, 5], "x": 4.75, "y": 2},
{"label":"h", "matrix": [2, 6], "x": 5.75, "y": 2},
{"label":"Shift", "matrix": [3, 1], "x": 0, "y": 3, "w": 2.25},
{"label":"z", "matrix": [3, 2], "x": 2.25, "y": 3},
{"label":"x", "matrix": [3, 3], "x": 3.25, "y": 3},
{"label":"c", "matrix": [3, 4], "x": 4.25, "y": 3},
{"label":"v", "matrix": [3, 5], "x": 5.25, "y": 3},
{"label":"b", "matrix": [3, 6], "x": 6.25, "y": 3},
{"label":"Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
{"label":"Atl", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
{ "matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.25},
{ "matrix": [4, 4], "x": 3.75, "y": 4, "w": 1.25},
{ "matrix": [4, 6], "x": 5, "y": 4, "w": 2.25}
]
}
}
}

23
keymaps/default/keymap.c

@ -0,0 +1,23 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT (
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_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
KC_LCTL, LT(1,KC_LGUI), KC_LALT, KC_LGUI, LT(1,KC_SPC)
),
[1] = LAYOUT (
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, KC_PGDN, _______,
_______, KC_MPRV, KC_MPLY, KC_STOP, KC_MNXT, KC_PGUP,
_______, _______, _______, _______, _______
)
};

27
readme.md

@ -0,0 +1,27 @@
# whynot_l
![whynot_l](imgur.com image replace me!)
*A short description of the keyboard/project*
* Keyboard Maintainer: [akshay](https://github.com/akshay)
* 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 whynot_l:default
Flashing example for this keyboard:
make whynot_l: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
rules.mk

@ -0,0 +1 @@
# This file intentionally left blank
Loading…
Cancel
Save