Han60 Refactor (#18819)

* info.json: apply friendly formatting

* han60.h: add matrix diagram

* han60.h: tidy file

- remove trailing whitespace
- use four-space indent

* info.json: remove key overlaps from LAYOUT_all rendering

* rename LAYOUT_tsangan to LAYOUT_60_ansi_tsangan

* rename LAYOUT_tsangan_arrowkeys to LAYOUT_60_ansi_arrow_tsangan

* refactor LAYOUT_tsangan_iso into LAYOUT_60_iso_tsangan

Moves position `K2C` (Enter) to the home row.

* refactor LAYOUT_tsangan_iso_arrowkeys into LAYOUT_60_iso_arrow_tsangan

Moves position `K2C` (Enter) to the home row.

* refactor default keymap

- use four-space indent
- use QMK-native keycode aliases
- grid-align keycodes

* bugfix layout macros

* add reference keymaps
master
James Young 2022-10-23 06:33:25 -07:00 committed by GitHub
parent 9248a04e17
commit 64e8441910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 554 additions and 377 deletions

View File

@ -29,75 +29,91 @@
#define XXX KC_NO #define XXX KC_NO
/*
*
* 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 2D 0D 2u Backspace
*
* 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D
* 2.25u 2C ISO Enter
* LShift 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 1D
*
* 30 30 40 31 32 33 34 35 36 37 38 39 3A 3B 3B 3D 4D 1.75u/1u/1u
*
* 41 42 43 44 47 49 4B Tsangan/WKL
*
*
* 41 42 43 44 47 48 4A 4C Arrow
*
*/
#define LAYOUT_all( \ #define LAYOUT_all( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K2D, \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K2D, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \
K30, K40, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K4D, \ K30, K40, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K4D, \
K41, K42, K43, K44, K47, K48, K49, K4A, K4B, K4C \ K41, K42, K43, K44, K47, K48, K49, K4A, K4B, K4C \
) { \ ) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D }, \ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D }, \
{ K40, K41, K42, K43, K44, XXX, XXX, K47, K48, K49, K4A, K4B, K4C, K4D } \ { K40, K41, K42, K43, K44, XXX, XXX, K47, K48, K49, K4A, K4B, K4C, K4D } \
} }
#define LAYOUT_tsangan( \ #define LAYOUT_60_ansi_tsangan( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \
K41, K42, K43, K44, K47, K49, K4B \ K41, K42, K43, K44, K47, K49, K4B \
) { \ ) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, XXX }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, XXX }, \ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, XXX }, \
{ XXX, K41, K42, K43, K44, XXX, XXX, K47, XXX, K49, XXX, K4B, XXX, XXX } \ { XXX, K41, K42, K43, K44, XXX, XXX, K47, XXX, K49, XXX, K4B, XXX, XXX } \
} }
#define LAYOUT_tsangan_arrowkeys( \ #define LAYOUT_60_ansi_arrow_tsangan( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3B, K3D, K4D, \ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3B, K3D, K4D, \
K41, K42, K43, K44, K47, K48, K4A, K4C \ K41, K42, K43, K44, K47, K48, K4A, K4C \
) { \ ) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, XXX }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, XXX, K3B, XXX, K3D }, \ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, XXX, K3B, XXX, K3D }, \
{ XXX, K41, K42, K43, K44, XXX, XXX, K47, K48, XXX, K4A, XXX, K4C, K4D } \ { XXX, K41, K42, K43, K44, XXX, XXX, K47, K48, XXX, K4A, XXX, K4C, K4D } \
} }
#define LAYOUT_tsangan_iso( \ #define LAYOUT_60_iso_tsangan( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2C, \ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K1D, \ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K1D, K2C, \
K30, K40, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \ K30, K40, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \
K41, K42, K43, K44, K47, K49, K4B \ K41, K42, K43, K44, K47, K49, K4B \
) { \ ) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, XXX }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, XXX }, \ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, XXX }, \
{ K40, K41, K42, K43, K44, XXX, XXX, K47, XXX, K49, XXX, K4B, XXX, XXX } \ { K40, K41, K42, K43, K44, XXX, XXX, K47, XXX, K49, XXX, K4B, XXX, XXX } \
} }
#define LAYOUT_tsangan_iso_arrowkeys( \ #define LAYOUT_60_iso_arrow_tsangan( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2C, \ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K1D, \ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K1D, K2C, \
K30, K40, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3B, K3D, K4D, \ K30, K40, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3B, K3D, K4D, \
K41, K42, K43, K44, K47, K48, K4A, K4C \ K41, K42, K43, K44, K47, K48, K4A, K4C \
) { \ ) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, XXX }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, XXX, K3B, XXX, K3D }, \ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, XXX, K3B, XXX, K3D }, \
{ K40, K41, K42, K43, K44, XXX, XXX, K47, K48, XXX, K4A, XXX, K4C, K4D } \ { K40, K41, K42, K43, K44, XXX, XXX, K47, K48, XXX, K4A, XXX, K4C, K4D } \
} }

