forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
189 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright 2023 dotleon (@dotleon) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
// #define VIAL_KEYBOARD_UID {0x96, 0x6A, 0xD2, 0x07, 0x7E, 0x9D, 0x25, 0x4A} | ||
// #define VIAL_UNLOCK_COMBO_ROWS { 4, 2 } | ||
// #define VIAL_UNLOCK_COMBO_COLS { 0, 9 } | ||
|
||
/* | ||
* 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 |
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,66 @@ | ||
{ | ||
"manufacturer": "dotleon", | ||
"keyboard_name": "cheapis", | ||
"maintainer": "dotleon", | ||
"bootloader": "caterina", | ||
"diode_direction": "COL2ROW", | ||
"features": { | ||
"bootmagic": true, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true | ||
}, | ||
"matrix_pins": { | ||
"cols": ["F4","F5","F6","F7","B1","D7","C6","D4","D0","D1"], | ||
"rows": ["E6", "B4", "B5", "D2", "B3", "B2", "B6"] | ||
}, | ||
"processor": "atmega32u4", | ||
"url": "", | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x0000", | ||
"vid": "0xFEED" | ||
}, | ||
"layouts": { | ||
"LAYOUT_ortho_3x10_4": { | ||
"layout": [ | ||
{ "matrix": [4, 0], "x": 0, "y": 0 }, | ||
{ "matrix": [4, 1], "x": 1, "y": 0 }, | ||
{ "matrix": [4, 2], "x": 2, "y": 0 }, | ||
{ "matrix": [4, 3], "x": 3, "y": 0 }, | ||
{ "matrix": [4, 4], "x": 4, "y": 0 }, | ||
{ "matrix": [0, 5], "x": 5, "y": 0 }, | ||
{ "matrix": [0, 6], "x": 6, "y": 0 }, | ||
{ "matrix": [0, 7], "x": 7, "y": 0 }, | ||
{ "matrix": [0, 8], "x": 8, "y": 0 }, | ||
{ "matrix": [0, 9], "x": 9, "y": 0 }, | ||
{ "matrix": [5, 0], "x": 0, "y": 1 }, | ||
{ "matrix": [5, 1], "x": 1, "y": 1 }, | ||
{ "matrix": [5, 2], "x": 2, "y": 1 }, | ||
{ "matrix": [5, 3], "x": 3, "y": 1 }, | ||
{ "matrix": [5, 4], "x": 4, "y": 1 }, | ||
{ "matrix": [1, 5], "x": 5, "y": 1 }, | ||
{ "matrix": [1, 6], "x": 6, "y": 1 }, | ||
{ "matrix": [1, 7], "x": 7, "y": 1 }, | ||
{ "matrix": [1, 8], "x": 8, "y": 1 }, | ||
{ "matrix": [1, 9], "x": 9, "y": 1 }, | ||
{ "matrix": [6, 0], "x": 0, "y": 2 }, | ||
{ "matrix": [6, 1], "x": 1, "y": 2 }, | ||
{ "matrix": [6, 2], "x": 2, "y": 2 }, | ||
{ "matrix": [6, 3], "x": 3, "y": 2 }, | ||
{ "matrix": [6, 4], "x": 4, "y": 2 }, | ||
{ "matrix": [2, 5], "x": 5, "y": 2 }, | ||
{ "matrix": [2, 6], "x": 6, "y": 2 }, | ||
{ "matrix": [2, 7], "x": 7, "y": 2 }, | ||
{ "matrix": [2, 8], "x": 8, "y": 2 }, | ||
{ "matrix": [2, 9], "x": 9, "y": 2 }, | ||
{ "matrix": [3, 3], "x": 3, "y": 3 }, | ||
{ "matrix": [3, 4], "x": 4, "y": 3 }, | ||
{ "matrix": [3, 5], "x": 5, "y": 3 }, | ||
{ "matrix": [3, 6], "x": 6, "y": 3 } | ||
] | ||
} | ||
} | ||
} |
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,46 @@ | ||
#include QMK_KEYBOARD_H | ||
|
||
enum layer_names { | ||
_1, | ||
_2, | ||
_3, | ||
_4 | ||
}; | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
/* | ||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ | ||
* └───┴───┴───┼───┼───┼───┼───┼───┴───┴───┘ | ||
* │ D │ E │ F │ G │ | ||
* └───┴───┴───┴───┘ | ||
*/ | ||
[_1] = LAYOUT_ortho_3x10_4( | ||
KC_Q ,KC_W ,KC_E ,KC_R ,KC_T ,KC_Y ,KC_U ,KC_I ,KC_O ,KC_P , | ||
KC_A ,KC_S ,KC_D ,KC_F ,KC_G ,KC_H ,KC_J ,KC_K ,KC_L ,KC_5 , | ||
KC_Z ,KC_X ,KC_C ,KC_V ,KC_B ,KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_6 , | ||
KC_1 ,KC_2 ,KC_3 ,KC_4 | ||
), | ||
[_2] = LAYOUT_ortho_3x10_4( | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______ ,_______,_______ | ||
), | ||
[_3] = LAYOUT_ortho_3x10_4( | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______ ,_______,_______ | ||
), | ||
[_4] = LAYOUT( | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______,_______,_______,_______ ,_______,_______,_______,_______,_______, | ||
_______,_______ ,_______,_______ | ||
) | ||
}; |
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,4 @@ | ||
VIA_ENABLE = yes | ||
# VIAL_ENABLE = yes | ||
MOUSEKEY_ENABLE = no | ||
LTO_ENABLE = yes |
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,21 @@ | ||
#include QMK_KEYBOARD_H | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
/* | ||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ | ||
* └───┴───┴───┼───┼───┼───┼───┼───┴───┴───┘ | ||
* │ D │ E │ F │ G │ | ||
* └───┴───┴───┴───┘ | ||
*/ | ||
[0] = LAYOUT_ortho_3x10_4( | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, | ||
KC_D, KC_E, KC_F, KC_G | ||
) | ||
}; |
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,27 @@ | ||
# cheapis | ||
|
||
 | ||
|
||
*A short description of the keyboard/project* | ||
|
||
* Keyboard Maintainer: [dotleon](https://github.com/dotleon), [Arda Kilicdagi](https://github.com/ardakilic) | ||
* Hardware Supported: Pro micro and compatible MCUs | ||
* Hardware Availability: https://github.com/dotleon/cheapis | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make cheapis:default | ||
|
||
Flashing example for this keyboard: | ||
|
||
make cheapis: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 |
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 @@ | ||
# This file intentionally left blank |