Browse Source

Whynot right keyboard bindings

master
akshay 2 years ago
commit
d94d7708cb
  1. 20
      config.h
  2. 75
      info.json
  3. 22
      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

75
info.json

@ -0,0 +1,75 @@
{
"manufacturer": "akshay",
"keyboard_name": "whynot_r",
"maintainer": "akshay",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["GP4", "GP28", "GP27", "GP26", "GP15", "GP14", "GP13", "GP12", "GP11"],
"rows": ["GP3", "GP5", "GP9", "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, 7], "x":7, "y":0, "w":2},
{"label":"Home", "matrix": [0, 8], "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, 6], "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, 6], "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, 1], "x":1.35, "y":4, "w":2.75},
{"label":"Alt", "matrix": [4, 3], "x":4.1, "y":4, "w":1.25},
{"label":"Ctrl", "matrix": [4, 4], "x":5.35, "y":4, "w":1.25},
{"label":"\u2190", "matrix": [4, 6], "x":7.0, "y":4},
{"label":"\u2193", "matrix": [4, 7], "x":8.0, "y":4},
{"label":"\u2192", "matrix": [4, 8], "x":9.0, "y":4}
]
}
}
}

22
keymaps/default/keymap.c

@ -0,0 +1,22 @@
// 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_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,
LT(1,KC_SPC), KC_RALT, KC_RGUI, 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_INS, 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_MRWD, KC_MFFD, KC_TRNS, KC_TRNS, KC_VOLU, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MRWD, KC_VOLD, KC_MFFD
)
};

27
readme.md

@ -0,0 +1,27 @@
# whynot_r
![whynot_r](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_r:default
Flashing example for this keyboard:
make whynot_r: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