View File

@ -8,338 +8,362 @@
"pid": "0xFB60", "pid": "0xFB60",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"layout_aliases": {
"LAYOUT_tsangan": "LAYOUT_60_ansi_tsangan",
"LAYOUT_tsangan_arrowkeys": "LAYOUT_60_ansi_arrow_tsangan"
},
"layouts": { "layouts": {
"LAYOUT_all": { "LAYOUT_all": {
"layout": [ "layout": [
{ "x": 0, "y": 0 }, {"x":0, "y":0},
{ "x": 1, "y": 0 }, {"x":1, "y":0},
{ "x": 2, "y": 0 }, {"x":2, "y":0},
{ "x": 3, "y": 0 }, {"x":3, "y":0},
{ "x": 4, "y": 0 }, {"x":4, "y":0},
{ "x": 5, "y": 0 }, {"x":5, "y":0},
{ "x": 6, "y": 0 }, {"x":6, "y":0},
{ "x": 7, "y": 0 }, {"x":7, "y":0},
{ "x": 8, "y": 0 }, {"x":8, "y":0},
{ "x": 9, "y": 0 }, {"x":9, "y":0},
{ "x": 10, "y": 0 }, {"x":10, "y":0},
{ "x": 11, "y": 0 }, {"x":11, "y":0},
{ "x": 12, "y": 0 }, {"x":12, "y":0},
{ "x": 13, "y": 0 }, {"x":13, "y":0},
{ "x": 14, "y": 0 }, {"x":14, "y":0},
{ "w": 1.5, "x": 0, "y": 1 },
{ "x": 1.5, "y": 1 }, {"x":0, "y":1, "w":1.5},
{ "x": 2.5, "y": 1 }, {"x":1.5, "y":1},
{ "x": 3.5, "y": 1 }, {"x":2.5, "y":1},
{ "x": 4.5, "y": 1 }, {"x":3.5, "y":1},
{ "x": 5.5, "y": 1 }, {"x":4.5, "y":1},
{ "x": 6.5, "y": 1 }, {"x":5.5, "y":1},
{ "x": 7.5, "y": 1 }, {"x":6.5, "y":1},
{ "x": 8.5, "y": 1 }, {"x":7.5, "y":1},
{ "x": 9.5, "y": 1 }, {"x":8.5, "y":1},
{ "x": 10.5, "y": 1 }, {"x":9.5, "y":1},
{ "x": 11.5, "y": 1 }, {"x":10.5, "y":1},
{ "x": 12.5, "y": 1 }, {"x":11.5, "y":1},
{ "w": 1.5, "x": 13.5, "y": 1 }, {"x":12.5, "y":1},
{ "w": 1.75, "x": 0, "y": 2 }, {"x":13.5, "y":1, "w":1.5},
{ "x": 1.75, "y": 2 },
{ "x": 2.75, "y": 2 }, {"x":0, "y":2, "w":1.75},
{ "x": 3.75, "y": 2 }, {"x":1.75, "y":2},
{ "x": 4.75, "y": 2 }, {"x":2.75, "y":2},
{ "x": 5.75, "y": 2 }, {"x":3.75, "y":2},
{ "x": 6.75, "y": 2 }, {"x":4.75, "y":2},
{ "x": 7.75, "y": 2 }, {"x":5.75, "y":2},
{ "x": 8.75, "y": 2 }, {"x":6.75, "y":2},
{ "x": 9.75, "y": 2 }, {"x":7.75, "y":2},
{ "x": 10.75, "y": 2 }, {"x":8.75, "y":2},
{ "x": 11.75, "y": 2 }, {"x":9.75, "y":2},
{ "w": 2.25, "x": 12.75, "y": 2 }, {"x":10.75, "y":2},
{ "w": 1.25, "x": 0, "y": 3 }, {"x":11.75, "y":2},
{ "x": 1.25, "y": 3 }, {"x":12.75, "y":2, "w":2.25},
{ "x": 2.25, "y": 3 },
{ "x": 3.25, "y": 3 }, {"x":0, "y":3, "w":1.25},
{ "x": 4.25, "y": 3 }, {"x":1.25, "y":3},
{ "x": 5.25, "y": 3 }, {"x":2.25, "y":3},
{ "x": 6.25, "y": 3 }, {"x":3.25, "y":3},
{ "x": 7.25, "y": 3 }, {"x":4.25, "y":3},
{ "x": 8.25, "y": 3 }, {"x":5.25, "y":3},
{ "x": 9.25, "y": 3 }, {"x":6.25, "y":3},
{ "x": 10.25, "y": 3 }, {"x":7.25, "y":3},
{ "x": 11.25, "y": 3 }, {"x":8.25, "y":3},
{ "w": 1.75, "x": 11.25, "y": 3 }, {"x":9.25, "y":3},
{ "x": 13, "y": 3 }, {"x":10.25, "y":3},
{ "x": 14, "y": 3 }, {"x":11.25, "y":3},
{ "w": 1.5, "x": 0, "y": 4 }, {"x":12.25, "y":3, "w":0.75},
{ "x": 1.5, "y": 4 }, {"x":13, "y":3},
{ "w": 1.5, "x": 2.5, "y": 4 }, {"x":14, "y":3},
{ "w": 7, "x": 4, "y": 4 },
{ "x": 11, "y": 4 }, {"x":0, "y":4, "w":1.5},
{ "x": 12, "y": 4 }, {"x":1.5, "y":4},
{ "x": 12.5, "y": 4 }, {"x":2.5, "y":4, "w":1.5},
{ "x": 13, "y": 4 }, {"x":4, "y":4, "w":7},
{ "w": 1.5, "x": 13.5, "y": 4 }, {"x":11, "y":4},
{ "x": 14, "y": 4 } {"x":12, "y":4, "w":0.6},
{"x":12.6, "y":4, "w":0.6},
{"x":13.2, "y":4, "w":0.6},
{"x":13.8, "y":4, "w":0.6},
{"x":14.4, "y":4, "w":0.6}
] ]
}, },
"LAYOUT_tsangan": { "LAYOUT_60_ansi_tsangan": {
"layout": [ "layout": [
{ "x": 0, "y": 0 }, {"x":0, "y":0},
{ "x": 1, "y": 0 }, {"x":1, "y":0},
{ "x": 2, "y": 0 }, {"x":2, "y":0},
{ "x": 3, "y": 0 }, {"x":3, "y":0},
{ "x": 4, "y": 0 }, {"x":4, "y":0},
{ "x": 5, "y": 0 }, {"x":5, "y":0},
{ "x": 6, "y": 0 }, {"x":6, "y":0},
{ "x": 7, "y": 0 }, {"x":7, "y":0},
{ "x": 8, "y": 0 }, {"x":8, "y":0},
{ "x": 9, "y": 0 }, {"x":9, "y":0},
{ "x": 10, "y": 0 }, {"x":10, "y":0},
{ "x": 11, "y": 0 }, {"x":11, "y":0},
{ "x": 12, "y": 0 }, {"x":12, "y":0},
{ "w": 2, "x": 13, "y": 0 }, {"x":13, "y":0, "w":2},
{ "w": 1.5, "x": 0, "y": 1 },
{ "x": 1.5, "y": 1 }, {"x":0, "y":1, "w":1.5},
{ "x": 2.5, "y": 1 }, {"x":1.5, "y":1},
{ "x": 3.5, "y": 1 }, {"x":2.5, "y":1},
{ "x": 4.5, "y": 1 }, {"x":3.5, "y":1},
{ "x": 5.5, "y": 1 }, {"x":4.5, "y":1},
{ "x": 6.5, "y": 1 }, {"x":5.5, "y":1},
{ "x": 7.5, "y": 1 }, {"x":6.5, "y":1},
{ "x": 8.5, "y": 1 }, {"x":7.5, "y":1},
{ "x": 9.5, "y": 1 }, {"x":8.5, "y":1},
{ "x": 10.5, "y": 1 }, {"x":9.5, "y":1},
{ "x": 11.5, "y": 1 }, {"x":10.5, "y":1},
{ "x": 12.5, "y": 1 }, {"x":11.5, "y":1},
{ "w": 1.5, "x": 13.5, "y": 1 }, {"x":12.5, "y":1},
{ "w": 1.75, "x": 0, "y": 2 }, {"x":13.5, "y":1, "w":1.5},
{ "x": 1.75, "y": 2 },
{ "x": 2.75, "y": 2 }, {"x":0, "y":2, "w":1.75},
{ "x": 3.75, "y": 2 }, {"x":1.75, "y":2},
{ "x": 4.75, "y": 2 }, {"x":2.75, "y":2},
{ "x": 5.75, "y": 2 }, {"x":3.75, "y":2},
{ "x": 6.75, "y": 2 }, {"x":4.75, "y":2},
{ "x": 7.75, "y": 2 }, {"x":5.75, "y":2},
{ "x": 8.75, "y": 2 }, {"x":6.75, "y":2},
{ "x": 9.75, "y": 2 }, {"x":7.75, "y":2},
{ "x": 10.75, "y": 2 }, {"x":8.75, "y":2},
{ "x": 11.75, "y": 2 }, {"x":9.75, "y":2},
{ "w": 2.25, "x": 12.75, "y": 2 }, {"x":10.75, "y":2},
{ "w": 2.25, "x": 0, "y": 3 }, {"x":11.75, "y":2},
{ "x": 2.25, "y": 3 }, {"x":12.75, "y":2, "w":2.25},
{ "x": 3.25, "y": 3 },
{ "x": 4.25, "y": 3 }, {"x":0, "y":3, "w":2.25},
{ "x": 5.25, "y": 3 }, {"x":2.25, "y":3},
{ "x": 6.25, "y": 3 }, {"x":3.25, "y":3},
{ "x": 7.25, "y": 3 }, {"x":4.25, "y":3},
{ "x": 8.25, "y": 3 }, {"x":5.25, "y":3},
{ "x": 9.25, "y": 3 }, {"x":6.25, "y":3},
{ "x": 10.25, "y": 3 }, {"x":7.25, "y":3},
{ "x": 11.25, "y": 3 }, {"x":8.25, "y":3},
{ "w": 2.75, "x": 12.25, "y": 3 }, {"x":9.25, "y":3},
{ "w": 1.5, "x": 0, "y": 4 }, {"x":10.25, "y":3},
{ "x": 1.5, "y": 4 }, {"x":11.25, "y":3},
{ "w": 1.5, "x": 2.5, "y": 4 }, {"x":12.25, "y":3, "w":2.75},
{ "w": 7, "x": 4, "y": 4 },
{ "w": 1.5, "x": 11, "y": 4 }, {"x":0, "y":4, "w":1.5},
{ "x": 12.5, "y": 4 }, {"x":1.5, "y":4},
{ "w": 1.5, "x": 13.5, "y": 4 } {"x":2.5, "y":4, "w":1.5},
{"x":4, "y":4, "w":7},
{"x":11, "y":4, "w":1.5},
{"x":12.5, "y":4},
{"x":13.5, "y":4, "w":1.5}
] ]
}, },
"LAYOUT_tsangan_arrowkeys": { "LAYOUT_60_ansi_arrow_tsangan": {
"layout": [ "layout": [
{ "x": 0, "y": 0 }, {"x":0, "y":0},
{ "x": 1, "y": 0 }, {"x":1, "y":0},
{ "x": 2, "y": 0 }, {"x":2, "y":0},
{ "x": 3, "y": 0 }, {"x":3, "y":0},
{ "x": 4, "y": 0 }, {"x":4, "y":0},
{ "x": 5, "y": 0 }, {"x":5, "y":0},
{ "x": 6, "y": 0 }, {"x":6, "y":0},
{ "x": 7, "y": 0 }, {"x":7, "y":0},
{ "x": 8, "y": 0 }, {"x":8, "y":0},
{ "x": 9, "y": 0 }, {"x":9, "y":0},
{ "x": 10, "y": 0 }, {"x":10, "y":0},
{ "x": 11, "y": 0 }, {"x":11, "y":0},
{ "x": 12, "y": 0 }, {"x":12, "y":0},
{ "w": 2, "x": 13, "y": 0 }, {"x":13, "y":0, "w":2},
{ "w": 1.5, "x": 0, "y": 1 },
{ "x": 1.5, "y": 1 }, {"x":0, "y":1, "w":1.5},
{ "x": 2.5, "y": 1 }, {"x":1.5, "y":1},
{ "x": 3.5, "y": 1 }, {"x":2.5, "y":1},
{ "x": 4.5, "y": 1 }, {"x":3.5, "y":1},
{ "x": 5.5, "y": 1 }, {"x":4.5, "y":1},
{ "x": 6.5, "y": 1 }, {"x":5.5, "y":1},
{ "x": 7.5, "y": 1 }, {"x":6.5, "y":1},
{ "x": 8.5, "y": 1 }, {"x":7.5, "y":1},
{ "x": 9.5, "y": 1 }, {"x":8.5, "y":1},
{ "x": 10.5, "y": 1 }, {"x":9.5, "y":1},
{ "x": 11.5, "y": 1 }, {"x":10.5, "y":1},
{ "x": 12.5, "y": 1 }, {"x":11.5, "y":1},
{ "w": 1.5, "x": 13.5, "y": 1 }, {"x":12.5, "y":1},
{ "w": 1.75, "x": 0, "y": 2 }, {"x":13.5, "y":1, "w":1.5},
{ "x": 1.75, "y": 2 },
{ "x": 2.75, "y": 2 }, {"x":0, "y":2, "w":1.75},
{ "x": 3.75, "y": 2 }, {"x":1.75, "y":2},
{ "x": 4.75, "y": 2 }, {"x":2.75, "y":2},
{ "x": 5.75, "y": 2 }, {"x":3.75, "y":2},
{ "x": 6.75, "y": 2 }, {"x":4.75, "y":2},
{ "x": 7.75, "y": 2 }, {"x":5.75, "y":2},
{ "x": 8.75, "y": 2 }, {"x":6.75, "y":2},
{ "x": 9.75, "y": 2 }, {"x":7.75, "y":2},
{ "x": 10.75, "y": 2 }, {"x":8.75, "y":2},
{ "x": 11.75, "y": 2 }, {"x":9.75, "y":2},
{ "w": 2.25, "x": 12.75, "y": 2 }, {"x":10.75, "y":2},
{ "w": 2.25, "x": 0, "y": 3 }, {"x":11.75, "y":2},
{ "x": 2.25, "y": 3 }, {"x":12.75, "y":2, "w":2.25},
{ "x": 3.25, "y": 3 },
{ "x": 4.25, "y": 3 }, {"x":0, "y":3, "w":2.25},
{ "x": 5.25, "y": 3 }, {"x":2.25, "y":3},
{ "x": 6.25, "y": 3 }, {"x":3.25, "y":3},
{ "x": 7.25, "y": 3 }, {"x":4.25, "y":3},
{ "x": 8.25, "y": 3 }, {"x":5.25, "y":3},
{ "x": 9.25, "y": 3 }, {"x":6.25, "y":3},
{ "x": 10.25, "y": 3 }, {"x":7.25, "y":3},
{ "w": 1.75, "x": 11.25, "y": 3 }, {"x":8.25, "y":3},
{ "x": 13, "y": 3 }, {"x":9.25, "y":3},
{ "x": 14, "y": 3 }, {"x":10.25, "y":3},
{ "w": 1.5, "x": 0, "y": 4 }, {"x":11.25, "y":3, "w":1.75},
{ "x": 1.5, "y": 4 }, {"x":13, "y":3},
{ "w": 1.5, "x": 2.5, "y": 4 }, {"x":14, "y":3},
{ "w": 7, "x": 4, "y": 4 },
{ "x": 11, "y": 4 }, {"x":0, "y":4, "w":1.5},
{ "x": 12, "y": 4 }, {"x":1.5, "y":4},
{ "x": 13, "y": 4 }, {"x":2.5, "y":4, "w":1.5},
{ "x": 14, "y": 4 } {"x":4, "y":4, "w":7},
{"x":11, "y":4},
{"x":12, "y":4},
{"x":13, "y":4},
{"x":14, "y":4}
] ]
}, },
"LAYOUT_tsangan_iso": { "LAYOUT_60_iso_tsangan": {
"layout": [ "layout": [
{ "x": 0, "y": 0 }, {"x":0, "y":0},
{ "x": 1, "y": 0 }, {"x":1, "y":0},
{ "x": 2, "y": 0 }, {"x":2, "y":0},
{ "x": 3, "y": 0 }, {"x":3, "y":0},
{ "x": 4, "y": 0 }, {"x":4, "y":0},
{ "x": 5, "y": 0 }, {"x":5, "y":0},
{ "x": 6, "y": 0 }, {"x":6, "y":0},
{ "x": 7, "y": 0 }, {"x":7, "y":0},
{ "x": 8, "y": 0 }, {"x":8, "y":0},
{ "x": 9, "y": 0 }, {"x":9, "y":0},
{ "x": 10, "y": 0 }, {"x":10, "y":0},
{ "x": 11, "y": 0 }, {"x":11, "y":0},
{ "x": 12, "y": 0 }, {"x":12, "y":0},
{ "w": 2, "x": 13, "y": 0 }, {"x":13, "y":0, "w":2},
{ "w": 1.5, "x": 0, "y": 1 },
{ "x": 1.5, "y": 1 }, {"x":0, "y":1, "w":1.5},
{ "x": 2.5, "y": 1 }, {"x":1.5, "y":1},
{ "x": 3.5, "y": 1 }, {"x":2.5, "y":1},
{ "x": 4.5, "y": 1 }, {"x":3.5, "y":1},
{ "x": 5.5, "y": 1 }, {"x":4.5, "y":1},
{ "x": 6.5, "y": 1 }, {"x":5.5, "y":1},
{ "x": 7.5, "y": 1 }, {"x":6.5, "y":1},
{ "x": 8.5, "y": 1 }, {"x":7.5, "y":1},
{ "x": 9.5, "y": 1 }, {"x":8.5, "y":1},
{ "x": 10.5, "y": 1 }, {"x":9.5, "y":1},
{ "x": 11.5, "y": 1 }, {"x":10.5, "y":1},
{ "x": 12.5, "y": 1 }, {"x":11.5, "y":1},
{ "h": 2, "w": 1.25, "x": 13.75, "y": 1 }, {"x":12.5, "y":1},
{ "w": 1.75, "x": 0, "y": 2 },
{ "x": 1.75, "y": 2 }, {"x":0, "y":2, "w":1.75},
{ "x": 2.75, "y": 2 }, {"x":1.75, "y":2},
{ "x": 3.75, "y": 2 }, {"x":2.75, "y":2},
{ "x": 4.75, "y": 2 }, {"x":3.75, "y":2},
{ "x": 5.75, "y": 2 }, {"x":4.75, "y":2},
{ "x": 6.75, "y": 2 }, {"x":5.75, "y":2},
{ "x": 7.75, "y": 2 }, {"x":6.75, "y":2},
{ "x": 8.75, "y": 2 }, {"x":7.75, "y":2},
{ "x": 9.75, "y": 2 }, {"x":8.75, "y":2},
{ "x": 10.75, "y": 2 }, {"x":9.75, "y":2},
{ "x": 11.75, "y": 2 }, {"x":10.75, "y":2},
{ "x": 12.75, "y": 2 }, {"x":11.75, "y":2},
{ "w": 1.25, "x": 0, "y": 3 }, {"x":12.75, "y":2},
{ "x": 1.25, "y": 3 }, {"x":13.75, "y":1, "w":1.25, "h":2},
{ "x": 2.25, "y": 3 },
{ "x": 3.25, "y": 3 }, {"x":0, "y":3, "w":1.25},
{ "x": 4.25, "y": 3 }, {"x":1.25, "y":3},
{ "x": 5.25, "y": 3 }, {"x":2.25, "y":3},
{ "x": 6.25, "y": 3 }, {"x":3.25, "y":3},
{ "x": 7.25, "y": 3 }, {"x":4.25, "y":3},
{ "x": 8.25, "y": 3 }, {"x":5.25, "y":3},
{ "x": 9.25, "y": 3 }, {"x":6.25, "y":3},
{ "x": 10.25, "y": 3 }, {"x":7.25, "y":3},
{ "x": 11.25, "y": 3 }, {"x":8.25, "y":3},
{ "w": 2.75, "x": 12.25, "y": 3 }, {"x":9.25, "y":3},
{ "w": 1.5, "x": 0, "y": 4 }, {"x":10.25, "y":3},
{ "x": 1.5, "y": 4 }, {"x":11.25, "y":3},
{ "w": 1.5, "x": 2.5, "y": 4 }, {"x":12.25, "y":3, "w":2.75},
{ "w": 7, "x": 4, "y": 4 },
{ "w": 1.5, "x": 11, "y": 4 }, {"x":0, "y":4, "w":1.5},
{ "x": 12.5, "y": 4 }, {"x":1.5, "y":4},
{ "w": 1.5, "x": 13.5, "y": 4 } {"x":2.5, "y":4, "w":1.5},
{"x":4, "y":4, "w":7},
{"x":11, "y":4, "w":1.5},
{"x":12.5, "y":4},
{"x":13.5, "y":4, "w":1.5}
] ]
}, },
"LAYOUT_tsangan_iso_arrowkeys": { "LAYOUT_60_iso_arrow_tsangan": {
"layout": [ "layout": [
{ "x": 0, "y": 0 }, {"x":0, "y":0},
{ "x": 1, "y": 0 }, {"x":1, "y":0},
{ "x": 2, "y": 0 }, {"x":2, "y":0},
{ "x": 3, "y": 0 }, {"x":3, "y":0},
{ "x": 4, "y": 0 }, {"x":4, "y":0},
{ "x": 5, "y": 0 }, {"x":5, "y":0},
{ "x": 6, "y": 0 }, {"x":6, "y":0},
{ "x": 7, "y": 0 }, {"x":7, "y":0},
{ "x": 8, "y": 0 }, {"x":8, "y":0},
{ "x": 9, "y": 0 }, {"x":9, "y":0},
{ "x": 10, "y": 0 }, {"x":10, "y":0},
{ "x": 11, "y": 0 }, {"x":11, "y":0},
{ "x": 12, "y": 0 }, {"x":12, "y":0},
{ "w": 2, "x": 13, "y": 0 }, {"x":13, "y":0, "w":2},
{ "w": 1.5, "x": 0, "y": 1 },
{ "x": 1.5, "y": 1 }, {"x":0, "y":1, "w":1.5},
{ "x": 2.5, "y": 1 }, {"x":1.5, "y":1},
{ "x": 3.5, "y": 1 }, {"x":2.5, "y":1},
{ "x": 4.5, "y": 1 }, {"x":3.5, "y":1},
{ "x": 5.5, "y": 1 }, {"x":4.5, "y":1},
{ "x": 6.5, "y": 1 }, {"x":5.5, "y":1},
{ "x": 7.5, "y": 1 }, {"x":6.5, "y":1},
{ "x": 8.5, "y": 1 }, {"x":7.5, "y":1},
{ "x": 9.5, "y": 1 }, {"x":8.5, "y":1},
{ "x": 10.5, "y": 1 }, {"x":9.5, "y":1},
{ "x": 11.5, "y": 1 }, {"x":10.5, "y":1},
{ "x": 12.5, "y": 1 }, {"x":11.5, "y":1},
{ "h": 2, "w": 1.25, "x": 13.75, "y": 1 }, {"x":12.5, "y":1},
{ "w": 1.75, "x": 0, "y": 2 },
{ "x": 1.75, "y": 2 }, {"x":0, "y":2, "w":1.75},
{ "x": 2.75, "y": 2 }, {"x":1.75, "y":2},
{ "x": 3.75, "y": 2 }, {"x":2.75, "y":2},
{ "x": 4.75, "y": 2 }, {"x":3.75, "y":2},
{ "x": 5.75, "y": 2 }, {"x":4.75, "y":2},
{ "x": 6.75, "y": 2 }, {"x":5.75, "y":2},
{ "x": 7.75, "y": 2 }, {"x":6.75, "y":2},
{ "x": 8.75, "y": 2 }, {"x":7.75, "y":2},
{ "x": 9.75, "y": 2 }, {"x":8.75, "y":2},
{ "x": 10.75, "y": 2 }, {"x":9.75, "y":2},
{ "x": 11.75, "y": 2 }, {"x":10.75, "y":2},
{ "x": 12.75, "y": 2 }, {"x":11.75, "y":2},
{ "w": 1.25, "x": 0, "y": 3 }, {"x":12.75, "y":2},
{ "x": 1.25, "y": 3 }, {"x":13.75, "y":1, "w":1.25, "h":2},
{ "x": 2.25, "y": 3 },
{ "x": 3.25, "y": 3 }, {"x":0, "y":3, "w":1.25},
{ "x": 4.25, "y": 3 }, {"x":1.25, "y":3},
{ "x": 5.25, "y": 3 }, {"x":2.25, "y":3},
{ "x": 6.25, "y": 3 }, {"x":3.25, "y":3},
{ "x": 7.25, "y": 3 }, {"x":4.25, "y":3},
{ "x": 8.25, "y": 3 }, {"x":5.25, "y":3},
{ "x": 9.25, "y": 3 }, {"x":6.25, "y":3},
{ "x": 10.25, "y": 3 }, {"x":7.25, "y":3},
{ "w": 1.75, "x": 11.25, "y": 3 }, {"x":8.25, "y":3},
{ "x": 13, "y": 3 }, {"x":9.25, "y":3},
{ "x": 14, "y": 3 }, {"x":10.25, "y":3},
{ "w": 1.5, "x": 0, "y": 4 }, {"x":11.25, "y":3, "w":1.75},
{ "x": 1.5, "y": 4 }, {"x":13, "y":3},
{ "w": 1.5, "x": 2.5, "y": 4 }, {"x":14, "y":3},
{ "w": 7, "x": 4, "y": 4 },
{ "x": 11, "y": 4 }, {"x":0, "y":4, "w":1.5},
{ "x": 12, "y": 4 }, {"x":1.5, "y":4},
{ "x": 13, "y": 4 }, {"x":2.5, "y":4, "w":1.5},
{ "x": 14, "y": 4 } {"x":4, "y":4, "w":7},
{"x":11, "y":4},
{"x":12, "y":4},
{"x":13, "y":4},
{"x":14, "y":4}
] ]
} }
} }

View File

@ -18,21 +18,18 @@
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* BASE */ /* BASE */
[0] = LAYOUT_all( [0] = LAYOUT_all(
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_GRAVE, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_SLSH, KC_LSFT, KC_GRV, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_SLSH,
KC_LCTL, KC_LCMD, KC_LALT, KC_SPACE, KC_RALT, KC_LEFT, MO(1), KC_DOWN, KC_RCTL, KC_RGHT KC_LCTL, KC_LCMD, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, MO(1), KC_DOWN, KC_RCTL, KC_RGHT
), ),
/* FN */ /* FN */
[1] = LAYOUT_all( [1] = LAYOUT_all(
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, _______,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MO(1), KC_TRNS, KC_TRNS, KC_TRNS _______, _______, _______, _______, _______, _______, MO(1), _______, _______, _______
) )
}; };

View File

@ -0,0 +1,35 @@
/* Copyright 2021 farhandsome
*
* 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/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* BASE */
[0] = LAYOUT_60_ansi_tsangan_arrowkeys(
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
KC_LCTL, KC_LCMD, KC_LALT, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
),
/* FN */
[1] = LAYOUT_60_ansi_tsangan_arrowkeys(
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, MO(1), _______, _______, _______
)
};

View File

@ -0,0 +1,35 @@
/* Copyright 2021 farhandsome
*
* 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/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* BASE */
[0] = LAYOUT_60_ansi_tsangan(
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LCTL, KC_LCMD, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL
),
/* FN */
[1] = LAYOUT_60_ansi_tsangan(
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______,
_______, _______, _______, _______, _______, MO(1), _______
)
};

View File

@ -0,0 +1,35 @@
/* Copyright 2021 farhandsome
*
* 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/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* BASE */
[0] = LAYOUT_60_iso_tsangan_arrowkeys(
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
KC_LCTL, KC_LCMD, KC_LALT, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
),
/* FN */
[1] = LAYOUT_60_iso_tsangan_arrowkeys(
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, MO(1), _______, _______, _______
)
};

View File

@ -0,0 +1,35 @@
/* Copyright 2021 farhandsome
*
* 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/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* BASE */
[0] = LAYOUT_60_iso_tsangan(
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LCTL, KC_LCMD, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL
),
/* FN */
[1] = LAYOUT_60_iso_tsangan(
QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______,
_______, _______, _______, _______, _______, MO(1), _______
)
};