mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 04:43:02 +00:00
Merge remote-tracking branch 'upstream/master' into develop
This commit is contained in:
commit
ea1a9c37ed
@ -20,100 +20,288 @@
|
|||||||
},
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
|
"layout_aliases": {
|
||||||
|
"LAYOUT": "LAYOUT_all"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"label": "K02", "matrix": [0, 2], "x": 2, "y": 0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"label": "K03", "matrix": [0, 3], "x": 3, "y": 0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"label": "K04", "matrix": [0, 4], "x": 4, "y": 0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"label": "K05", "matrix": [0, 5], "x": 5, "y": 0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"label": "K06", "matrix": [0, 6], "x": 6, "y": 0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"label": "K07", "matrix": [0, 7], "x": 7, "y": 0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"label": "K08", "matrix": [0, 8], "x": 8, "y": 0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"label": "K09", "matrix": [0, 9], "x": 9, "y": 0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"label": "K0A", "matrix": [0, 10], "x": 10, "y": 0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"label": "K0B", "matrix": [0, 11], "x": 11, "y": 0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"label": "K0C", "matrix": [0, 12], "x": 12, "y": 0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"label": "K0D", "matrix": [0, 13], "x": 13, "y": 0},
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
{"label": "K0E", "matrix": [0, 14], "x": 14, "y": 0},
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
{"label": "K10", "matrix": [1, 0], "x": 15, "y": 0},
|
|
||||||
|
|
||||||
{"label": "K11", "matrix": [1, 1], "x": 0, "y": 1},
|
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||||
{"label": "K12", "matrix": [1, 2], "x": 1, "y": 1},
|
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||||
{"label": "K13", "matrix": [1, 3], "x": 2, "y": 1},
|
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||||
{"label": "K14", "matrix": [1, 4], "x": 3, "y": 1},
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
{"label": "K15", "matrix": [1, 5], "x": 4, "y": 1},
|
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||||
{"label": "K16", "matrix": [1, 6], "x": 5, "y": 1},
|
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||||
{"label": "K17", "matrix": [1, 7], "x": 6, "y": 1},
|
{"matrix": [1, 6], "x": 6, "y": 1},
|
||||||
{"label": "K18", "matrix": [1, 8], "x": 7, "y": 1},
|
{"matrix": [1, 7], "x": 7, "y": 1},
|
||||||
{"label": "K19", "matrix": [1, 9], "x": 8, "y": 1},
|
{"matrix": [1, 8], "x": 8, "y": 1},
|
||||||
{"label": "K1A", "matrix": [1, 10], "x": 9, "y": 1},
|
{"matrix": [1, 9], "x": 9, "y": 1},
|
||||||
{"label": "K1B", "matrix": [1, 11], "x": 10, "y": 1},
|
{"matrix": [1, 10], "x": 10, "y": 1},
|
||||||
{"label": "K1C", "matrix": [1, 12], "x": 11, "y": 1},
|
{"matrix": [1, 11], "x": 11, "y": 1},
|
||||||
{"label": "K1D", "matrix": [1, 13], "x": 12, "y": 1},
|
{"matrix": [1, 12], "x": 12, "y": 1},
|
||||||
{"label": "K1E", "matrix": [1, 14], "x": 13, "y": 1, "w": 2},
|
{"matrix": [1, 13], "x": 13, "y": 1, "w": 2},
|
||||||
{"label": "K20", "matrix": [2, 0], "x": 15, "y": 1},
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
|
|
||||||
{"label": "K21", "matrix": [2, 1], "x": 0, "y": 2, "w": 1.5},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5},
|
||||||
{"label": "K22", "matrix": [2, 2], "x": 1.5, "y": 2},
|
{"matrix": [2, 1], "x": 1.5, "y": 2},
|
||||||
{"label": "K23", "matrix": [2, 3], "x": 2.5, "y": 2},
|
{"matrix": [2, 2], "x": 2.5, "y": 2},
|
||||||
{"label": "K24", "matrix": [2, 4], "x": 3.5, "y": 2},
|
{"matrix": [2, 3], "x": 3.5, "y": 2},
|
||||||
{"label": "K25", "matrix": [2, 5], "x": 4.5, "y": 2},
|
{"matrix": [2, 4], "x": 4.5, "y": 2},
|
||||||
{"label": "K26", "matrix": [2, 6], "x": 5.5, "y": 2},
|
{"matrix": [2, 5], "x": 5.5, "y": 2},
|
||||||
{"label": "K27", "matrix": [2, 7], "x": 6.5, "y": 2},
|
{"matrix": [2, 6], "x": 6.5, "y": 2},
|
||||||
{"label": "K28", "matrix": [2, 8], "x": 7.5, "y": 2},
|
{"matrix": [2, 7], "x": 7.5, "y": 2},
|
||||||
{"label": "K29", "matrix": [2, 9], "x": 8.5, "y": 2},
|
{"matrix": [2, 8], "x": 8.5, "y": 2},
|
||||||
{"label": "K2A", "matrix": [2, 10], "x": 9.5, "y": 2},
|
{"matrix": [2, 9], "x": 9.5, "y": 2},
|
||||||
{"label": "K2B", "matrix": [2, 11], "x": 10.5, "y": 2},
|
{"matrix": [2, 10], "x": 10.5, "y": 2},
|
||||||
{"label": "K2C", "matrix": [2, 12], "x": 11.5, "y": 2},
|
{"matrix": [2, 11], "x": 11.5, "y": 2},
|
||||||
{"label": "K2D", "matrix": [2, 13], "x": 12.5, "y": 2},
|
{"matrix": [2, 12], "x": 12.5, "y": 2},
|
||||||
{"label": "K2E", "matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5},
|
{"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5},
|
||||||
{"label": "K30", "matrix": [3, 0], "x": 15, "y": 2},
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
|
|
||||||
{"label": "K31", "matrix": [3, 1], "x": 0, "y": 3, "w": 1.75},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75},
|
||||||
{"label": "K32", "matrix": [3, 2], "x": 1.75, "y": 3},
|
{"matrix": [3, 1], "x": 1.75, "y": 3},
|
||||||
{"label": "K33", "matrix": [3, 3], "x": 2.75, "y": 3},
|
{"matrix": [3, 2], "x": 2.75, "y": 3},
|
||||||
{"label": "K34", "matrix": [3, 4], "x": 3.75, "y": 3},
|
{"matrix": [3, 3], "x": 3.75, "y": 3},
|
||||||
{"label": "K35", "matrix": [3, 5], "x": 4.75, "y": 3},
|
{"matrix": [3, 4], "x": 4.75, "y": 3},
|
||||||
{"label": "K36", "matrix": [3, 6], "x": 5.75, "y": 3},
|
{"matrix": [3, 5], "x": 5.75, "y": 3},
|
||||||
{"label": "K37", "matrix": [3, 7], "x": 6.75, "y": 3},
|
{"matrix": [3, 6], "x": 6.75, "y": 3},
|
||||||
{"label": "K38", "matrix": [3, 8], "x": 7.75, "y": 3},
|
{"matrix": [3, 7], "x": 7.75, "y": 3},
|
||||||
{"label": "K39", "matrix": [3, 9], "x": 8.75, "y": 3},
|
{"matrix": [3, 8], "x": 8.75, "y": 3},
|
||||||
{"label": "K3A", "matrix": [3, 10], "x": 9.75, "y": 3},
|
{"matrix": [3, 9], "x": 9.75, "y": 3},
|
||||||
{"label": "K3B", "matrix": [3, 11], "x": 10.75, "y": 3},
|
{"matrix": [3, 10], "x": 10.75, "y": 3},
|
||||||
{"label": "K3C", "matrix": [3, 12], "x": 11.75, "y": 3},
|
{"matrix": [3, 11], "x": 11.75, "y": 3},
|
||||||
{"label": "K3D", "matrix": [3, 13], "x": 12.75, "y": 3},
|
{"matrix": [3, 12], "x": 12.75, "y": 3},
|
||||||
{"label": "K3E", "matrix": [3, 14], "x": 13.75, "y": 3, "w": 1.25},
|
{"matrix": [3, 13], "x": 13.75, "y": 3, "w": 1.25},
|
||||||
{"label": "K40", "matrix": [4, 0], "x": 15, "y": 3},
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
|
|
||||||
{"label": "K41", "matrix": [4, 1], "x": 0, "y": 4, "w": 2.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"label": "K42", "matrix": [4, 2], "x": 2.25, "y": 4},
|
{"matrix": [4, 1], "x": 1.25, "y": 4},
|
||||||
{"label": "K43", "matrix": [4, 3], "x": 3.25, "y": 4},
|
{"matrix": [4, 2], "x": 2.25, "y": 4},
|
||||||
{"label": "K44", "matrix": [4, 4], "x": 4.25, "y": 4},
|
{"matrix": [4, 3], "x": 3.25, "y": 4},
|
||||||
{"label": "K45", "matrix": [4, 5], "x": 5.25, "y": 4},
|
{"matrix": [4, 4], "x": 4.25, "y": 4},
|
||||||
{"label": "K46", "matrix": [4, 6], "x": 6.25, "y": 4},
|
{"matrix": [4, 5], "x": 5.25, "y": 4},
|
||||||
{"label": "K47", "matrix": [4, 7], "x": 7.25, "y": 4},
|
{"matrix": [4, 6], "x": 6.25, "y": 4},
|
||||||
{"label": "K48", "matrix": [4, 8], "x": 8.25, "y": 4},
|
{"matrix": [4, 7], "x": 7.25, "y": 4},
|
||||||
{"label": "K49", "matrix": [4, 9], "x": 9.25, "y": 4},
|
{"matrix": [4, 8], "x": 8.25, "y": 4},
|
||||||
{"label": "K4A", "matrix": [4, 10], "x": 10.25, "y": 4},
|
{"matrix": [4, 9], "x": 9.25, "y": 4},
|
||||||
{"label": "K4B", "matrix": [4, 11], "x": 11.25, "y": 4},
|
{"matrix": [4, 10], "x": 10.25, "y": 4},
|
||||||
{"label": "K4C", "matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75},
|
{"matrix": [4, 11], "x": 11.25, "y": 4},
|
||||||
{"label": "K4D", "matrix": [4, 13], "x": 14, "y": 4},
|
{"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75},
|
||||||
{"label": "K4E", "matrix": [4, 14], "x": 15, "y": 4},
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
|
{"matrix": [4, 14], "x": 15, "y": 4},
|
||||||
|
|
||||||
{"label": "K50", "matrix": [5, 0], "x": 0, "y": 5, "w": 1.25},
|
{"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25},
|
||||||
{"label": "K51", "matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25},
|
{"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||||
{"label": "K52", "matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25},
|
{"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25},
|
||||||
{"label": "K55", "matrix": [5, 5], "x": 3.75, "y": 5, "w": 5.25},
|
{"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25},
|
||||||
{"label": "K58", "matrix": [5, 8], "x": 9, "y": 5},
|
{"matrix": [5, 8], "x": 14, "y": 0},
|
||||||
{"label": "K59", "matrix": [5, 9], "x": 10, "y": 5},
|
{"matrix": [5, 9], "x": 10, "y": 5},
|
||||||
{"label": "K5A", "matrix": [5, 10], "x": 11, "y": 5},
|
{"matrix": [5, 10], "x": 11, "y": 5},
|
||||||
{"label": "K5B", "matrix": [5, 11], "x": 12, "y": 5},
|
{"matrix": [5, 11], "x": 12, "y": 5},
|
||||||
{"label": "K5C", "matrix": [5, 12], "x": 13, "y": 5},
|
{"matrix": [5, 12], "x": 13, "y": 5},
|
||||||
{"label": "K5D", "matrix": [5, 13], "x": 14, "y": 5},
|
{"matrix": [5, 13], "x": 14, "y": 5},
|
||||||
{"label": "K5E", "matrix": [5, 14], "x": 15, "y": 5}
|
{"matrix": [5, 14], "x": 15, "y": 5}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LAYOUT_75_ansi_rwkl": {
|
||||||
|
"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": [0, 7], "x": 7, "y": 0},
|
||||||
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
|
{"matrix": [5, 8], "x": 14, "y": 0},
|
||||||
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||||
|
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||||
|
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||||
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
|
{"matrix": [1, 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": [1, 10], "x": 10, "y": 1},
|
||||||
|
{"matrix": [1, 11], "x": 11, "y": 1},
|
||||||
|
{"matrix": [1, 12], "x": 12, "y": 1},
|
||||||
|
{"matrix": [1, 13], "x": 13, "y": 1, "w": 2},
|
||||||
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5},
|
||||||
|
{"matrix": [2, 1], "x": 1.5, "y": 2},
|
||||||
|
{"matrix": [2, 2], "x": 2.5, "y": 2},
|
||||||
|
{"matrix": [2, 3], "x": 3.5, "y": 2},
|
||||||
|
{"matrix": [2, 4], "x": 4.5, "y": 2},
|
||||||
|
{"matrix": [2, 5], "x": 5.5, "y": 2},
|
||||||
|
{"matrix": [2, 6], "x": 6.5, "y": 2},
|
||||||
|
{"matrix": [2, 7], "x": 7.5, "y": 2},
|
||||||
|
{"matrix": [2, 8], "x": 8.5, "y": 2},
|
||||||
|
{"matrix": [2, 9], "x": 9.5, "y": 2},
|
||||||
|
{"matrix": [2, 10], "x": 10.5, "y": 2},
|
||||||
|
{"matrix": [2, 11], "x": 11.5, "y": 2},
|
||||||
|
{"matrix": [2, 12], "x": 12.5, "y": 2},
|
||||||
|
{"matrix": [2, 13], "x": 13.5, "y": 2, "w": 1.5},
|
||||||
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75},
|
||||||
|
{"matrix": [3, 1], "x": 1.75, "y": 3},
|
||||||
|
{"matrix": [3, 2], "x": 2.75, "y": 3},
|
||||||
|
{"matrix": [3, 3], "x": 3.75, "y": 3},
|
||||||
|
{"matrix": [3, 4], "x": 4.75, "y": 3},
|
||||||
|
{"matrix": [3, 5], "x": 5.75, "y": 3},
|
||||||
|
{"matrix": [3, 6], "x": 6.75, "y": 3},
|
||||||
|
{"matrix": [3, 7], "x": 7.75, "y": 3},
|
||||||
|
{"matrix": [3, 8], "x": 8.75, "y": 3},
|
||||||
|
{"matrix": [3, 9], "x": 9.75, "y": 3},
|
||||||
|
{"matrix": [3, 10], "x": 10.75, "y": 3},
|
||||||
|
{"matrix": [3, 11], "x": 11.75, "y": 3},
|
||||||
|
{"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25},
|
||||||
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 2.25},
|
||||||
|
{"matrix": [4, 2], "x": 2.25, "y": 4},
|
||||||
|
{"matrix": [4, 3], "x": 3.25, "y": 4},
|
||||||
|
{"matrix": [4, 4], "x": 4.25, "y": 4},
|
||||||
|
{"matrix": [4, 5], "x": 5.25, "y": 4},
|
||||||
|
{"matrix": [4, 6], "x": 6.25, "y": 4},
|
||||||
|
{"matrix": [4, 7], "x": 7.25, "y": 4},
|
||||||
|
{"matrix": [4, 8], "x": 8.25, "y": 4},
|
||||||
|
{"matrix": [4, 9], "x": 9.25, "y": 4},
|
||||||
|
{"matrix": [4, 10], "x": 10.25, "y": 4},
|
||||||
|
{"matrix": [4, 11], "x": 11.25, "y": 4},
|
||||||
|
{"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75},
|
||||||
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
|
{"matrix": [4, 14], "x": 15, "y": 4},
|
||||||
|
|
||||||
|
{"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25},
|
||||||
|
{"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||||
|
{"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25},
|
||||||
|
{"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25},
|
||||||
|
{"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5},
|
||||||
|
{"matrix": [5, 11], "x": 11.5, "y": 5, "w": 1.5},
|
||||||
|
{"matrix": [5, 12], "x": 13, "y": 5},
|
||||||
|
{"matrix": [5, 13], "x": 14, "y": 5},
|
||||||
|
{"matrix": [5, 14], "x": 15, "y": 5}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LAYOUT_75_iso_rwkl": {
|
||||||
|
"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": [0, 7], "x": 7, "y": 0},
|
||||||
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
|
{"matrix": [5, 8], "x": 14, "y": 0},
|
||||||
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||||
|
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||||
|
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||||
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
|
{"matrix": [1, 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": [1, 10], "x": 10, "y": 1},
|
||||||
|
{"matrix": [1, 11], "x": 11, "y": 1},
|
||||||
|
{"matrix": [1, 12], "x": 12, "y": 1},
|
||||||
|
{"matrix": [1, 13], "x": 13, "y": 1, "w": 2},
|
||||||
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5},
|
||||||
|
{"matrix": [2, 1], "x": 1.5, "y": 2},
|
||||||
|
{"matrix": [2, 2], "x": 2.5, "y": 2},
|
||||||
|
{"matrix": [2, 3], "x": 3.5, "y": 2},
|
||||||
|
{"matrix": [2, 4], "x": 4.5, "y": 2},
|
||||||
|
{"matrix": [2, 5], "x": 5.5, "y": 2},
|
||||||
|
{"matrix": [2, 6], "x": 6.5, "y": 2},
|
||||||
|
{"matrix": [2, 7], "x": 7.5, "y": 2},
|
||||||
|
{"matrix": [2, 8], "x": 8.5, "y": 2},
|
||||||
|
{"matrix": [2, 9], "x": 9.5, "y": 2},
|
||||||
|
{"matrix": [2, 10], "x": 10.5, "y": 2},
|
||||||
|
{"matrix": [2, 11], "x": 11.5, "y": 2},
|
||||||
|
{"matrix": [2, 12], "x": 12.5, "y": 2},
|
||||||
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75},
|
||||||
|
{"matrix": [3, 1], "x": 1.75, "y": 3},
|
||||||
|
{"matrix": [3, 2], "x": 2.75, "y": 3},
|
||||||
|
{"matrix": [3, 3], "x": 3.75, "y": 3},
|
||||||
|
{"matrix": [3, 4], "x": 4.75, "y": 3},
|
||||||
|
{"matrix": [3, 5], "x": 5.75, "y": 3},
|
||||||
|
{"matrix": [3, 6], "x": 6.75, "y": 3},
|
||||||
|
{"matrix": [3, 7], "x": 7.75, "y": 3},
|
||||||
|
{"matrix": [3, 8], "x": 8.75, "y": 3},
|
||||||
|
{"matrix": [3, 9], "x": 9.75, "y": 3},
|
||||||
|
{"matrix": [3, 10], "x": 10.75, "y": 3},
|
||||||
|
{"matrix": [3, 11], "x": 11.75, "y": 3},
|
||||||
|
{"matrix": [3, 12], "x": 12.75, "y": 3},
|
||||||
|
{"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2},
|
||||||
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 1], "x": 1.25, "y": 4},
|
||||||
|
{"matrix": [4, 2], "x": 2.25, "y": 4},
|
||||||
|
{"matrix": [4, 3], "x": 3.25, "y": 4},
|
||||||
|
{"matrix": [4, 4], "x": 4.25, "y": 4},
|
||||||
|
{"matrix": [4, 5], "x": 5.25, "y": 4},
|
||||||
|
{"matrix": [4, 6], "x": 6.25, "y": 4},
|
||||||
|
{"matrix": [4, 7], "x": 7.25, "y": 4},
|
||||||
|
{"matrix": [4, 8], "x": 8.25, "y": 4},
|
||||||
|
{"matrix": [4, 9], "x": 9.25, "y": 4},
|
||||||
|
{"matrix": [4, 10], "x": 10.25, "y": 4},
|
||||||
|
{"matrix": [4, 11], "x": 11.25, "y": 4},
|
||||||
|
{"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.75},
|
||||||
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
|
{"matrix": [4, 14], "x": 15, "y": 4},
|
||||||
|
|
||||||
|
{"matrix": [5, 0], "x": 0, "y": 5, "w": 1.25},
|
||||||
|
{"matrix": [5, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||||
|
{"matrix": [5, 2], "x": 2.5, "y": 5, "w": 1.25},
|
||||||
|
{"matrix": [5, 5], "x": 3.75, "y": 5, "w": 6.25},
|
||||||
|
{"matrix": [5, 10], "x": 10, "y": 5, "w": 1.5},
|
||||||
|
{"matrix": [5, 11], "x": 11.5, "y": 5, "w": 1.5},
|
||||||
|
{"matrix": [5, 12], "x": 13, "y": 5},
|
||||||
|
{"matrix": [5, 13], "x": 14, "y": 5},
|
||||||
|
{"matrix": [5, 14], "x": 15, "y": 5}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
* |Ctrl|Win |Alt | Space |END|Alt |Ctrl|Left |Down|Rig|
|
* |Ctrl|Win |Alt | Space |END|Alt |Ctrl|Left |Down|Rig|
|
||||||
* `----------------------------------------------------------------'
|
* `----------------------------------------------------------------'
|
||||||
*/
|
*/
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT_all(
|
||||||
KC_ESC, 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_HOME,KC_DEL,
|
KC_ESC, 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_HOME,KC_DEL,
|
||||||
KC_GRV, 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_PGUP,
|
KC_GRV, 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_PGUP,
|
||||||
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_PGDN,
|
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_PGDN,
|
||||||
@ -42,7 +42,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
* | | | | | | | | |
|
* | | | | | | | | |
|
||||||
* `-----------------------------------------------------------'
|
* `-----------------------------------------------------------'
|
||||||
*/
|
*/
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT_all(
|
||||||
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_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_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_CALC,KC_TRNS,KC_INS, KC_TRNS,KC_PSCR,KC_SCRL,KC_PAUS,KC_TRNS,KC_TRNS,
|
KC_TRNS,KC_TRNS,KC_UP, KC_TRNS,KC_TRNS,KC_TRNS,KC_CALC,KC_TRNS,KC_INS, KC_TRNS,KC_PSCR,KC_SCRL,KC_PAUS,KC_TRNS,KC_TRNS,
|
||||||
|
@ -0,0 +1,57 @@
|
|||||||
|
// Copyright 2022 peepeetee (@peepeetee)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
/* Base */
|
||||||
|
/* Keymap 0: Default Layer
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||||
|
* │Esc│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Hm │End│Del│
|
||||||
|
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
|
||||||
|
* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bkspc │PgU│
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
||||||
|
* │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgD│
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
||||||
|
* │Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │Enter │Ins│
|
||||||
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
|
||||||
|
* │Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shift │Up │Fn │
|
||||||
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┤
|
||||||
|
* │Ctrl│GUI │Alt │Space │Alt │Ctrl │Lft│Dwn│Rig│
|
||||||
|
* └────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┘
|
||||||
|
*/
|
||||||
|
[0] = LAYOUT_75_ansi_rwkl(
|
||||||
|
KC_ESC, 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_HOME, KC_END, KC_DEL,
|
||||||
|
KC_GRV, 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_PGUP,
|
||||||
|
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_PGDN,
|
||||||
|
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_INS,
|
||||||
|
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_UP, MO(1),
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
|
),
|
||||||
|
|
||||||
|
/* Keymap 1: Fn Layer
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
||||||
|
* │ │ │Up │ │ │ │Cal│ │Ins│ │PSc│SLk│Pau│ │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
||||||
|
* │BL Brt│Lft│Dwn│Rgt│ │ │ │ │ │ │Hm │PUp│ │ │
|
||||||
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
|
||||||
|
* │BL Step │ │App│ │ │ │Vl-│Vl+│Mut│End│PDn│ │ │ │
|
||||||
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┤
|
||||||
|
* │Slp │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┘
|
||||||
|
*/
|
||||||
|
[1] = LAYOUT_75_ansi_rwkl(
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, KC_UP, _______, _______, _______, KC_CALC, _______, KC_INS, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______, _______,
|
||||||
|
BL_BRTG, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, _______, _______,
|
||||||
|
BL_STEP, _______, KC_APP, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, _______, _______, _______,
|
||||||
|
KC_SLEP, _______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
)
|
||||||
|
|
||||||
|
};
|
@ -0,0 +1,57 @@
|
|||||||
|
// Copyright 2022 peepeetee (@peepeetee)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
/* Base */
|
||||||
|
/* Keymap 0: Default Layer
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||||
|
* │Esc│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Hm │End│Del│
|
||||||
|
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
|
||||||
|
* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bkspc │PgU│
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
||||||
|
* │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │PgD│
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐Ent ├───┤
|
||||||
|
* │Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │Ins│
|
||||||
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
|
||||||
|
* │Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shift │Up │Fn │
|
||||||
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┤
|
||||||
|
* │Ctrl│GUI │Alt │Space │Alt │Ctrl │Lft│Dwn│Rig│
|
||||||
|
* └────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┘
|
||||||
|
*/
|
||||||
|
[0] = LAYOUT_75_iso_rwkl(
|
||||||
|
KC_ESC, 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_HOME, KC_END, KC_DEL,
|
||||||
|
KC_GRV, 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_PGUP,
|
||||||
|
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_PGDN,
|
||||||
|
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_INS,
|
||||||
|
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_UP, MO(1),
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||||
|
),
|
||||||
|
|
||||||
|
/* Keymap 1: Fn Layer
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
||||||
|
* │ │ │Up │ │ │ │Cal│ │Ins│ │PSc│SLk│Pau│ │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ├───┤
|
||||||
|
* │BL Brt│Lft│Dwn│Rgt│ │ │ │ │ │ │Hm │PUp│ │ │ │
|
||||||
|
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
|
||||||
|
* │BL Step │ │App│ │ │ │Vl-│Vl+│Mut│End│PDn│ │ │ │
|
||||||
|
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┤
|
||||||
|
* │Slp │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┘
|
||||||
|
*/
|
||||||
|
[1] = LAYOUT_75_iso_rwkl(
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, KC_UP, _______, _______, _______, KC_CALC, _______, KC_INS, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______,
|
||||||
|
BL_BRTG, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, _______, _______, _______,
|
||||||
|
BL_STEP, _______, _______, KC_APP, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, _______, _______, _______,
|
||||||
|
KC_SLEP, _______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
)
|
||||||
|
|
||||||
|
};
|
24
keyboards/amjkeyboard/amj84/matrix_diagram.md
Normal file
24
keyboards/amjkeyboard/amj84/matrix_diagram.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Matrix Diagram for AMJKeyboard AMJ84
|
||||||
|
|
||||||
|
```
|
||||||
|
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||||
|
│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │58 │0E │
|
||||||
|
├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
|
||||||
|
│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E │
|
||||||
|
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ ┌─────┐
|
||||||
|
│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │2E │ │ │
|
||||||
|
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ ┌──┴┐3D │ ISO Enter
|
||||||
|
│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3D │3E │ │3C │ │
|
||||||
|
├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ └───┴────┘
|
||||||
|
│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4C │4D │4E │
|
||||||
|
├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
|
||||||
|
│50 │51 │52 │55 │59 │5A │5B │5C │5D │5E │
|
||||||
|
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
|
||||||
|
┌────────┐ └─────┬─────┘
|
||||||
|
│40 │ 2.25u LShift │
|
||||||
|
└────────┘ ┌─────┴─────┐
|
||||||
|
┌─────┬───┬─────┬───────────────────────┬─────┬─────┐
|
||||||
|
│50 │51 │52 │55 │5A │5B │ RWKL
|
||||||
|
└─────┴───┴─────┴───────────────────────┴─────┴─────┘
|
||||||
|
1.5u 1u 1.5u 6u
|
||||||
|
```
|
@ -6,7 +6,7 @@
|
|||||||
"scroll_lock": "C5",
|
"scroll_lock": "C5",
|
||||||
"on_state": 0
|
"on_state": 0
|
||||||
},
|
},
|
||||||
"community_layouts": ["tkl_ansi"],
|
"community_layouts": ["tkl_ansi", "tkl_jis"],
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"scroll_lock": "C5",
|
"scroll_lock": "C5",
|
||||||
"on_state": 0
|
"on_state": 0
|
||||||
},
|
},
|
||||||
"community_layouts": ["tkl_ansi"],
|
"community_layouts": ["tkl_ansi", "tkl_jis"],
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
},
|
},
|
||||||
"vid": "0x6369"
|
"vid": "0x6369"
|
||||||
},
|
},
|
||||||
|
"community_layouts": ["tkl_jis", "tkl_iso_tsangan", "tkl_ansi_tsangan"],
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"community_layouts": ["fullsize_ansi", "fullsize_iso"],
|
"community_layouts": ["fullsize_ansi", "fullsize_iso", "fullsize_jis"],
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
90
keyboards/custommk/evo70_r2/config.h
Normal file
90
keyboards/custommk/evo70_r2/config.h
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
/* Copyright 2023 David Hoelscher (@customMK)
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// No VBUS sense needed
|
||||||
|
#define BOARD_OTG_NOVBUSSENS 1
|
||||||
|
|
||||||
|
#define STM32_LSECLK 32768
|
||||||
|
|
||||||
|
#define MATRIX_ROWS 5
|
||||||
|
#define MATRIX_COLS 16
|
||||||
|
#define MATRIX_ROW_PINS { A8, A1, A2, B1, A7 }
|
||||||
|
|
||||||
|
// FRAM configuration
|
||||||
|
#define EXTERNAL_EEPROM_SPI_SLAVE_SELECT_PIN A0
|
||||||
|
#define EXTERNAL_EEPROM_SPI_CLOCK_DIVISOR 4 // 48MHz / 4 = 12MHz; max supported by MB85R64 is 20MHz
|
||||||
|
|
||||||
|
// External flash configuration
|
||||||
|
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B12
|
||||||
|
#define EXTERNAL_FLASH_SPI_CLOCK_DIVISOR 1 // 48MHz; max supported by W25Q128JV is 133MHz
|
||||||
|
#define EXTERNAL_FLASH_SIZE (16 * 1024 * 1024) //128Mbit or 16MByte
|
||||||
|
#define EXTERNAL_FLASH_SPI_TIMEOUT 200000 //datasheet max is 200seconds for flash chip erase
|
||||||
|
|
||||||
|
// SPI Configuration
|
||||||
|
#define SPI_DRIVER SPID1
|
||||||
|
#define SPI_SCK_PIN B3
|
||||||
|
#define SPI_SCK_PAL_MODE 5
|
||||||
|
#define SPI_MOSI_PIN B5
|
||||||
|
#define SPI_MOSI_PAL_MODE 5
|
||||||
|
#define SPI_MISO_PIN B4
|
||||||
|
#define SPI_MISO_PAL_MODE 5
|
||||||
|
|
||||||
|
|
||||||
|
// SPI LCD Configuration
|
||||||
|
#define LCD_RST_PIN B2
|
||||||
|
#define LCD_CS_PIN A9
|
||||||
|
#define LCD_DC_PIN B0
|
||||||
|
#ifndef LCD_ACTIVITY_TIMEOUT
|
||||||
|
#define LCD_ACTIVITY_TIMEOUT 30000
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// I2C OLED Configuration
|
||||||
|
#define I2C1_SCL_PIN B6
|
||||||
|
#define I2C1_SDA_PIN B9
|
||||||
|
|
||||||
|
#define I2C1_CLOCK_SPEED 400000
|
||||||
|
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
|
||||||
|
|
||||||
|
#define OLED_DISABLE_TIMEOUT
|
||||||
|
|
||||||
|
#define COL_SHIFT_IN_PIN B14
|
||||||
|
#define COL_SHIFT_CLK_PIN B15
|
||||||
|
|
||||||
|
#define QUANTUM_PAINTER_SUPPORTS_256_PALETTE TRUE
|
||||||
|
#define QUANTUM_PAINTER_SUPPORTS_NATIVE_COLORS TRUE
|
||||||
|
|
||||||
|
#define OLED_UPDATE_INTERVAL 66
|
||||||
|
|
||||||
|
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||||
|
#define BACKLIGHT_PWM_CHANNEL 1
|
||||||
|
#define BACKLIGHT_PAL_MODE 2
|
||||||
|
|
||||||
|
#define WS2812_PWM_DRIVER PWMD1
|
||||||
|
#define WS2812_PWM_CHANNEL 3
|
||||||
|
#define WS2812_PWM_PAL_MODE 1
|
||||||
|
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
||||||
|
#define WS2812_DMA_CHANNEL 6
|
||||||
|
|
||||||
|
#define TAP_CODE_DELAY 10
|
||||||
|
|
||||||
|
#define AUDIO_PIN B8
|
||||||
|
#define AUDIO_PWM_DRIVER PWMD4
|
||||||
|
#define AUDIO_PWM_CHANNEL 3
|
||||||
|
#define AUDIO_PWM_PAL_MODE 2
|
||||||
|
#define AUDIO_STATE_TIMER GPTD5
|
||||||
|
#define AUDIO_INIT_DELAY
|
36
keyboards/custommk/evo70_r2/halconf.h
Normal file
36
keyboards/custommk/evo70_r2/halconf.h
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
/* Copyright 2023 David Hoelscher (@customMK)
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define HAL_USE_I2C TRUE
|
||||||
|
|
||||||
|
#define HAL_USE_PWM TRUE
|
||||||
|
|
||||||
|
#define HAL_USE_RTC TRUE
|
||||||
|
|
||||||
|
#define HAL_USE_SPI TRUE
|
||||||
|
|
||||||
|
#define HAL_USE_GPT TRUE
|
||||||
|
|
||||||
|
#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
|
||||||
|
|
||||||
|
#define SERIAL_BUFFERS_SIZE 256
|
||||||
|
|
||||||
|
// This enables interrupt-driven mode
|
||||||
|
#define SPI_USE_WAIT TRUE
|
||||||
|
|
||||||
|
#include_next <halconf.h>
|
152
keyboards/custommk/evo70_r2/info.json
Normal file
152
keyboards/custommk/evo70_r2/info.json
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "EVO70 R2",
|
||||||
|
"url": "https://shop.custommk.com/collections/evo70/products/evo70",
|
||||||
|
"maintainer": "customMK",
|
||||||
|
"manufacturer": "customMK",
|
||||||
|
"tags": ["70%", "encoder", "underglow", "backlight"],
|
||||||
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"command": false,
|
||||||
|
"console": false,
|
||||||
|
"extrakey": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"nkro": true,
|
||||||
|
"encoder": true,
|
||||||
|
"quantum_painter": true,
|
||||||
|
"oled": true,
|
||||||
|
"rgblight": true,
|
||||||
|
"backlight": true,
|
||||||
|
"audio": true
|
||||||
|
},
|
||||||
|
"usb": {
|
||||||
|
"vid": "0xF35B",
|
||||||
|
"pid": "0xFAB6",
|
||||||
|
"device_version": "1.0.0"
|
||||||
|
},
|
||||||
|
"diode_direction": "ROW2COL",
|
||||||
|
"processor": "STM32F411",
|
||||||
|
"bootloader": "stm32-dfu",
|
||||||
|
"rgblight": {
|
||||||
|
"led_count": 48,
|
||||||
|
"hue_steps": 4,
|
||||||
|
"saturation_steps": 8,
|
||||||
|
"brightness_steps": 4,
|
||||||
|
"max_brightness": 128,
|
||||||
|
"layers": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"animations": {
|
||||||
|
"alternating": true,
|
||||||
|
"breathing": true,
|
||||||
|
"christmas": true,
|
||||||
|
"knight": true,
|
||||||
|
"rainbo_mood": true,
|
||||||
|
"rainbow_swirl": true,
|
||||||
|
"rgb_test": true,
|
||||||
|
"snake": true,
|
||||||
|
"static_gradient": true,
|
||||||
|
"twinkle": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"driver": "pwm",
|
||||||
|
"pin": "A10"
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"driver": "pwm",
|
||||||
|
"breathing": true,
|
||||||
|
"breathing_period": 6,
|
||||||
|
"levels": 17,
|
||||||
|
"pin": "A6"
|
||||||
|
},
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [
|
||||||
|
{"label":"Encoder", "matrix": [1, 0], "x":0.5, "y":0},
|
||||||
|
{"label":"Esc", "matrix": [0, 0], "x":2.5, "y":0},
|
||||||
|
{"label":"1", "matrix": [0, 2], "x":3.5, "y":0},
|
||||||
|
{"label":"2", "matrix": [0, 3], "x":4.5, "y":0},
|
||||||
|
{"label":"3", "matrix": [0, 4], "x":5.5, "y":0},
|
||||||
|
{"label":"4", "matrix": [0, 5], "x":6.5, "y":0},
|
||||||
|
{"label":"5", "matrix": [0, 6], "x":7.5, "y":0},
|
||||||
|
{"label":"6", "matrix": [0, 7], "x":8.5, "y":0},
|
||||||
|
{"label":"7", "matrix": [0, 8], "x":9.5, "y":0},
|
||||||
|
{"label":"8", "matrix": [0, 9], "x":10.5, "y":0},
|
||||||
|
{"label":"9", "matrix": [0, 10], "x":11.5, "y":0},
|
||||||
|
{"label":"0", "matrix": [0, 11], "x":12.5, "y":0},
|
||||||
|
{"label":"-", "matrix": [0, 12], "x":13.5, "y":0},
|
||||||
|
{"label":"=", "matrix": [0, 13], "x":14.5, "y":0},
|
||||||
|
{"label":"Backspace", "matrix": [0, 14], "x":15.5, "y":0, "w":2},
|
||||||
|
{"label":"Delete", "matrix": [0, 15], "x":17.5, "y":0},
|
||||||
|
|
||||||
|
{"label":"Tab", "matrix": [1, 1], "x":2.5, "y":1, "w":1.5},
|
||||||
|
{"label":"Q", "matrix": [1, 2], "x":4, "y":1},
|
||||||
|
{"label":"W", "matrix": [1, 3], "x":5, "y":1},
|
||||||
|
{"label":"E", "matrix": [1, 4], "x":6, "y":1},
|
||||||
|
{"label":"R", "matrix": [1, 5], "x":7, "y":1},
|
||||||
|
{"label":"T", "matrix": [1, 6], "x":8, "y":1},
|
||||||
|
{"label":"Y", "matrix": [1, 7], "x":9, "y":1},
|
||||||
|
{"label":"U", "matrix": [1, 8], "x":10, "y":1},
|
||||||
|
{"label":"I", "matrix": [1, 9], "x":11, "y":1},
|
||||||
|
{"label":"O", "matrix": [1, 10], "x":12, "y":1},
|
||||||
|
{"label":"P", "matrix": [1, 11], "x":13, "y":1},
|
||||||
|
{"label":"[", "matrix": [1, 12], "x":14, "y":1},
|
||||||
|
{"label":"]", "matrix": [1, 13], "x":15, "y":1},
|
||||||
|
{"label":"\\", "matrix": [1, 14], "x":16, "y":1, "w":1.5},
|
||||||
|
{"label":"PgUp", "matrix": [1, 15], "x":17.5, "y":1},
|
||||||
|
|
||||||
|
{"label":"F1", "matrix": [2, 2], "x":0, "y":2},
|
||||||
|
{"label":"F2", "matrix": [2, 0], "x":1, "y":2},
|
||||||
|
{"label":"Caps Lock", "matrix": [2, 1], "x":2.5, "y":2, "w":1.75},
|
||||||
|
{"label":"A", "matrix": [2, 3], "x":4.25, "y":2},
|
||||||
|
{"label":"S", "matrix": [2, 4], "x":5.25, "y":2},
|
||||||
|
{"label":"D", "matrix": [2, 5], "x":6.25, "y":2},
|
||||||
|
{"label":"F", "matrix": [2, 6], "x":7.25, "y":2},
|
||||||
|
{"label":"G", "matrix": [2, 7], "x":8.25, "y":2},
|
||||||
|
{"label":"H", "matrix": [2, 8], "x":9.25, "y":2},
|
||||||
|
{"label":"J", "matrix": [2, 9], "x":10.25, "y":2},
|
||||||
|
{"label":"K", "matrix": [2, 10], "x":11.25, "y":2},
|
||||||
|
{"label":"L", "matrix": [2, 11], "x":12.25, "y":2},
|
||||||
|
{"label":";", "matrix": [2, 12], "x":13.25, "y":2},
|
||||||
|
{"label":"'", "matrix": [2, 13], "x":14.25, "y":2},
|
||||||
|
{"label":"Enter", "matrix": [2, 14], "x":15.25, "y":2, "w":2.25},
|
||||||
|
{"label":"PgDn", "matrix": [2, 15], "x":17.5, "y":2},
|
||||||
|
|
||||||
|
{"label":"F3", "matrix": [3, 1], "x":0, "y":3},
|
||||||
|
{"label":"F4", "matrix": [3, 0], "x":1, "y":3},
|
||||||
|
{"label":"Shift", "matrix": [3, 2], "x":2.5, "y":3, "w":1.25},
|
||||||
|
{"label":"\u2298", "matrix": [0, 1], "x":3.75, "y":3, "w":1},
|
||||||
|
{"label":"Z", "matrix": [3, 3], "x":4.75, "y":3},
|
||||||
|
{"label":"X", "matrix": [3, 4], "x":5.75, "y":3},
|
||||||
|
{"label":"C", "matrix": [3, 5], "x":6.75, "y":3},
|
||||||
|
{"label":"V", "matrix": [3, 6], "x":7.75, "y":3},
|
||||||
|
{"label":"B", "matrix": [3, 7], "x":8.75, "y":3},
|
||||||
|
{"label":"N", "matrix": [3, 8], "x":9.75, "y":3},
|
||||||
|
{"label":"M", "matrix": [3, 9], "x":10.75, "y":3},
|
||||||
|
{"label":",", "matrix": [3, 10], "x":11.75, "y":3},
|
||||||
|
{"label":".", "matrix": [3, 11], "x":12.75, "y":3},
|
||||||
|
{"label":"/", "matrix": [3, 12], "x":13.75, "y":3},
|
||||||
|
{"label":"Shift", "matrix": [3, 13], "x":14.75, "y":3, "w":1.75},
|
||||||
|
{"label":"Up", "matrix": [3, 14], "x":16.5, "y":3},
|
||||||
|
{"label":"End", "matrix": [3, 15], "x":17.5, "y":3},
|
||||||
|
|
||||||
|
{"label":"F5", "matrix": [4, 3], "x":0, "y":4},
|
||||||
|
{"label":"F6", "matrix": [4, 0], "x":1, "y":4},
|
||||||
|
{"label":"Ctrl", "matrix": [4, 1], "x":2.5, "y":4, "w":1.25},
|
||||||
|
{"label":"GUI", "matrix": [4, 2], "x":3.75, "y":4, "w":1.25},
|
||||||
|
{"label":"Alt", "matrix": [4, 4], "x":5, "y":4, "w":1.25},
|
||||||
|
{"label":"Space", "matrix": [4, 7], "x":6.25, "y":4, "w":6.25},
|
||||||
|
{"label":"Alt", "matrix": [4, 10], "x":12.5, "y":4, "w":1.25},
|
||||||
|
{"label":"Ctrl", "matrix": [4, 11], "x":13.75, "y":4, "w":1.25},
|
||||||
|
{"label":"Left", "matrix": [4, 13], "x":15.5, "y":4},
|
||||||
|
{"label":"Down", "matrix": [4, 14], "x":16.5, "y":4},
|
||||||
|
{"label":"Right", "matrix": [4, 15], "x":17.5, "y":4}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"encoder": {
|
||||||
|
"rotary": [
|
||||||
|
{ "pin_a": "B7", "pin_b": "A4", "resolution": 2}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
33
keyboards/custommk/evo70_r2/keymaps/default/keymap.c
Normal file
33
keyboards/custommk/evo70_r2/keymaps/default/keymap.c
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* Copyright 2023 David Hoelscher (@customMK)
|
||||||
|
*
|
||||||
|
* 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] = {
|
||||||
|
|
||||||
|
[0] = LAYOUT(
|
||||||
|
KC_ESC, KC_ESC, 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_PGUP,
|
||||||
|
KC_F1, KC_F2, 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_PGDN,
|
||||||
|
KC_F3, KC_F4, 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_UP, KC_END,
|
||||||
|
KC_F5, KC_F6, KC_LCTL, KC_LWIN, KC_LALT, KC_SPACE, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
};
|
||||||
|
|
||||||
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU),
|
||||||
|
};
|
||||||
|
#endif
|
13
keyboards/custommk/evo70_r2/keymaps/via/config.h
Normal file
13
keyboards/custommk/evo70_r2/keymaps/via/config.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Copyright 2023 David Hoelscher (@customMK)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// With 8k FRAM, max out dynamic keymap layers and macros
|
||||||
|
// 5x16 matrix (160 bytes) and one encoder (4 bytes) consume 164 bytes per layer
|
||||||
|
// 32 layers consumes 5248 bytes
|
||||||
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 32
|
||||||
|
|
||||||
|
// Most of the remaining space can be used for macros
|
||||||
|
// QMK Macro keycode range allows up to 128 macros
|
||||||
|
#define DYNAMIC_KEYMAP_MACRO_COUNT 128
|
33
keyboards/custommk/evo70_r2/keymaps/via/keymap.c
Normal file
33
keyboards/custommk/evo70_r2/keymaps/via/keymap.c
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* Copyright 2023 David Hoelscher (@customMK)
|
||||||
|
*
|
||||||
|
* 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] = {
|
||||||
|
|
||||||
|
[0] = LAYOUT(
|
||||||
|
KC_ESC, KC_ESC, 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_PGUP,
|
||||||
|
KC_F1, KC_F2, 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_PGDN,
|
||||||
|
KC_F3, KC_F4, 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_UP, KC_END,
|
||||||
|
KC_F5, KC_F6, KC_LCTL, KC_LWIN, KC_LALT, KC_SPACE, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
};
|
||||||
|
|
||||||
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
|
||||||
|
};
|
||||||
|
#endif
|
2
keyboards/custommk/evo70_r2/keymaps/via/rules.mk
Normal file
2
keyboards/custommk/evo70_r2/keymaps/via/rules.mk
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
VIA_ENABLE = yes
|
||||||
|
ENCODER_MAP_ENABLE = yes
|
117
keyboards/custommk/evo70_r2/matrix.c
Normal file
117
keyboards/custommk/evo70_r2/matrix.c
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
// Copyright 2023 David Hoelscher (@customMK)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
// Pin definitions
|
||||||
|
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
|
||||||
|
|
||||||
|
void matrix_wait_for_pin(pin_t pin, uint8_t target_state) {
|
||||||
|
rtcnt_t start = chSysGetRealtimeCounterX();
|
||||||
|
rtcnt_t end = start + 5000;
|
||||||
|
while (chSysIsCounterWithinX(chSysGetRealtimeCounterX(), start, end)) {
|
||||||
|
if (readPin(pin) == target_state) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void matrix_wait_for_port(stm32_gpio_t *port, uint32_t target_bitmask) {
|
||||||
|
rtcnt_t start = chSysGetRealtimeCounterX();
|
||||||
|
rtcnt_t end = start + 5000;
|
||||||
|
while (chSysIsCounterWithinX(chSysGetRealtimeCounterX(), start, end)) {
|
||||||
|
if ((palReadPort(port) & target_bitmask) == target_bitmask) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void shift_pulse_clock(void) {
|
||||||
|
writePinHigh(COL_SHIFT_CLK_PIN);
|
||||||
|
matrix_wait_for_pin(COL_SHIFT_CLK_PIN, 1);
|
||||||
|
writePinLow(COL_SHIFT_CLK_PIN);
|
||||||
|
}
|
||||||
|
|
||||||
|
void matrix_init_custom(void) {
|
||||||
|
//set all row pins as input with pullups
|
||||||
|
for (int i = 0; i < MATRIX_ROWS; ++i) {
|
||||||
|
writePinHigh(row_pins[i]);
|
||||||
|
setPinInputHigh(row_pins[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
//set all column pins high in ROW2COL matrix
|
||||||
|
setPinOutput(COL_SHIFT_IN_PIN);
|
||||||
|
setPinOutput(COL_SHIFT_CLK_PIN);
|
||||||
|
writePinHigh(COL_SHIFT_IN_PIN);
|
||||||
|
matrix_wait_for_pin(COL_SHIFT_IN_PIN, 1);
|
||||||
|
|
||||||
|
for (int i = 0; i < MATRIX_COLS; ++i) {
|
||||||
|
shift_pulse_clock();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||||
|
static matrix_row_t temp_matrix[MATRIX_ROWS] = {0};
|
||||||
|
|
||||||
|
writePinLow(COL_SHIFT_IN_PIN);
|
||||||
|
matrix_wait_for_pin(COL_SHIFT_IN_PIN, 0);
|
||||||
|
|
||||||
|
// Setup the output column pin
|
||||||
|
shift_pulse_clock();
|
||||||
|
|
||||||
|
writePinHigh(COL_SHIFT_IN_PIN);
|
||||||
|
for (int current_col = 0; current_col < MATRIX_COLS; ++current_col) {
|
||||||
|
|
||||||
|
// Read the column ports
|
||||||
|
uint32_t gpio_a = palReadPort(GPIOA);
|
||||||
|
uint32_t gpio_b = palReadPort(GPIOB);
|
||||||
|
|
||||||
|
// row 0, pin A8
|
||||||
|
int current_row = 0;
|
||||||
|
if ((gpio_a & (1 << 8)) >> 8) {
|
||||||
|
temp_matrix[current_row] &= ~(1ul << current_col);
|
||||||
|
} else {
|
||||||
|
temp_matrix[current_row] |= (1ul << current_col);
|
||||||
|
}
|
||||||
|
// row 1, pin A1
|
||||||
|
current_row = 1;
|
||||||
|
if ((gpio_a & (1 << 1)) >> 1) {
|
||||||
|
temp_matrix[current_row] &= ~(1ul << current_col);
|
||||||
|
} else {
|
||||||
|
temp_matrix[current_row] |= (1ul << current_col);
|
||||||
|
}
|
||||||
|
// row 2, pin A2
|
||||||
|
current_row = 2;
|
||||||
|
if ((gpio_a & (1 << 2)) >> 2) {
|
||||||
|
temp_matrix[current_row] &= ~(1ul << current_col);
|
||||||
|
} else {
|
||||||
|
temp_matrix[current_row] |= (1ul << current_col);
|
||||||
|
}
|
||||||
|
// row 3, pin B3
|
||||||
|
current_row = 3;
|
||||||
|
if ((gpio_b & (1 << 1)) >> 1) {
|
||||||
|
temp_matrix[current_row] &= ~(1ul << current_col);
|
||||||
|
} else {
|
||||||
|
temp_matrix[current_row] |= (1ul << current_col);
|
||||||
|
}
|
||||||
|
// row 4, pin A7
|
||||||
|
current_row = 4;
|
||||||
|
if ((gpio_a & (1 << 7)) >> 7) {
|
||||||
|
temp_matrix[current_row] &= ~(1ul << current_col);
|
||||||
|
} else {
|
||||||
|
temp_matrix[current_row] |= (1ul << current_col);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Setup the output column pin
|
||||||
|
shift_pulse_clock();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if matrix has changed, return the last-read data
|
||||||
|
bool changed = memcmp(current_matrix, temp_matrix, sizeof(temp_matrix)) != 0;
|
||||||
|
if (changed) {
|
||||||
|
memcpy(current_matrix, temp_matrix, sizeof(temp_matrix));
|
||||||
|
}
|
||||||
|
shift_pulse_clock();
|
||||||
|
return changed;
|
||||||
|
}
|
58
keyboards/custommk/evo70_r2/mcuconf.h
Normal file
58
keyboards/custommk/evo70_r2/mcuconf.h
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
/* Copyright 2023 David Hoelscher (@customMK)
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
|
#undef STM32_LSE_ENABLED
|
||||||
|
#define STM32_LSE_ENABLED TRUE
|
||||||
|
|
||||||
|
#undef STM32_RTCSEL
|
||||||
|
#define STM32_RTCSEL STM32_RTCSEL_LSE
|
||||||
|
|
||||||
|
// Used for underglow
|
||||||
|
#undef STM32_PWM_USE_TIM1 //timer 1 channel 3
|
||||||
|
#define STM32_PWM_USE_TIM1 TRUE
|
||||||
|
|
||||||
|
// Used for backlight
|
||||||
|
//#undef STM32_PWM_USE_TIM2 //timer 2 channel ?
|
||||||
|
//#define STM32_PWM_USE_TIM2 TRUE
|
||||||
|
|
||||||
|
// Used for backlight
|
||||||
|
#undef STM32_PWM_USE_TIM3 //timer 3 channel 1
|
||||||
|
#define STM32_PWM_USE_TIM3 TRUE
|
||||||
|
|
||||||
|
// Used for backlight
|
||||||
|
//#undef STM32_GPT_USE_TIM3 //timer 3 channel 1
|
||||||
|
//#define STM32_GPT_USE_TIM3 TRUE
|
||||||
|
|
||||||
|
// Used for backlight
|
||||||
|
#undef STM32_PWM_USE_TIM4 //timer 4 channel ?
|
||||||
|
#define STM32_PWM_USE_TIM4 TRUE
|
||||||
|
|
||||||
|
// Used for backlight
|
||||||
|
#undef STM32_GPT_USE_TIM5 //timer 5 channel ?
|
||||||
|
#define STM32_GPT_USE_TIM5 TRUE
|
||||||
|
|
||||||
|
// Used for FRAM and flash in example code
|
||||||
|
#undef STM32_SPI_USE_SPI1
|
||||||
|
#define STM32_SPI_USE_SPI1 TRUE
|
||||||
|
|
||||||
|
// Used for OLED
|
||||||
|
#undef STM32_I2C_USE_I2C1
|
||||||
|
#define STM32_I2C_USE_I2C1 TRUE
|
||||||
|
|
21
keyboards/custommk/evo70_r2/readme.md
Normal file
21
keyboards/custommk/evo70_r2/readme.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# EVO70 R2
|
||||||
|
|
||||||
|
EVO70 R2 is a 70% keyboard (65% w/left side function cluster) designed and produced by customMK.
|
||||||
|
|
||||||
|
![EVO70 R2](https://i.imgur.com/B1QMuIxh.jpeg)
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [customMK](https://github.com/customMK)
|
||||||
|
* Hardware Supported: EVO70 R2
|
||||||
|
* Hardware Availability: [customMK](https://shop.custommk.com/collections/evo70/products/evo70)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make custommk/evo70_r2:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make custommk/evo70_r2:default:flash
|
||||||
|
|
||||||
|
To enter the bootloader, run the flashing command above, and then either plug in the USB connection while holding the top-left key, or alternatively, plug in the USB connection and then press the reset button on the PCB located under the space bar.
|
||||||
|
|
||||||
|
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).
|
11
keyboards/custommk/evo70_r2/rules.mk
Normal file
11
keyboards/custommk/evo70_r2/rules.mk
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
AUDIO_DRIVER = pwm_hardware
|
||||||
|
|
||||||
|
# project specific files
|
||||||
|
SRC += matrix.c
|
||||||
|
|
||||||
|
EEPROM_DRIVER = spi
|
||||||
|
|
||||||
|
QUANTUM_PAINTER_DRIVERS = st7735_spi
|
||||||
|
|
||||||
|
CUSTOM_MATRIX = lite
|
||||||
|
CIE1931_CURVE = yes
|
76
keyboards/handwired/scottokeebs/scottoalp/info.json
Normal file
76
keyboards/handwired/scottokeebs/scottoalp/info.json
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
"manufacturer": "ScottoKeebs",
|
||||||
|
"keyboard_name": "ScottoAlp",
|
||||||
|
"maintainer": "joe-scotto",
|
||||||
|
"development_board": "promicro",
|
||||||
|
"diode_direction": "COL2ROW",
|
||||||
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"command": false,
|
||||||
|
"console": false,
|
||||||
|
"extrakey": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"nkro": true
|
||||||
|
},
|
||||||
|
"matrix_pins": {
|
||||||
|
// 4, 5, 6, 7, 8, 9, A3, A2, A1, A0
|
||||||
|
"cols": ["D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5", "F6", "F7"],
|
||||||
|
|
||||||
|
// 15, 14, 16, 10
|
||||||
|
"rows": ["B1", "B3", "B2", "B6"]
|
||||||
|
},
|
||||||
|
"url": "https://scottokeebs.com",
|
||||||
|
"usb": {
|
||||||
|
"device_version": "1.0.0",
|
||||||
|
"pid": "0x0007",
|
||||||
|
"vid": "0x534B"
|
||||||
|
},
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT_ortho_3x10_5": {
|
||||||
|
"layout": [
|
||||||
|
// Row 1
|
||||||
|
{ "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": [0, 7], "x": 7, "y": 0 },
|
||||||
|
{ "matrix": [0, 8], "x": 8, "y": 0 },
|
||||||
|
{ "matrix": [0, 9], "x": 9, "y": 0 },
|
||||||
|
|
||||||
|
// Row 2
|
||||||
|
{ "matrix": [1, 0], "x": 0, "y": 1 },
|
||||||
|
{ "matrix": [1, 1], "x": 1, "y": 1 },
|
||||||
|
{ "matrix": [1, 2], "x": 2, "y": 1 },
|
||||||
|
{ "matrix": [1, 3], "x": 3, "y": 1 },
|
||||||
|
{ "matrix": [1, 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 },
|
||||||
|
|
||||||
|
// Row 3
|
||||||
|
{ "matrix": [2, 0], "x": 0, "y": 2 },
|
||||||
|
{ "matrix": [2, 1], "x": 1, "y": 2 },
|
||||||
|
{ "matrix": [2, 2], "x": 2, "y": 2 },
|
||||||
|
{ "matrix": [2, 3], "x": 3, "y": 2 },
|
||||||
|
{ "matrix": [2, 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 },
|
||||||
|
|
||||||
|
// Row 4
|
||||||
|
{ "matrix": [3, 1], "x": 1, "y": 3 },
|
||||||
|
{ "matrix": [3, 2], "x": 2, "y": 3 },
|
||||||
|
{ "matrix": [3, 4], "x": 4, "y": 3 },
|
||||||
|
{ "matrix": [3, 6], "x": 6, "y": 3 },
|
||||||
|
{ "matrix": [3, 7], "x": 7, "y": 3 }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 Joe Scotto
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// Define options
|
||||||
|
#define TAPPING_TERM 135
|
||||||
|
#define PERMISSIVE_HOLD
|
||||||
|
#define TAPPING_TERM_PER_KEY
|
@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 Joe Scotto
|
||||||
|
|
||||||
|
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] = {
|
||||||
|
[0] = LAYOUT_ortho_3x10_5(
|
||||||
|
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_BSPC,
|
||||||
|
LSFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, RSFT_T(KC_SLSH),
|
||||||
|
KC_LGUI, KC_LALT, LGUI_T(KC_SPC), LT(1, KC_TAB), LT(2, KC_ENT)
|
||||||
|
),
|
||||||
|
[1] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_UNDS, KC_MINS, KC_PLUS, KC_EQL, KC_COLN, KC_GRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_DEL,
|
||||||
|
KC_LCBR, KC_LPRN, KC_RPRN, KC_RCBR, KC_PIPE, KC_ESC, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT,
|
||||||
|
LSFT_T(KC_LBRC), KC_QUOT, KC_DQUO, KC_RBRC, KC_SCLN, KC_TILDE, KC_VOLD, KC_MUTE, KC_VOLU, RSFT_T(KC_BSLS),
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[2] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_CAPS, KC_BSPC,
|
||||||
|
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
||||||
|
KC_LSFT, KC_NO, KC_NO, KC_NO, MO(3), KC_NO, KC_NO, KC_COMM, KC_DOT, RSFT_T(KC_SLSH),
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[3] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||||
|
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
|
||||||
|
KC_F11, KC_NO, KC_NO, QK_BOOT, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
)
|
||||||
|
};
|
@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 Joe Scotto
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// Define options
|
||||||
|
#define TAPPING_TERM 135
|
||||||
|
#define PERMISSIVE_HOLD
|
||||||
|
#define TAPPING_TERM_PER_KEY
|
@ -0,0 +1,174 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2022 Joe Scotto
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
// Tap dance declarations
|
||||||
|
enum {
|
||||||
|
TD_LCTL_ESC_SPOTLIGHT_EMOJI,
|
||||||
|
TD_LALT_ESC_WINDOWS_EMOJI
|
||||||
|
};
|
||||||
|
|
||||||
|
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
switch (keycode) {
|
||||||
|
case TD(TD_LCTL_ESC_SPOTLIGHT_EMOJI) :
|
||||||
|
case TD(TD_LALT_ESC_WINDOWS_EMOJI) :
|
||||||
|
case LGUI_T(KC_SPC) :
|
||||||
|
case LT(1, KC_TAB) :
|
||||||
|
case LT(2, KC_ENT) :
|
||||||
|
return 200;
|
||||||
|
default:
|
||||||
|
return TAPPING_TERM;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Begin quad TD
|
||||||
|
typedef enum {
|
||||||
|
TD_NONE,
|
||||||
|
TD_UNKNOWN,
|
||||||
|
TD_SINGLE_HOLD,
|
||||||
|
TD_SINGLE_TAP,
|
||||||
|
TD_DOUBLE_TAP,
|
||||||
|
TD_TRIPLE_TAP
|
||||||
|
} td_state_t;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
bool is_press_action;
|
||||||
|
td_state_t state;
|
||||||
|
} td_tap_t;
|
||||||
|
|
||||||
|
// Create an instance of 'td_tap_t' for the 'x' tap dance.
|
||||||
|
static td_tap_t xtap_state = {
|
||||||
|
.is_press_action = true,
|
||||||
|
.state = TD_NONE
|
||||||
|
};
|
||||||
|
|
||||||
|
td_state_t cur_dance(tap_dance_state_t *state) {
|
||||||
|
if (state->count == 1) {
|
||||||
|
if (state->interrupted || !state->pressed) {
|
||||||
|
return TD_SINGLE_TAP;
|
||||||
|
} else {
|
||||||
|
return TD_SINGLE_HOLD;
|
||||||
|
}
|
||||||
|
} else if (state->count == 2) {
|
||||||
|
return TD_DOUBLE_TAP;
|
||||||
|
} else if (state->count == 3) {
|
||||||
|
return TD_TRIPLE_TAP;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TD_UNKNOWN;
|
||||||
|
}
|
||||||
|
|
||||||
|
void td_lctl_esc_spotlight_emoji_finished(tap_dance_state_t *state, void *user_data) {
|
||||||
|
xtap_state.state = cur_dance(state);
|
||||||
|
switch (xtap_state.state) {
|
||||||
|
case TD_SINGLE_TAP: register_code(KC_ESC); break;
|
||||||
|
case TD_SINGLE_HOLD: register_code(KC_LCTL); break;
|
||||||
|
case TD_DOUBLE_TAP: tap_code16(G(KC_SPC)); break;
|
||||||
|
case TD_TRIPLE_TAP: tap_code16(C(G(KC_SPC))); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void td_lctl_esc_spotlight_emoji_reset(tap_dance_state_t *state, void *user_data) {
|
||||||
|
switch (xtap_state.state) {
|
||||||
|
case TD_SINGLE_TAP: unregister_code(KC_ESC); break;
|
||||||
|
case TD_SINGLE_HOLD: unregister_code(KC_LCTL); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
xtap_state.state = TD_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
void td_lalt_esc_windowr_emoji_finished(tap_dance_state_t *state, void *user_data) {
|
||||||
|
xtap_state.state = cur_dance(state);
|
||||||
|
switch (xtap_state.state) {
|
||||||
|
case TD_SINGLE_TAP: register_code(KC_ESC); break;
|
||||||
|
case TD_SINGLE_HOLD: register_code(KC_LALT); break;
|
||||||
|
case TD_DOUBLE_TAP: tap_code(KC_LGUI); break;
|
||||||
|
case TD_TRIPLE_TAP: tap_code16(G(KC_DOT)); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void td_lalt_esc_windowr_emoji_reset(tap_dance_state_t *state, void *user_data) {
|
||||||
|
switch (xtap_state.state) {
|
||||||
|
case TD_SINGLE_TAP: unregister_code(KC_ESC); break;
|
||||||
|
case TD_SINGLE_HOLD: unregister_code(KC_LALT); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
xtap_state.state = TD_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Tap Dance definitions
|
||||||
|
tap_dance_action_t tap_dance_actions[] = {
|
||||||
|
[TD_LCTL_ESC_SPOTLIGHT_EMOJI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, td_lctl_esc_spotlight_emoji_finished, td_lctl_esc_spotlight_emoji_reset),
|
||||||
|
[TD_LALT_ESC_WINDOWS_EMOJI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, td_lalt_esc_windowr_emoji_finished, td_lalt_esc_windowr_emoji_reset),
|
||||||
|
};
|
||||||
|
// For the x tap dance. Put it here so it can be used in any keymap
|
||||||
|
void x_finished(tap_dance_state_t *state, void *user_data);
|
||||||
|
void x_reset(tap_dance_state_t *state, void *user_data);
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
[0] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_BSPC,
|
||||||
|
KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O,
|
||||||
|
LSFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMMA, KC_DOT, RSFT_T(KC_SLSH),
|
||||||
|
TD(TD_LCTL_ESC_SPOTLIGHT_EMOJI), KC_LALT, LGUI_T(KC_SPC), LT(1, KC_TAB), LT(2, KC_ENT)
|
||||||
|
),
|
||||||
|
[1] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_UNDS, KC_MINS, KC_PLUS, KC_EQL, KC_COLN, KC_GRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_DEL,
|
||||||
|
KC_LCBR, KC_LPRN, KC_RPRN, KC_RCBR, KC_PIPE, KC_ESC, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT,
|
||||||
|
LSFT_T(KC_LBRC), KC_QUOT, KC_DQUO, KC_RBRC, KC_SCLN, KC_TILDE, KC_VOLD, KC_MUTE, KC_VOLU, RSFT_T(KC_BSLS),
|
||||||
|
TD(TD_LCTL_ESC_SPOTLIGHT_EMOJI), KC_LALT, LGUI_T(KC_SPC), KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[2] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_CAPS, KC_BSPC,
|
||||||
|
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
||||||
|
KC_LSFT, KC_NO, KC_NO, KC_NO, MO(3), KC_NO, KC_NO, KC_COMM, KC_DOT, RSFT_T(KC_SLSH),
|
||||||
|
TD(TD_LCTL_ESC_SPOTLIGHT_EMOJI), KC_LALT, LGUI_T(KC_SPC), KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[3] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TO(4),
|
||||||
|
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
|
||||||
|
KC_F11, KC_NO, KC_NO, QK_BOOT, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12,
|
||||||
|
TD(TD_LCTL_ESC_SPOTLIGHT_EMOJI), KC_LALT, LGUI_T(KC_SPC), KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
[4] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_BSPC,
|
||||||
|
KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O,
|
||||||
|
LSFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMMA, KC_DOT, RSFT_T(KC_SLSH),
|
||||||
|
TD(TD_LALT_ESC_WINDOWS_EMOJI), KC_LCTL, KC_SPC, LT(5, KC_TAB), LT(6, KC_ENT)
|
||||||
|
),
|
||||||
|
[5] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_UNDS, KC_MINS, KC_PLUS, KC_EQL, KC_COLN, KC_GRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_DEL,
|
||||||
|
KC_LCBR, KC_LPRN, KC_RPRN, KC_RCBR, KC_PIPE, KC_ESC, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT,
|
||||||
|
LSFT_T(KC_LBRC), KC_QUOT, KC_DQUO, KC_RBRC, KC_SCLN, KC_TILDE, KC_VOLD, KC_MUTE, KC_VOLU, RSFT_T(KC_BSLS),
|
||||||
|
TD(TD_LALT_ESC_WINDOWS_EMOJI), KC_LCTL, KC_SPC, LT(5, KC_TAB), LT(6, KC_ENT)
|
||||||
|
),
|
||||||
|
[6] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_CAPS, KC_BSPC,
|
||||||
|
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
||||||
|
KC_LSFT, KC_NO, KC_NO, KC_NO, MO(7), KC_NO, KC_NO, KC_COMM, KC_DOT, RSFT_T(KC_SLSH),
|
||||||
|
TD(TD_LALT_ESC_WINDOWS_EMOJI), KC_LCTL, KC_SPC, LT(5, KC_TAB), LT(6, KC_ENT)
|
||||||
|
),
|
||||||
|
[7] = LAYOUT_ortho_3x10_5(
|
||||||
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TO(0),
|
||||||
|
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
|
||||||
|
KC_F11, KC_NO, KC_NO, QK_BOOT, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12,
|
||||||
|
TD(TD_LALT_ESC_WINDOWS_EMOJI), KC_LCTL, KC_SPC, LT(5, KC_TAB), LT(6, KC_ENT)
|
||||||
|
)
|
||||||
|
};
|
@ -0,0 +1 @@
|
|||||||
|
TAP_DANCE_ENABLE = yes
|
27
keyboards/handwired/scottokeebs/scottoalp/readme.md
Normal file
27
keyboards/handwired/scottokeebs/scottoalp/readme.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# ScottoAlp
|
||||||
|
|
||||||
|
![ScottoAlp](https://i.imgur.com/XKpYcMgh.jpeg)
|
||||||
|
|
||||||
|
A 35-key ortholinear keyboard with a 3u spacebar and is compatible with both MX or Alps. Case files available [here](https://github.com/joe-scotto/scottokeebs).
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [Joe Scotto](https://github.com/joe-scotto)
|
||||||
|
* Hardware Supported: ATmega32U4
|
||||||
|
* Hardware Availability: [Amazon](https://amazon.com)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make handwired/jscotto/scottoalp:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make handwired/jscotto/scottoalp: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
keyboards/handwired/scottokeebs/scottoalp/rules.mk
Normal file
1
keyboards/handwired/scottokeebs/scottoalp/rules.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
# This file intentionally left blank
|
@ -0,0 +1,72 @@
|
|||||||
|
// Copyright 2021-2023 Google LLC
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file custom_shift_keys.c
|
||||||
|
* @brief Custom Shift Keys implementation
|
||||||
|
*
|
||||||
|
* For full documentation, see
|
||||||
|
* <https://getreuer.info/posts/keyboards/custom-shift-keys>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "custom_shift_keys.h"
|
||||||
|
|
||||||
|
bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
static uint16_t registered_keycode = KC_NO;
|
||||||
|
|
||||||
|
// If a custom shift key is registered, then this event is either releasing
|
||||||
|
// it or manipulating another key at the same time. Either way, we release
|
||||||
|
// the currently registered key.
|
||||||
|
if (registered_keycode != KC_NO) {
|
||||||
|
unregister_code16(registered_keycode);
|
||||||
|
registered_keycode = KC_NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (record->event.pressed) { // Press event.
|
||||||
|
const uint8_t mods = get_mods();
|
||||||
|
#ifndef NO_ACTION_ONESHOT
|
||||||
|
if ((mods | get_weak_mods() | get_oneshot_mods()) & MOD_MASK_SHIFT) {
|
||||||
|
#else
|
||||||
|
if ((mods | get_weak_mods()) & MOD_MASK_SHIFT) { // Shift is held.
|
||||||
|
#endif // NO_ACTION_ONESHOT
|
||||||
|
// Continue default handling if this is a tap-hold key being held.
|
||||||
|
if ((IS_QK_MOD_TAP(keycode) || IS_QK_LAYER_TAP(keycode)) && record->tap.count == 0) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Search for a custom shift key whose keycode is `keycode`.
|
||||||
|
for (int i = 0; i < NUM_CUSTOM_SHIFT_KEYS; ++i) {
|
||||||
|
if (keycode == custom_shift_keys[i].keycode) {
|
||||||
|
registered_keycode = custom_shift_keys[i].shifted_keycode;
|
||||||
|
if (IS_QK_MODS(registered_keycode) && // Should keycode be shifted?
|
||||||
|
(QK_MODS_GET_MODS(registered_keycode) & MOD_LSFT) != 0) {
|
||||||
|
register_code16(registered_keycode); // If so, press it directly.
|
||||||
|
} else {
|
||||||
|
// Otherwise cancel shift mods, press the key, and restore mods.
|
||||||
|
del_weak_mods(MOD_MASK_SHIFT);
|
||||||
|
#ifndef NO_ACTION_ONESHOT
|
||||||
|
del_oneshot_mods(MOD_MASK_SHIFT);
|
||||||
|
#endif // NO_ACTION_ONESHOT
|
||||||
|
unregister_mods(MOD_MASK_SHIFT);
|
||||||
|
register_code16(registered_keycode);
|
||||||
|
set_mods(mods);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true; // Continue with default handling.
|
||||||
|
}
|
@ -0,0 +1,99 @@
|
|||||||
|
// Copyright 2021-2022 Google LLC
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file custom_shift_keys.h
|
||||||
|
* @brief Custom shift keys: customize what keycode is produced when shifted.
|
||||||
|
*
|
||||||
|
* Overview
|
||||||
|
* --------
|
||||||
|
*
|
||||||
|
* This library implements custom shift keys, keys where you can customize
|
||||||
|
* what keycode is produced when shifted.
|
||||||
|
*
|
||||||
|
* Step 1: In your keymap.c, define a table of custom shift keys like
|
||||||
|
*
|
||||||
|
* #include "features/custom_shift_keys.h"
|
||||||
|
*
|
||||||
|
* const custom_shift_key_t custom_shift_keys[] = {
|
||||||
|
* {KC_DOT , KC_QUES}, // Shift . is ?
|
||||||
|
* {KC_COMM, KC_EXLM}, // Shift , is !
|
||||||
|
* {KC_MINS, KC_EQL }, // Shift - is =
|
||||||
|
* {KC_COLN, KC_SCLN}, // Shift : is ;
|
||||||
|
* };
|
||||||
|
*
|
||||||
|
* Each row defines one key. The first field is the keycode as it appears in
|
||||||
|
* your layout and determines what is typed normally. The second entry is what
|
||||||
|
* you want the key to type when shifted.
|
||||||
|
*
|
||||||
|
* Step 2: Handle custom shift keys from your `process_record_user` function as
|
||||||
|
*
|
||||||
|
* bool process_record_user(uint16_t keycode, keyrecord_t* record) {
|
||||||
|
* if (!process_custom_shift_keys(keycode, record)) { return false; }
|
||||||
|
* // Your macros ...
|
||||||
|
*
|
||||||
|
* return true;
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* Step 3: add `features/custom_shift_keys.c` to your rules.mk as
|
||||||
|
*
|
||||||
|
* SRC += features/custom_shift_keys.c
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* For full documentation, see
|
||||||
|
* <https://getreuer.info/posts/keyboards/custom-shift-keys>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Custom shift key entry. The `keycode` field is the keycode as it appears in
|
||||||
|
* your layout and determines what is typed normally. The `shifted_keycode` is
|
||||||
|
* what you want the key to type when shifted.
|
||||||
|
*/
|
||||||
|
typedef struct {
|
||||||
|
uint16_t keycode;
|
||||||
|
uint16_t shifted_keycode;
|
||||||
|
} custom_shift_key_t;
|
||||||
|
|
||||||
|
/** Table of custom shift keys. */
|
||||||
|
extern const custom_shift_key_t custom_shift_keys[];
|
||||||
|
/** Number of entries in the `custom_shift_keys` table. */
|
||||||
|
extern uint8_t NUM_CUSTOM_SHIFT_KEYS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handler function for custom shift keys.
|
||||||
|
*
|
||||||
|
* In keymap.c, call this function from your `process_record_user` function as
|
||||||
|
*
|
||||||
|
* #include "features/custom_shift_keys.h"
|
||||||
|
*
|
||||||
|
* bool process_record_user(uint16_t keycode, keyrecord_t* record) {
|
||||||
|
* if (!process_custom_shift_keys(keycode, record)) { return false; }
|
||||||
|
* // Your macros ...
|
||||||
|
*
|
||||||
|
* return true;
|
||||||
|
* }
|
||||||
|
*/
|
||||||
|
bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
@ -14,6 +14,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
#include "features/custom_shift_keys.h"
|
||||||
|
|
||||||
#define FN_ESC LT(_FUNC, KC_ESC)
|
#define FN_ESC LT(_FUNC, KC_ESC)
|
||||||
|
|
||||||
@ -29,6 +30,10 @@ enum gentleman_keycodes {
|
|||||||
FUNC,
|
FUNC,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const custom_shift_key_t custom_shift_keys[] = {{KC_ESC, KC_TILD}};
|
||||||
|
|
||||||
|
uint8_t NUM_CUSTOM_SHIFT_KEYS = sizeof(custom_shift_keys) / sizeof(custom_shift_key_t);
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[_QWERTY] = LAYOUT_65_ansi_rwkl_split_bs(
|
[_QWERTY] = LAYOUT_65_ansi_rwkl_split_bs(
|
||||||
KC_ESC, 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_BSPC, KC_TRNS,
|
KC_ESC, 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_BSPC, KC_TRNS,
|
||||||
@ -78,6 +83,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
if (!process_custom_shift_keys(keycode, record)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case QWERTY:
|
case QWERTY:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
@ -93,4 +101,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
## Building and flashing
|
## Building and flashing
|
||||||
|
|
||||||
```
|
```
|
||||||
make gentleman65:briianpowell:flash
|
make jkeys_design/gentleman65:briianpowell:flash
|
||||||
```
|
```
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
SRC += features/custom_shift_keys.c
|
@ -0,0 +1,44 @@
|
|||||||
|
// Copyright 2023 QMK
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
88888888888 888 d8b .d888 d8b 888 d8b
|
||||||
|
888 888 Y8P d88P" Y8P 888 Y8P
|
||||||
|
888 888 888 888
|
||||||
|
888 88888b. 888 .d8888b 888888 888 888 .d88b. 888 .d8888b
|
||||||
|
888 888 "88b 888 88K 888 888 888 d8P Y8b 888 88K
|
||||||
|
888 888 888 888 "Y8888b. 888 888 888 88888888 888 "Y8888b.
|
||||||
|
888 888 888 888 X88 888 888 888 Y8b. 888 X88
|
||||||
|
888 888 888 888 88888P' 888 888 888 "Y8888 888 88888P'
|
||||||
|
888 888
|
||||||
|
888 888
|
||||||
|
888 888
|
||||||
|
.d88b. .d88b. 88888b. .d88b. 888d888 8888b. 888888 .d88b. .d88888
|
||||||
|
d88P"88b d8P Y8b 888 "88b d8P Y8b 888P" "88b 888 d8P Y8b d88" 888
|
||||||
|
888 888 88888888 888 888 88888888 888 .d888888 888 88888888 888 888
|
||||||
|
Y88b 888 Y8b. 888 888 Y8b. 888 888 888 Y88b. Y8b. Y88b 888
|
||||||
|
"Y88888 "Y8888 888 888 "Y8888 888 "Y888888 "Y888 "Y8888 "Y88888
|
||||||
|
888
|
||||||
|
Y8b d88P
|
||||||
|
"Y88P"
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// Autocorrection dictionary (4 entries):
|
||||||
|
// :alot -> a lot
|
||||||
|
// accesories -> accessories
|
||||||
|
// accomodate -> accommodate
|
||||||
|
// alledge -> allege
|
||||||
|
|
||||||
|
#define AUTOCORRECT_MIN_LENGTH 5 // ":alot"
|
||||||
|
#define AUTOCORRECT_MAX_LENGTH 10 // "accesories"
|
||||||
|
#define DICTIONARY_SIZE 73
|
||||||
|
|
||||||
|
static const uint8_t autocorrect_data[DICTIONARY_SIZE] PROGMEM = {
|
||||||
|
0x48, 0x0A, 0x00, 0x16, 0x2C, 0x00, 0x17, 0x3E, 0x00, 0x00, 0x4A, 0x11, 0x00, 0x17, 0x1B, 0x00,
|
||||||
|
0x00, 0x07, 0x08, 0x0F, 0x0F, 0x04, 0x00, 0x82, 0x67, 0x65, 0x00, 0x04, 0x07, 0x12, 0x10, 0x12,
|
||||||
|
0x06, 0x06, 0x04, 0x00, 0x84, 0x6D, 0x6F, 0x64, 0x61, 0x74, 0x65, 0x00, 0x08, 0x0C, 0x15, 0x12,
|
||||||
|
0x16, 0x08, 0x06, 0x06, 0x04, 0x00, 0x84, 0x73, 0x6F, 0x72, 0x69, 0x65, 0x73, 0x00, 0x12, 0x0F,
|
||||||
|
0x04, 0x2C, 0x00, 0x82, 0x20, 0x6C, 0x6F, 0x74, 0x00
|
||||||
|
};
|
19
keyboards/keyboardio/atreus/keymaps/slotthe/config.h
Normal file
19
keyboards/keyboardio/atreus/keymaps/slotthe/config.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/* © 2023 Tony Zorman <soliditsallgood@mailbox.org> (@slotThe)
|
||||||
|
*
|
||||||
|
* 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 3 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
|
||||||
|
#define TAPPING_TERM 175
|
||||||
|
#define HOLD_ON_OTHER_KEY_PRESS
|
328
keyboards/keyboardio/atreus/keymaps/slotthe/keymap.c
Normal file
328
keyboards/keyboardio/atreus/keymaps/slotthe/keymap.c
Normal file
@ -0,0 +1,328 @@
|
|||||||
|
/* © 2023 Tony Zorman <soliditsallgood@mailbox.org> (@slotThe)
|
||||||
|
*
|
||||||
|
* 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 3 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
|
||||||
|
|
||||||
|
// NOTE: `M-x occur RET /// RET' gives a good overview.
|
||||||
|
|
||||||
|
/// General macros
|
||||||
|
|
||||||
|
#define LSPR_SC LGUI_T(KC_SCLN)
|
||||||
|
#define LALT_BR LALT_T(KC_LBRC)
|
||||||
|
#define LSFT_INS LSFT(KC_INS)
|
||||||
|
#define OSMSFT OSM(MOD_LSFT)
|
||||||
|
#define Z_SFT LSFT_T(KC_Z)
|
||||||
|
#define ZE_SFT LSFT_T(KC_0)
|
||||||
|
#define SL_SFT RSFT_T(KC_SLSH)
|
||||||
|
#define RETSPR LGUI_T(KC_ENT)
|
||||||
|
|
||||||
|
/// Tap dance declarations
|
||||||
|
|
||||||
|
// So far, tap dances do different things on
|
||||||
|
//
|
||||||
|
// - a single press,
|
||||||
|
// - a double press,
|
||||||
|
// - when held,
|
||||||
|
//
|
||||||
|
// so expect this many keys as comments.
|
||||||
|
enum tap_dances {
|
||||||
|
ALT_BR, // [ ] lalt (also works shifted, which gets us { and } for free)
|
||||||
|
CTL_PR, // ( ) lctl
|
||||||
|
SFT_CI, // ^ ^ lsft (working around LSFT_T not being able to output shifted keys)
|
||||||
|
SFT_EX, // ! ! lsft (ditto)
|
||||||
|
};
|
||||||
|
|
||||||
|
#define CTLPAR TD(CTL_PR)
|
||||||
|
#define ALTBRC TD(ALT_BR)
|
||||||
|
#define SFTCRC TD(SFT_CI)
|
||||||
|
#define SFTEXL TD(SFT_EX)
|
||||||
|
|
||||||
|
/// Macro declarations
|
||||||
|
|
||||||
|
enum custom_keycodes {
|
||||||
|
// -> <- =<< >>= <*> <* *> <$> <&> <|> => ::
|
||||||
|
RARR = SAFE_RANGE, LARR, LBND, RBND, APP, RAPP, LAPP, FMAP, PAMF, AALT, IMPLS, DCOL,
|
||||||
|
};
|
||||||
|
|
||||||
|
/// Key overrides
|
||||||
|
|
||||||
|
const key_override_t **key_overrides = (const key_override_t *[]){
|
||||||
|
&ko_make_basic(MOD_MASK_SHIFT, KC_BSPC, KC_DEL), // S-BSP ≡ DEL
|
||||||
|
// Emacs got me used to these, so let's convince other programs that
|
||||||
|
// we are in fact sending the correct keys.
|
||||||
|
&ko_make_basic(MOD_MASK_CTRL, KC_I, KC_TAB), // C-i ≡ Tab
|
||||||
|
&ko_make_basic(MOD_MASK_CTRL, KC_M, KC_ENT), // C-m ≡ Return
|
||||||
|
NULL // Null terminate the array of overrides
|
||||||
|
};
|
||||||
|
|
||||||
|
/// Layers
|
||||||
|
|
||||||
|
enum layer_names { _COLEMAK_DH, _LOWER, _RAISE, _ADJUST };
|
||||||
|
|
||||||
|
#define LOWER MO(_LOWER)
|
||||||
|
#define RAISE MO(_RAISE)
|
||||||
|
#define ADJUST MO(_ADJUST)
|
||||||
|
#define D_RAISE LT(_RAISE, KC_DOT)
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
/* Colemak base layer
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| Q | W | F | P | B | | J | L | U | Y | ;+S |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| A | R | S | T | G | | M | N | E | I | O |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| S+Z | X | C | D | V | ARP | REP | K | H | , | . | S+/ |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| ESC | TAB | SPR | L1 | SPC | A[] | BSC | C() | L2 | - | ' | RET |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
*/
|
||||||
|
[_COLEMAK_DH] = LAYOUT(
|
||||||
|
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, LSPR_SC,
|
||||||
|
KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O,
|
||||||
|
Z_SFT, KC_X, KC_C, KC_D, KC_V, QK_AREP, QK_REP, KC_K, KC_H, KC_COMM, D_RAISE, SL_SFT,
|
||||||
|
KC_ESC, KC_TAB, KC_LGUI, LOWER, KC_SPC, ALTBRC, KC_BSPC, CTLPAR, RAISE, KC_MINS, KC_QUOT, KC_ENT),
|
||||||
|
|
||||||
|
/* Layer 1 (LOWER)
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------.
|
||||||
|
| & | *> | >>= | <&> | | | = | + | * | - | RET+M |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------.
|
||||||
|
| :: | => | =<< | <|> | @ | | LFT | UP | DWN | RGT | \ |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------.
|
||||||
|
| !+S | <* | <*> | <$> | <- | | MEN | -> | $ | # | % | ^+S |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------.
|
||||||
|
| | | | | | | | | L3 | ALT | | S-I |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------.
|
||||||
|
*/
|
||||||
|
[_LOWER] = LAYOUT(
|
||||||
|
KC_AMPR, RAPP, RBND, PAMF, _______, KC_EQL, KC_PLUS, KC_ASTR, KC_MINS, RETSPR,
|
||||||
|
DCOL, IMPLS, LBND, AALT, KC_AT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BSLS,
|
||||||
|
SFTEXL, LAPP, APP, FMAP, LARR, _______, KC_APP, RARR, KC_DLR, KC_HASH, KC_PERC, SFTCRC,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, ADJUST, KC_LALT, _______, LSFT_INS),
|
||||||
|
|
||||||
|
/* Layer 2 (RAISE)
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| | 7 | 8 | 9 | | | | + | * | - | |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| : | 4 | 5 | 6 | = | | & | ` | _ | ' | " |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| 0+S | 1 | 2 | 3 | | | | | ! | # | % | ^+S |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| | | | L3 | | | | | | | | |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
*/
|
||||||
|
[_RAISE] = LAYOUT(
|
||||||
|
KC_DOT, KC_7, KC_8, KC_9, _______, _______, KC_PLUS, KC_ASTR, KC_MINS, _______,
|
||||||
|
KC_COLN, KC_4, KC_5, KC_6, KC_EQL, KC_AMPR, KC_GRV, KC_UNDS, KC_QUOT, KC_DQT,
|
||||||
|
ZE_SFT, KC_1, KC_2, KC_3, _______, _______, _______, _______, KC_EXLM, KC_HASH, KC_PERC, SFTCRC,
|
||||||
|
_______, _______, _______, ADJUST, _______, _______, _______, _______, _______, _______, _______, _______),
|
||||||
|
|
||||||
|
/* Layer 3 (ADJUST)
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | F7 | F8 | F9 | F10 |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | F4 | F5 | F6 | F11 |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | | F1 | F2 | F3 | F12 |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | | | | | |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
*/
|
||||||
|
[_ADJUST] = LAYOUT(
|
||||||
|
_______, _______, _______, _______, AC_TOGG, _______, KC_F7, KC_F8, KC_F9, KC_F10,
|
||||||
|
_______, _______, _______, _______, _______, _______, KC_F4, KC_F5, KC_F6, KC_F11,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F12,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______)
|
||||||
|
};
|
||||||
|
|
||||||
|
/// Macro definitions
|
||||||
|
|
||||||
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
switch (keycode) {
|
||||||
|
case RARR:
|
||||||
|
if (record->event.pressed) SEND_STRING("->"); break;
|
||||||
|
case LARR:
|
||||||
|
if (record->event.pressed) SEND_STRING("<-"); break;
|
||||||
|
case LBND:
|
||||||
|
if (record->event.pressed) SEND_STRING("=<<"); break;
|
||||||
|
case RBND:
|
||||||
|
if (record->event.pressed) SEND_STRING(">>="); break;
|
||||||
|
case APP:
|
||||||
|
if (record->event.pressed) SEND_STRING("<*>"); break;
|
||||||
|
case RAPP:
|
||||||
|
if (record->event.pressed) SEND_STRING("*>"); break;
|
||||||
|
case LAPP:
|
||||||
|
if (record->event.pressed) SEND_STRING("<*"); break;
|
||||||
|
case FMAP:
|
||||||
|
if (record->event.pressed) SEND_STRING("<$>"); break;
|
||||||
|
case PAMF:
|
||||||
|
if (record->event.pressed) SEND_STRING("<&>"); break;
|
||||||
|
case AALT:
|
||||||
|
if (record->event.pressed) SEND_STRING("<|>"); break;
|
||||||
|
case IMPLS:
|
||||||
|
if (record->event.pressed) SEND_STRING("=>"); break;
|
||||||
|
case DCOL:
|
||||||
|
if (record->event.pressed) SEND_STRING("::"); break;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
|
||||||
|
//// Tap dance definitions
|
||||||
|
|
||||||
|
// Heavily inspired by:
|
||||||
|
//
|
||||||
|
// https://docs.qmk.fm/?ref=blog.splitkb.com#/feature_tap_dance?id=example-4
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
TD_NONE,
|
||||||
|
TD_UNKNOWN,
|
||||||
|
TD_SINGLE_TAP,
|
||||||
|
TD_SINGLE_HOLD,
|
||||||
|
TD_DOUBLE_TAP,
|
||||||
|
} td_state_t;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
bool is_press_action;
|
||||||
|
td_state_t state;
|
||||||
|
} td_tap_t;
|
||||||
|
|
||||||
|
// Return an integer that corresponds to what kind of tap dance should
|
||||||
|
// be executed.
|
||||||
|
//
|
||||||
|
// Interrupted: If the state of a dance is "interrupted", that means
|
||||||
|
// that another key has been hit under the tapping term.
|
||||||
|
//
|
||||||
|
// Pressed: Whether or not the key is still being pressed. If this value
|
||||||
|
// is true, that means the tapping term has ended, but the key is still
|
||||||
|
// being pressed down. This generally means the key is being "held".
|
||||||
|
td_state_t cur_dance(tap_dance_state_t *state) {
|
||||||
|
if (state->count == 1) {
|
||||||
|
if (state->pressed) return TD_SINGLE_HOLD;
|
||||||
|
else return TD_SINGLE_TAP;
|
||||||
|
} else if (state->count == 2) return TD_DOUBLE_TAP;
|
||||||
|
else return TD_UNKNOWN;
|
||||||
|
}
|
||||||
|
|
||||||
|
//// ALT_BR
|
||||||
|
|
||||||
|
static td_tap_t alt_br_state = {
|
||||||
|
.is_press_action = true,
|
||||||
|
.state = TD_NONE
|
||||||
|
};
|
||||||
|
|
||||||
|
void lalt_br_finished(tap_dance_state_t *state, void *user_data) {
|
||||||
|
alt_br_state.state = cur_dance(state);
|
||||||
|
switch (alt_br_state.state) {
|
||||||
|
case TD_SINGLE_TAP: register_code(KC_LBRC); break;
|
||||||
|
case TD_SINGLE_HOLD: register_code(KC_LALT); break;
|
||||||
|
case TD_DOUBLE_TAP: register_code(KC_RBRC); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void lalt_br_reset(tap_dance_state_t *state, void *user_data) {
|
||||||
|
switch (alt_br_state.state) {
|
||||||
|
case TD_SINGLE_TAP: unregister_code(KC_LBRC); break;
|
||||||
|
case TD_SINGLE_HOLD: unregister_code(KC_LALT); break;
|
||||||
|
case TD_DOUBLE_TAP: unregister_code(KC_RBRC); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
alt_br_state.state = TD_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
//// LCTL_PR
|
||||||
|
|
||||||
|
static td_tap_t lctl_pr_state = {
|
||||||
|
.is_press_action = true,
|
||||||
|
.state = TD_NONE
|
||||||
|
};
|
||||||
|
|
||||||
|
void lctl_pr_finished(tap_dance_state_t *state, void *user_data) {
|
||||||
|
lctl_pr_state.state = cur_dance(state);
|
||||||
|
switch (lctl_pr_state.state) {
|
||||||
|
case TD_SINGLE_TAP: register_code16(KC_LPRN); break;
|
||||||
|
case TD_SINGLE_HOLD: register_code(KC_LCTL); break;
|
||||||
|
case TD_DOUBLE_TAP: register_code16(KC_RPRN); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void lctl_pr_reset(tap_dance_state_t *state, void *user_data) {
|
||||||
|
switch (lctl_pr_state.state) {
|
||||||
|
case TD_SINGLE_TAP: unregister_code16(KC_LPRN); break;
|
||||||
|
case TD_SINGLE_HOLD: unregister_code(KC_LCTL); break;
|
||||||
|
case TD_DOUBLE_TAP: unregister_code16(KC_RPRN); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
lctl_pr_state.state = TD_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
//// SFT_CI
|
||||||
|
|
||||||
|
static td_tap_t lsft_ci_state = {
|
||||||
|
.is_press_action = true,
|
||||||
|
.state = TD_NONE
|
||||||
|
};
|
||||||
|
|
||||||
|
void lsft_ci_finished(tap_dance_state_t *state, void *user_data) {
|
||||||
|
lsft_ci_state.state = cur_dance(state);
|
||||||
|
switch (lsft_ci_state.state) {
|
||||||
|
case TD_SINGLE_TAP: register_code16(KC_CIRC); break;
|
||||||
|
case TD_SINGLE_HOLD: register_code(KC_LSFT); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void lsft_ci_reset(tap_dance_state_t *state, void *user_data) {
|
||||||
|
switch (lsft_ci_state.state) {
|
||||||
|
case TD_SINGLE_TAP: unregister_code16(KC_CIRC); break;
|
||||||
|
case TD_SINGLE_HOLD: unregister_code(KC_LSFT); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
lsft_ci_state.state = TD_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
//// SFT_EX
|
||||||
|
|
||||||
|
static td_tap_t lsft_ex_state = {
|
||||||
|
.is_press_action = true,
|
||||||
|
.state = TD_NONE
|
||||||
|
};
|
||||||
|
|
||||||
|
void lsft_ex_finished(tap_dance_state_t *state, void *user_data) {
|
||||||
|
lsft_ex_state.state = cur_dance(state);
|
||||||
|
switch (lsft_ex_state.state) {
|
||||||
|
case TD_SINGLE_TAP: register_code16(KC_EXLM); break;
|
||||||
|
case TD_SINGLE_HOLD: register_code(KC_LSFT); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void lsft_ex_reset(tap_dance_state_t *state, void *user_data) {
|
||||||
|
switch (lsft_ex_state.state) {
|
||||||
|
case TD_SINGLE_TAP: unregister_code16(KC_EXLM); break;
|
||||||
|
case TD_SINGLE_HOLD: unregister_code(KC_LSFT); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
lsft_ex_state.state = TD_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
//// Actually define the tap-dance actions
|
||||||
|
|
||||||
|
tap_dance_action_t tap_dance_actions[] = {
|
||||||
|
[ALT_BR] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lalt_br_finished, lalt_br_reset),
|
||||||
|
[CTL_PR] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lctl_pr_finished, lctl_pr_reset),
|
||||||
|
[SFT_CI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lsft_ci_finished, lsft_ci_reset),
|
||||||
|
[SFT_EX] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lsft_ex_finished, lsft_ex_reset),
|
||||||
|
};
|
251
keyboards/keyboardio/atreus/keymaps/slotthe/readme.md
Normal file
251
keyboards/keyboardio/atreus/keymaps/slotthe/readme.md
Normal file
@ -0,0 +1,251 @@
|
|||||||
|
# SlotThe's Keyboardio Atreus Keymap
|
||||||
|
|
||||||
|
Note: the following is (a relevant and shortened) excerpt from [this
|
||||||
|
rewiev](https://tony-zorman.com/posts/atreus-review.html) of the
|
||||||
|
keyboard itself. See there for, e.g., some thoughts about modifier
|
||||||
|
placement.
|
||||||
|
|
||||||
|
## Base layer
|
||||||
|
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.------.
|
||||||
|
| Q | W | F | P | B | | J | L | U | Y | M4+; |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.------.
|
||||||
|
| A | R | S | T | G | | M | N | E | I | O |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.------.
|
||||||
|
| S+Z | X | C | D | V | ARP | REP | K | H | , | . | S+/ |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.------.
|
||||||
|
| ESC | TAB | M4 | L1 | SPC | A[] | BSC | C() | L2 | - | ' | RET |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.------.
|
||||||
|
|
||||||
|
I use [Colemak Mod-DH][colemak-dh] as my layout, so this takes up most of the base of the keyboard.
|
||||||
|
|
||||||
|
Perhaps strikingly, I opted for not putting Shift on the thumb,
|
||||||
|
but recreating the "ordinary" one-on-each-side setup from the good old typewriter days.
|
||||||
|
While I already have a key to access the `LOWER` (L1) layer with my left thumb,
|
||||||
|
I had to sacrifice Shift so I could fit a key to the `RAISE` (L2) layer on the right thumb.
|
||||||
|
This also jumps to the `ADJUST` (L3) layer when both `LOWER` and `RAISE` are held at the same time.
|
||||||
|
I will gladly trade two layers for one Shift key.
|
||||||
|
|
||||||
|
One of the most basic things—besides having layers—that one can do with QMK is [mod-taps][qmk:mod-tap].
|
||||||
|
These are keys that act as modifiers when held, and as "ordinary" keys when pressed.
|
||||||
|
For example, all of the `S+«key»` keys emit Shift when held and `«key»` when pressed.
|
||||||
|
There is a slight delay between pressing the key and the press registering,
|
||||||
|
since we have to wait for a possible tap,
|
||||||
|
which keeps me from using modifiers on the home-row, as some people like to do.
|
||||||
|
Likewise, the `M4+;` key acts as Super when held and as `;` when pressed.
|
||||||
|
At this point, it is actually my main way to press the Super key,
|
||||||
|
even though I don't find the real `M4` key particularly hard to hit with my thumb.
|
||||||
|
Sometimes these things just happen,
|
||||||
|
I suppose,
|
||||||
|
though it may help that I press both outer keys of the top row (that is, `q` and `;`) with my ring finger
|
||||||
|
instead of my pinky.
|
||||||
|
|
||||||
|
The `A[]` and `C()` keys are utilising [tap dances][qmk:tap-dance],
|
||||||
|
in order to do even more.
|
||||||
|
Tap dances are very similar to mod-taps,
|
||||||
|
only in addition to just differentiating between a "pressed" and a "held" state,
|
||||||
|
QMK now also keeps track of *how often* a key has been tapped.
|
||||||
|
So far, [my setup][qmk:slotthe:tapdances] here is quite basic;
|
||||||
|
I only check whether a key was pressed once, twice, or is being held.
|
||||||
|
This allows me to not need extra keys for parentheses,
|
||||||
|
as they can fit on the modifier keys:
|
||||||
|
|
||||||
|
- `A[]`: Alt when held, `[` when pressed once, and `]` when pressed twice.
|
||||||
|
This one is especially neat, since tap dances play well with other modifiers,
|
||||||
|
so pressing `S-M1` once will result in `{` and pressing it twice gives `}`.
|
||||||
|
|
||||||
|
- `C()`: Control when held, `(` when pressed once, and `)` when pressed twice.
|
||||||
|
|
||||||
|
I don't mind having the extra indirection for the respective closed delimiter,
|
||||||
|
as [paredit][emacs:paredit],
|
||||||
|
[puni][emacs:puni],
|
||||||
|
`electric-pair-mode`,
|
||||||
|
or a different package of choice usually takes care of inserting it.
|
||||||
|
|
||||||
|
The `REP` and `AREP` keys make use of the [Repeat Key][qmk:repeat-key] functionality;
|
||||||
|
basically, `REP` executes the key chord that was last pressed.
|
||||||
|
On the other hand,
|
||||||
|
`AREP` is an alternative, configurable, of "repeating" things;
|
||||||
|
by default, it turns some directional movements
|
||||||
|
around—e.g., `M-f` becomes `M-b`—but
|
||||||
|
it can be made to pretty much input anything one wants.
|
||||||
|
|
||||||
|
## Layer 1
|
||||||
|
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------.
|
||||||
|
| & | *> | >>= | <&> | | | = | + | * | - | M4+RT |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------.
|
||||||
|
| :: | => | =<< | <|> | @ | | LFT | UP | DWN | RGT | \ |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------.
|
||||||
|
| S+! | <* | <*> | <$> | <- | | MEN | -> | $ | # | % | S+^ |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------.
|
||||||
|
| | | | | | | | | L3 | ALT | | S-Ins |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------.
|
||||||
|
|
||||||
|
Guess which programming language I like based on this layer's [macros][qmk:macros] :).
|
||||||
|
|
||||||
|
Crucially, keys that were "Shift when held,
|
||||||
|
*something* when pressed" on the base layer retain the Shift part of that functionality.
|
||||||
|
This is used for the commutativity of the modifier
|
||||||
|
keys—i.e., it does not matter whether I press `S-L1-«key»` or `L1-S-«key»`—which
|
||||||
|
would otherwise drive me insane.
|
||||||
|
The same goes for all fall-through keys:
|
||||||
|
keys that appear blank in the above layout.
|
||||||
|
These aren't blocked or anything,
|
||||||
|
just no new functionality is added
|
||||||
|
so the key falls back to what's on the next lowest layer.
|
||||||
|
In plain terms,
|
||||||
|
the key to the left of `L3` will still be Control,
|
||||||
|
as I can comfortably press that while holding down something with my left hand.
|
||||||
|
The same can't be said for the Alt key,
|
||||||
|
which is on the left hand by default,
|
||||||
|
so a separate binding for it has to be created on the right hand.
|
||||||
|
Thus,
|
||||||
|
as the two don't commute,
|
||||||
|
key chords involving the LOWER layer and Alt are to be avoided if possible.
|
||||||
|
|
||||||
|
The `S-Ins` key is not some sort of tap,
|
||||||
|
but actually just emits a Shift-Insert,
|
||||||
|
which can be used to paste stuff from the [X11 primary selection][x11:clipboard].
|
||||||
|
|
||||||
|
## Layer 2
|
||||||
|
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| | 7 | 8 | 9 | | | | + | * | - | |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| : | 4 | 5 | 6 | = | | | ` | _ | ' | " |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| S+0 | 1 | 2 | 3 | | | | | | # | % | S+^ |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| | | | L3 | | | | | | | | |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
|
||||||
|
A relatively unspectacular layer,
|
||||||
|
RAISE is mainly used for numbers,
|
||||||
|
and number adjacent things.
|
||||||
|
Some symbols related to this,
|
||||||
|
like `=`, `+`, `*`, and `-`,
|
||||||
|
are replicated from the LOWER layer.
|
||||||
|
This is due to the above mentioned issues of inserting arithmetic.
|
||||||
|
This layer also features \` and `'` quite prominently,
|
||||||
|
as these are important for [CDLaTeX].
|
||||||
|
Plus, putting `'` and `"` on this layer circumvents the difficult to hit key on the base layer.
|
||||||
|
|
||||||
|
## Layer 3
|
||||||
|
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | F7 | F8 | F9 | F10 |
|
||||||
|
.-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | F4 | F5 | F6 | F11 |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | | F1 | F2 | F3 | F12 |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
| | | | | | | | | | | | |
|
||||||
|
.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.
|
||||||
|
|
||||||
|
So far, only the seldom used F-keys are present here.
|
||||||
|
As should be obvious, this is the least developed layer,
|
||||||
|
and also the one that'll probably change the most in the future.
|
||||||
|
Currently, I'm thinking of putting some XMonad specific bindings on here,
|
||||||
|
which could even to free up the Super key to be used inside of Emacs
|
||||||
|
for certain things—that would certainly be a worthwhile experiment.
|
||||||
|
Other thoughts include things like volume and brightness controls,
|
||||||
|
although this is less critical since my laptop keyboard is never far away.
|
||||||
|
|
||||||
|
## Other features
|
||||||
|
|
||||||
|
There are some features that aren't necessarily reflected in the keys themselves,
|
||||||
|
yet are quite essential for day-to-day use.
|
||||||
|
The TL;DR can be found in [rules.mk][./rules.mk].
|
||||||
|
|
||||||
|
### [Key overrides][qmk:key-overrides]
|
||||||
|
|
||||||
|
Quoting from the documentation
|
||||||
|
|
||||||
|
> Key overrides allow you to override modifier-key combinations to send a different modifier-key combination
|
||||||
|
> or perform completely custom actions.
|
||||||
|
|
||||||
|
Some keys on the keyboard are quite hard to hit.
|
||||||
|
On the default layout,
|
||||||
|
one of these turns out to be the Tab key,
|
||||||
|
which is nonetheless important in a lot of situations.
|
||||||
|
Conveniently, Emacs interprets `C-i` as Tab, so there is less need to actually hit the "real" key.
|
||||||
|
However, not all programs are quite so understanding—or old, I guess.
|
||||||
|
With key overrides, one can send a real `TAB` whenever `C-i` is pressed;
|
||||||
|
no special convention on how to interpret certain key chords required!
|
||||||
|
I also rebound `C-m` to `RET` (with the same justification), and `S-BSP` to `DEL`.
|
||||||
|
|
||||||
|
This is one of those features that I didn't know I needed,
|
||||||
|
yet now couldn't live without anymore.
|
||||||
|
I'm definitely looking forward to discovering new and interesting ways of using this!
|
||||||
|
|
||||||
|
### [Autocorrect][qmk:autocorrect]
|
||||||
|
|
||||||
|
This is a quaint little feature: auto-correct inside of your keyboard's firmware!
|
||||||
|
I promise that it's not as bad as it sounds.
|
||||||
|
It does not work automatically, thankfully, but is based off a given list of replacements.
|
||||||
|
For example,
|
||||||
|
|
||||||
|
widht -> width
|
||||||
|
|
||||||
|
would fire anytime one writes `widht`, which then gets replaced by `width`.
|
||||||
|
This is based on (a trie of) the most recently pressed keys,
|
||||||
|
so whenever one actually wants to write `widht`
|
||||||
|
all that's needed is pressing, for example, any modifier during the insertion.
|
||||||
|
|
||||||
|
As I've really just been trying this out for a laugh, my current word list is quite short:
|
||||||
|
|
||||||
|
:alot -> a lot
|
||||||
|
accesories -> accessories
|
||||||
|
accomodate -> accommodate
|
||||||
|
alledge -> allege
|
||||||
|
|
||||||
|
In general,
|
||||||
|
I think the solution to stop misspelling a word is not to remap key sequences on the firmware level,
|
||||||
|
but to—you know—learn how to spell that word.
|
||||||
|
Still,
|
||||||
|
I can imagine at least one or two use-cases where something like this could be useful,
|
||||||
|
so I figured it might be nice to make people aware of this features' existence.
|
||||||
|
|
||||||
|
In addition—as I've found out on three separate occasions so far—using the words "auto-correct, but in firmware"
|
||||||
|
makes people stare in utter disbelief and/or disgust at your keyboard.
|
||||||
|
That alone makes this feature worth it.
|
||||||
|
|
||||||
|
### [Caps Word][qmk:caps-word]
|
||||||
|
|
||||||
|
Caps Word is a clever alternative to Caps Lock,
|
||||||
|
which I enable by pressing both Shift keys together.
|
||||||
|
After that,
|
||||||
|
all of the letter keys are shifted,
|
||||||
|
and `-` becomes `_`
|
||||||
|
until a different key (excluding common sense ones like backspace) is pressed.
|
||||||
|
This is very useful for, e.g.,
|
||||||
|
writing long constants,
|
||||||
|
as these tend to have capital names separated with underscores:
|
||||||
|
writing `BOTH_SHIFTS_TURNS_ON_CAPS_WORD` has never been easier!
|
||||||
|
|
||||||
|
One thing to note is that,
|
||||||
|
while layer switching works just fine in "Caps Word mode",
|
||||||
|
the [Tri Layer][qmk:tri-layer] feature does not seem to play nicely with it;
|
||||||
|
i.e., the mode gets disabled when switching to these layers.
|
||||||
|
This is also the reason why I have an explicit LOWER, RAISE, and ADJUST setup,
|
||||||
|
instead of just using Tri Layer.
|
||||||
|
One could fiddle with the `caps_word_press_user` callback,
|
||||||
|
but it seemed much easier to just create one additional layer toggle instead.
|
||||||
|
I haven't looked at how hard it would be to hack this into Caps Word,
|
||||||
|
so maybe this is a future pull request.
|
||||||
|
|
||||||
|
[CDLaTeX]: https://github.com/cdominik/cdlatex
|
||||||
|
[colemak-dh]: https://colemakmods.github.io/mod-dh/
|
||||||
|
[emacs:paredit]: https://paredit.org/
|
||||||
|
[emacs:puni]: https://github.com/AmaiKinono/puni
|
||||||
|
[qmk:autocorrect]: https://docs.qmk.fm/#/feature_autocorrect
|
||||||
|
[qmk:caps-word]: https://docs.qmk.fm/#/feature_caps_word
|
||||||
|
[qmk:key-overrides]: https://docs.qmk.fm/#/feature_key_overrides
|
||||||
|
[qmk:macros]: https://docs.qmk.fm/#/feature_macros
|
||||||
|
[qmk:mod-tap]: https://docs.qmk.fm/#/mod_tap
|
||||||
|
[qmk:repeat-key]: https://docs.qmk.fm/#/feature_repeat_key
|
||||||
|
[qmk:slotthe:tapdances]: https://github.com/slotThe/qmk_firmware/blob/keyboardio/atreus/slotThe/keyboards/keyboardio/atreus/keymaps/slotThe/keymap.c#L187
|
||||||
|
[qmk:tap-dance]: https://docs.qmk.fm/#/feature_tap_dance
|
||||||
|
[qmk:tri-layer]: https://docs.qmk.fm/#/feature_tri_layer
|
||||||
|
[x11:clipboard]: https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html
|
9
keyboards/keyboardio/atreus/keymaps/slotthe/rules.mk
Normal file
9
keyboards/keyboardio/atreus/keymaps/slotthe/rules.mk
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
TAP_DANCE_ENABLE = yes
|
||||||
|
KEY_OVERRIDE_ENABLE = yes
|
||||||
|
AUTOCORRECT_ENABLE = yes
|
||||||
|
CAPS_WORD_ENABLE = yes
|
||||||
|
REPEAT_KEY_ENABLE = yes
|
||||||
|
|
||||||
|
LTO_ENABLE = yes
|
||||||
|
COMMAND_ENABLE = no
|
||||||
|
MOUSEKEY_ENABLE = no
|
@ -5,6 +5,9 @@
|
|||||||
|
|
||||||
#define LAYER_STATE_8BIT
|
#define LAYER_STATE_8BIT
|
||||||
|
|
||||||
|
#define TURBO_ENABLE
|
||||||
|
#define HOLD_ON_OTHER_KEY_PRESS
|
||||||
|
|
||||||
// RGB Matrix effects disable
|
// RGB Matrix effects disable
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define UNDERGLOW_DISABLE
|
# define UNDERGLOW_DISABLE
|
||||||
|
@ -50,6 +50,26 @@ void dynamic_macro_record_end_user(int8_t direction) {
|
|||||||
#define MCR_SWT KC_NO
|
#define MCR_SWT KC_NO
|
||||||
#endif // DYNAMIC_MACRO_ENABLE
|
#endif // DYNAMIC_MACRO_ENABLE
|
||||||
|
|
||||||
|
#ifdef TURBO_ENABLE
|
||||||
|
static bool turbo_active = false; // Only changed by TRBO_ST
|
||||||
|
static uint16_t turbo_keycode = KC_NO; // turbo_active can't be true if this is KC_NO
|
||||||
|
static bool turbo_key_pressed = false;
|
||||||
|
static bool turbo_keycode_selecting = false; // Determine new keycode or delay mode switch
|
||||||
|
static bool turbo_ms_delay_direction = true; // True is raise the delay, false is lower it
|
||||||
|
static uint16_t turbo_ms_delay_direction_indicator = 0;
|
||||||
|
static uint16_t turbo_ms_delay = 100; // Start at sending keycodes 10 times a second
|
||||||
|
static uint16_t turbo_timer; // Changed semi automatically
|
||||||
|
/*
|
||||||
|
* Because the KC's are wrapped in `LT()` they won't be interpreted as KC_NO or KC_TRNS
|
||||||
|
* Instead they'll just be like any other custom KC which will let me use them how I want
|
||||||
|
*/
|
||||||
|
#define TRBO_ST LT(_CTR, KC_NO )
|
||||||
|
#define TRBO_TI LT(_CTR, KC_TRNS)
|
||||||
|
#else
|
||||||
|
#define TRBO_ST KC_NO
|
||||||
|
#define TRBO_TI KC_NO
|
||||||
|
#endif
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[_END][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[_END][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[_MAIN] = LAYOUT_planck_mit(
|
[_MAIN] = LAYOUT_planck_mit(
|
||||||
KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC,
|
KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC,
|
||||||
@ -67,7 +87,7 @@ const uint16_t PROGMEM keymaps[_END][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
XXXXXXX, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, XXXXXXX, XXXXXXX, KC_VOLU, XXXXXXX, XXXXXXX, MCR_REC,
|
XXXXXXX, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, XXXXXXX, XXXXXXX, KC_VOLU, XXXXXXX, XXXXXXX, MCR_REC,
|
||||||
XXXXXXX, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, MCR_PLY,
|
XXXXXXX, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, MCR_PLY,
|
||||||
XXXXXXX, XXXXXXX, RGB_TOG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLD, XXXXXXX, XXXXXXX, MCR_SWT,
|
XXXXXXX, XXXXXXX, RGB_TOG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLD, XXXXXXX, XXXXXXX, MCR_SWT,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, TOG_MSE, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
XXXXXXX, XXXXXXX, XXXXXXX, TRBO_TI, TRBO_ST, TOG_MSE, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
)
|
)
|
||||||
#ifdef MOUSEKEY_ENABLE
|
#ifdef MOUSEKEY_ENABLE
|
||||||
,[_MSE] = LAYOUT_planck_mit(
|
,[_MSE] = LAYOUT_planck_mit(
|
||||||
@ -117,12 +137,68 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
|||||||
if (RECORDING) { RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, 0, 0); }
|
if (RECORDING) { RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, 0, 0); }
|
||||||
break;
|
break;
|
||||||
#endif // DYNAMIC_MACRO_ENABLE
|
#endif // DYNAMIC_MACRO_ENABLE
|
||||||
|
|
||||||
|
#ifdef TURBO_ENABLE
|
||||||
|
case TRBO_ST:
|
||||||
|
if (turbo_keycode_selecting) {
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, BRIGHTNESS, BRIGHTNESS);
|
||||||
|
} else {
|
||||||
|
if (turbo_active) {
|
||||||
|
if (turbo_key_pressed) {
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, BRIGHTNESS, BRIGHTNESS);
|
||||||
|
} else {
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case TRBO_TI:
|
||||||
|
if (turbo_ms_delay_direction_indicator != 0) {
|
||||||
|
uint8_t time = timer_elapsed(turbo_ms_delay_direction_indicator) / 200;
|
||||||
|
if (time > 0) {
|
||||||
|
if ((time % 2) == 1) {
|
||||||
|
if (turbo_ms_delay_direction) {
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, BRIGHTNESS, 0);
|
||||||
|
} else {
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, 0, 0);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0);
|
||||||
|
}
|
||||||
|
if (time >= 6) {
|
||||||
|
turbo_ms_delay_direction_indicator = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef TURBO_ENABLE
|
||||||
|
void housekeeping_task_user(void) {
|
||||||
|
if (turbo_active) {
|
||||||
|
if (turbo_key_pressed) {
|
||||||
|
if (timer_elapsed(turbo_timer) > turbo_ms_delay) {
|
||||||
|
unregister_code(turbo_keycode);
|
||||||
|
turbo_key_pressed = false;
|
||||||
|
turbo_timer = timer_read();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (timer_elapsed(turbo_timer) > (turbo_ms_delay / 2)) {
|
||||||
|
register_code(turbo_keycode);
|
||||||
|
turbo_key_pressed = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
#ifdef DYNAMIC_MACRO_ENABLE
|
#ifdef DYNAMIC_MACRO_ENABLE
|
||||||
if (keycode == MCR_REC) {keycode = REC;}
|
if (keycode == MCR_REC) {keycode = REC;}
|
||||||
@ -145,6 +221,23 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||||||
}
|
}
|
||||||
#endif // MOUSEKEY_ENABLE
|
#endif // MOUSEKEY_ENABLE
|
||||||
|
|
||||||
|
#ifdef TURBO_ENABLE
|
||||||
|
if (record->event.pressed) {
|
||||||
|
if (turbo_keycode_selecting) {
|
||||||
|
if (IS_BASIC_KEYCODE(keycode) ||
|
||||||
|
IS_MODIFIER_KEYCODE(keycode) ||
|
||||||
|
IS_JOYSTICK_KEYCODE(keycode) ||
|
||||||
|
IS_MOUSE_KEYCODE(keycode))
|
||||||
|
{
|
||||||
|
unregister_code(turbo_keycode);
|
||||||
|
turbo_key_pressed = false;
|
||||||
|
turbo_keycode = keycode;
|
||||||
|
turbo_keycode_selecting = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
#ifdef DYNAMIC_MACRO_ENABLE
|
#ifdef DYNAMIC_MACRO_ENABLE
|
||||||
case MCR_SWT:
|
case MCR_SWT:
|
||||||
@ -162,6 +255,46 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||||||
return false;
|
return false;
|
||||||
#endif // DYNAMIC_MACRO_ENABLE
|
#endif // DYNAMIC_MACRO_ENABLE
|
||||||
|
|
||||||
|
#ifdef TURBO_ENABLE
|
||||||
|
case TRBO_ST:
|
||||||
|
if (record->event.pressed) {
|
||||||
|
if (!record->tap.count) {
|
||||||
|
turbo_keycode_selecting = !turbo_keycode_selecting;
|
||||||
|
} else {
|
||||||
|
if (turbo_keycode != KC_NO) {
|
||||||
|
if (!turbo_active) {
|
||||||
|
turbo_keycode_selecting = false;
|
||||||
|
turbo_active = true;
|
||||||
|
} else {
|
||||||
|
unregister_code(turbo_keycode);
|
||||||
|
turbo_key_pressed = false;
|
||||||
|
turbo_active = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
|
||||||
|
case TRBO_TI:
|
||||||
|
if (record->event.pressed) {
|
||||||
|
if (!record->tap.count) {
|
||||||
|
turbo_ms_delay_direction = !turbo_ms_delay_direction;
|
||||||
|
turbo_ms_delay_direction_indicator = timer_read();
|
||||||
|
} else {
|
||||||
|
if (turbo_ms_delay_direction)
|
||||||
|
turbo_ms_delay += 20;
|
||||||
|
else
|
||||||
|
turbo_ms_delay -= 20;
|
||||||
|
|
||||||
|
if (turbo_ms_delay > 500) // half a second
|
||||||
|
turbo_ms_delay = 500;
|
||||||
|
if (turbo_ms_delay < 60) // Around 16 times a second
|
||||||
|
turbo_ms_delay = 60;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return true; //Process all other keycodes normally
|
return true; //Process all other keycodes normally
|
||||||
}
|
}
|
||||||
|
@ -21,12 +21,12 @@ The secondary layer ( `_SUB` ) is for syntax, F keys, and number keys
|
|||||||
| 4 | _ | _ | | _ | _ | _ | <- | _ | | | | |
|
| 4 | _ | _ | | _ | _ | _ | <- | _ | | | | |
|
||||||
|
|
||||||
The control layer ( `_CTR` ) is for lighting, media, and macros
|
The control layer ( `_CTR` ) is for lighting, media, and macros
|
||||||
| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|
| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|
||||||
|-----|---|-------|------|-------|------|---------|-----|------|------|------|----|---------|
|
|-----|---|-------|------|---------|---------|---------|-----|------|------|------|----|---------|
|
||||||
| 1 | | SPD- | BRI+ | SPD+ | HUE+ | SAT+ | | | VOL+ | | | MCR_REC |
|
| 1 | | SPD- | BRI+ | SPD+ | HUE+ | SAT+ | | | VOL+ | | | MCR_REC |
|
||||||
| 2 | | EFCT- | BRI- | EFCT+ | HUE- | SAT- | | PREV | PLAY | NEXT | | MCR_PLY |
|
| 2 | | EFCT- | BRI- | EFCT+ | HUE- | SAT- | | PREV | PLAY | NEXT | | MCR_PLY |
|
||||||
| 3 | | | TOG | | | | | | VOL- | | | MCR_SWT |
|
| 3 | | | TOG | | | | | | VOL- | | | MCR_SWT |
|
||||||
| 4 | | | | | | MSE_TOG | <- | | | | | |
|
| 4 | | | | TRBO_TI | TRBO_ST | MSE_TOG | <- | | | | | |
|
||||||
|
|
||||||
The mouse layer ( `_MSE` ) is for making the keyboard function as a mouse as well
|
The mouse layer ( `_MSE` ) is for making the keyboard function as a mouse as well
|
||||||
| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|
| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|
||||||
@ -67,6 +67,8 @@ The mouse layer ( `_MSE` ) is for making the keyboard function as a mouse as wel
|
|||||||
| SCR_D | Mouse scroll down |
|
| SCR_D | Mouse scroll down |
|
||||||
| ACL_U | Raise mouse/scroll speed |
|
| ACL_U | Raise mouse/scroll speed |
|
||||||
| ACL_D | Lower mouse/scroll speed |
|
| ACL_D | Lower mouse/scroll speed |
|
||||||
|
| TRBO_ST | Set turbo key (Hold), start/stop turbo (Tap) |
|
||||||
|
| TRBO_TI | Turbo speed +/- (Hold to switch direction) |
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
|
|
||||||
|
56
keyboards/lily58/keymaps/pomodoro/config.h
Normal file
56
keyboards/lily58/keymaps/pomodoro/config.h
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
This is the c configuration file for the keymap
|
||||||
|
|
||||||
|
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||||
|
Copyright 2015 Jack Humbert
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
/* Select hand configuration */
|
||||||
|
|
||||||
|
#define MASTER_LEFT
|
||||||
|
// #define MASTER_RIGHT
|
||||||
|
// #define EE_HANDS
|
||||||
|
|
||||||
|
#define QUICK_TAP_TERM 0
|
||||||
|
#define TAPPING_TERM 100
|
||||||
|
|
||||||
|
#undef RGBLED_NUM
|
||||||
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
#define RGBLIGHT_EFFECT_SNAKE
|
||||||
|
#define RGBLIGHT_EFFECT_KNIGHT
|
||||||
|
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
|
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||||
|
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||||
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||||
|
#define RGBLIGHT_EFFECT_TWINKLE
|
||||||
|
#define RGBLED_NUM 27
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 120
|
||||||
|
#define RGBLIGHT_HUE_STEP 10
|
||||||
|
#define RGBLIGHT_SAT_STEP 17
|
||||||
|
#define RGBLIGHT_VAL_STEP 17
|
||||||
|
|
||||||
|
#define SPLIT_TRANSACTION_IDS_USER SYNC_POMODORO_RUNNING
|
||||||
|
|
||||||
|
// Underglow
|
||||||
|
/*
|
||||||
|
#undef RGBLED_NUM
|
||||||
|
#define RGBLED_NUM 14 // Number of LEDs
|
||||||
|
#define RGBLIGHT_SLEEP
|
||||||
|
*/
|
154
keyboards/lily58/keymaps/pomodoro/keymap.c
Normal file
154
keyboards/lily58/keymaps/pomodoro/keymap.c
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2023 Casey Borders
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
enum layer_number {
|
||||||
|
_QWERTY = 0,
|
||||||
|
_LOWER,
|
||||||
|
_RAISE,
|
||||||
|
_ADJUST,
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
/* QWERTY
|
||||||
|
* ,-----------------------------------------. ,-----------------------------------------.
|
||||||
|
* | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |Backsp|
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* |LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
|
||||||
|
* |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
|
||||||
|
* |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
|
||||||
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
|
||||||
|
* | | | |/ / \ \ | | | |
|
||||||
|
* `----------------------------' '------''--------------------'
|
||||||
|
*/
|
||||||
|
[_QWERTY] = LAYOUT(
|
||||||
|
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, 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_MINS,
|
||||||
|
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||||
|
KC_MPLY, MO(_LOWER), KC_LGUI, KC_ENT, KC_SPC, KC_RGUI, MO(_RAISE), KC_MUTE
|
||||||
|
),
|
||||||
|
/* LOWER
|
||||||
|
* ,-----------------------------------------. ,-----------------------------------------.
|
||||||
|
* | | | | | | | | | | | | | |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | | | | | | | | | | Up | | \ | |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | | | | | | |-------. ,-------| | Left | Down |Right | = | |
|
||||||
|
* |------+------+------+------+------+------| < | | > |------+------+------+------+------+------|
|
||||||
|
* | | | | | | |-------| |-------| | | | | | |
|
||||||
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
|
||||||
|
* | | | |/ / \ \ | | | |
|
||||||
|
* `----------------------------' '------''--------------------'
|
||||||
|
*/
|
||||||
|
[_LOWER] = LAYOUT(
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, KC_LT, KC_GT, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
|
||||||
|
),
|
||||||
|
/* RAISE
|
||||||
|
* ,-----------------------------------------. ,-----------------------------------------.
|
||||||
|
* | ` | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | | | Vol+ | | | | | | | | | | |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | | Prev | Vol- | Next | | |-------. ,-------| | | | | | |
|
||||||
|
* |------+------+------+------+------+------| | | |------+------+------+------+------+------|
|
||||||
|
* | | | | | | |-------| |-------| | | | | | |
|
||||||
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
|
||||||
|
* | | | |/ / \ \ | | | |
|
||||||
|
* `----------------------------' '------''--------------------'
|
||||||
|
*/
|
||||||
|
[_RAISE] = LAYOUT(
|
||||||
|
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F12,
|
||||||
|
_______, _______, KC_VOLU, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
|
||||||
|
_______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, KC_LT, KC_GT, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
|
||||||
|
),
|
||||||
|
/* ADJUST
|
||||||
|
* ,-----------------------------------------. ,-----------------------------------------.
|
||||||
|
* | | | | | | | | | | | | | |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | | | | | | | | | | | | Oper | Out |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | | | | | | |-------. ,-------| | | | | | |
|
||||||
|
* |------+------+------+------+------+------| | | |------+------+------+------+------+------|
|
||||||
|
* | | | | | | |-------| |-------| | | | | | |
|
||||||
|
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Play |LOWER | LGUI | / Enter / \Space \ | RGUI |RAISE | Mute |
|
||||||
|
* | | | |/ / \ \ | | | |
|
||||||
|
* `----------------------------' '------''--------------------'
|
||||||
|
*/
|
||||||
|
[_ADJUST] = LAYOUT(
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_OPER, KC_OUT,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
|
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
|
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SSD1306 OLED update loop, make sure to enable OLED_ENABLE=yes in rules.mk
|
||||||
|
#ifdef OLED_ENABLE
|
||||||
|
|
||||||
|
// When you add source files to SRC in rules.mk, you can use functions.
|
||||||
|
const char *read_layer_state(void);
|
||||||
|
const char *read_logo(void);
|
||||||
|
const char *read_timelog(void);
|
||||||
|
|
||||||
|
void toggle_pomodoro(void);
|
||||||
|
const char* read_pomodoro_running(void);
|
||||||
|
void update_pomodoro_display(void);
|
||||||
|
|
||||||
|
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||||
|
if (!is_keyboard_master())
|
||||||
|
return OLED_ROTATION_90;
|
||||||
|
return rotation;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool oled_task_user(void) {
|
||||||
|
if (is_keyboard_master()) {
|
||||||
|
oled_write_ln(read_layer_state(), false);
|
||||||
|
oled_write_ln(read_pomodoro_running(), false);
|
||||||
|
} else {
|
||||||
|
update_pomodoro_display();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
if (record->event.pressed && keycode == KC_OPER) {
|
||||||
|
toggle_pomodoro();
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // OLED_ENABLE
|
249
keyboards/lily58/keymaps/pomodoro/pomodoro.c
Normal file
249
keyboards/lily58/keymaps/pomodoro/pomodoro.c
Normal file
@ -0,0 +1,249 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2023 Casey Borders
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "transactions.h"
|
||||||
|
|
||||||
|
#ifdef OLED_ENABLE
|
||||||
|
|
||||||
|
#define HEADER_SIZE 32
|
||||||
|
const char headerBase[] PROGMEM = {
|
||||||
|
0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF,
|
||||||
|
0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF,
|
||||||
|
0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF,
|
||||||
|
0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF
|
||||||
|
};
|
||||||
|
char header[HEADER_SIZE];
|
||||||
|
|
||||||
|
#define STATUS_WIDTH 15
|
||||||
|
#define STATUS_HEIGHT 32
|
||||||
|
#define STATUS_PIXELS (STATUS_WIDTH * 8)
|
||||||
|
#define STATUS_SIZE (STATUS_WIDTH * STATUS_HEIGHT)
|
||||||
|
const char logoBase[] PROGMEM = {
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x80, 0x80, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x61, 0x61, 0x81, 0x81, 0x01, 0x01, 0xC1, 0xC1, 0x30, 0x30, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xC0, 0xC0, 0xFF, 0xFF, 0xC3, 0xC3, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0xF0, 0xF0, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0xF0, 0xF0, 0x00, 0x00, 0xF0, 0xF0, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0xF0, 0xF0, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x0F, 0x0F, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x0F, 0x0F, 0x00, 0x00, 0x0F, 0x0F, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x0F, 0x0F, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x06, 0x06, 0x9E, 0x9E, 0x66, 0x66, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0xF8, 0xF8, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0xF8, 0xF8, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x86, 0x86, 0x67, 0x67, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x86, 0x86, 0x00, 0x00, 0x07, 0x07, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0xC0, 0xC0, 0x31, 0x31, 0xC1, 0xC1, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x3F, 0x3F, 0x30, 0x30, 0x3F, 0x3F, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0xC0, 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0xF3, 0x7F, 0x3F, 0x7F, 0xFF, 0xFF, 0x3B, 0xF1, 0xF7, 0xFF, 0x3F, 0x39, 0x30, 0x00, 0x01, 0x01, 0x01, 0x83, 0x86, 0x0C, 0xF8, 0xF0, 0x80, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xCF, 0x07, 0x1F, 0x3F, 0x3F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1F, 0xDF, 0xFC, 0x7F, 0x07, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x07, 0x0E, 0x1C, 0x18, 0x30, 0x30, 0x30, 0x60, 0x60, 0x60, 0x60, 0x30, 0x30, 0x30, 0x30, 0x18, 0x0C, 0x06, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00
|
||||||
|
};
|
||||||
|
|
||||||
|
const char workBase[] PROGMEM = {
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x3E, 0x3E, 0x3E, 0x3E, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x3E, 0x3E, 0x3E, 0x3E, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7C, 0x7C, 0x7C, 0x7C, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFC, 0xFC, 0xFC, 0xFC, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xC0, 0xC0, 0xC0, 0xC0, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC1, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x83, 0x83, 0x83, 0x83, 0x83, 0x7F, 0x7F, 0x7F, 0x7F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0xF8, 0xF8, 0xF8, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00
|
||||||
|
};
|
||||||
|
|
||||||
|
const char restBase[] PROGMEM = {
|
||||||
|
0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFC, 0xFC, 0xFC, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x3C, 0x3C, 0x3C, 0x3C, 0x3C, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xF8, 0xF8, 0xF8, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xC3, 0xC3, 0xC3, 0xC3, 0xC3, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7C, 0x7C, 0x7C, 0x7C, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00
|
||||||
|
};
|
||||||
|
char displayBuffer[STATUS_SIZE];
|
||||||
|
|
||||||
|
#define WORK_TIME ((uint32_t)25 * 60 * 1000)
|
||||||
|
#define REST_TIME ((uint32_t)5 * 60 * 1000)
|
||||||
|
|
||||||
|
typedef enum pomo_state {
|
||||||
|
_STOPPED,
|
||||||
|
_WORK,
|
||||||
|
_REST,
|
||||||
|
} pomo_state;
|
||||||
|
|
||||||
|
/* The master only needs to know if the timer is running or not */
|
||||||
|
bool isRunning = false;
|
||||||
|
|
||||||
|
/* The slave needs more info about the state and what's going on */
|
||||||
|
pomo_state state = _STOPPED;
|
||||||
|
uint8_t pomoCount = 0;
|
||||||
|
uint32_t pomoTimer;
|
||||||
|
uint32_t totalTime = 0;
|
||||||
|
uint32_t currTime = 0;
|
||||||
|
uint32_t lastTime = 0;
|
||||||
|
uint16_t lastProgress = 0;
|
||||||
|
|
||||||
|
const char* read_pomodoro_state(void) {
|
||||||
|
switch (state) {
|
||||||
|
case _STOPPED: return "STOPPED";
|
||||||
|
case _REST: return "REST";
|
||||||
|
case _WORK: return "WORK";
|
||||||
|
default: return "UNKNOWN";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* read_pomodoro_running(void) {
|
||||||
|
if (isRunning) { return "RUNNING"; }
|
||||||
|
else { return "STOPPED"; }
|
||||||
|
}
|
||||||
|
|
||||||
|
void update_display_base(void) {
|
||||||
|
switch (state) {
|
||||||
|
case _STOPPED: {
|
||||||
|
memcpy_P(displayBuffer, logoBase, STATUS_SIZE);
|
||||||
|
memset(header, 0, HEADER_SIZE);
|
||||||
|
} break;
|
||||||
|
case _WORK: {
|
||||||
|
memcpy_P(displayBuffer, workBase, STATUS_SIZE);
|
||||||
|
memcpy_P(header, headerBase, HEADER_SIZE);
|
||||||
|
} break;
|
||||||
|
case _REST: {
|
||||||
|
memcpy_P(displayBuffer, restBase, STATUS_SIZE);
|
||||||
|
memcpy_P(header, headerBase, HEADER_SIZE);
|
||||||
|
} break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void update_cycle_display(void) {
|
||||||
|
if (state == _STOPPED) { return; }
|
||||||
|
uint8_t start = (HEADER_SIZE / 4) * (4 - pomoCount);
|
||||||
|
for (uint8_t i = start; i < HEADER_SIZE; i++) {
|
||||||
|
header[i] = ~header[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool syncRunning = false;
|
||||||
|
void toggle_pomodoro(void) {
|
||||||
|
isRunning = !isRunning;
|
||||||
|
syncRunning = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void set_slave_pomodoro_running(uint8_t in_buflen, const void *in_data, uint8_t out_buflen, void *out_data) {
|
||||||
|
isRunning = *(bool*)in_data;
|
||||||
|
if (isRunning) {
|
||||||
|
/* Reset stuff and start the timer */
|
||||||
|
pomoTimer = timer_read32();
|
||||||
|
state = _WORK;
|
||||||
|
totalTime = WORK_TIME;
|
||||||
|
lastTime = 0;
|
||||||
|
lastProgress = 0;
|
||||||
|
currTime = 0;
|
||||||
|
pomoCount = 1;
|
||||||
|
update_display_base();
|
||||||
|
update_cycle_display();
|
||||||
|
} else {
|
||||||
|
state = _STOPPED;
|
||||||
|
update_display_base();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void keyboard_post_init_user(void) {
|
||||||
|
memcpy_P(displayBuffer, logoBase, STATUS_SIZE);
|
||||||
|
memset(header, 0, HEADER_SIZE);
|
||||||
|
transaction_register_rpc(SYNC_POMODORO_RUNNING, set_slave_pomodoro_running);
|
||||||
|
}
|
||||||
|
|
||||||
|
void update_pomodoro_display(void) {
|
||||||
|
oled_set_cursor(0, 0);
|
||||||
|
oled_write_raw(displayBuffer, STATUS_SIZE);
|
||||||
|
oled_set_cursor(0, STATUS_WIDTH);
|
||||||
|
oled_write_raw(header, HEADER_SIZE);
|
||||||
|
}
|
||||||
|
|
||||||
|
void update_time_display(void) {
|
||||||
|
if (currTime > lastTime) {
|
||||||
|
float ratio = (float)currTime / totalTime;
|
||||||
|
uint16_t progress = (uint16_t)(ratio * STATUS_PIXELS);
|
||||||
|
|
||||||
|
for (int i = lastProgress + 1; i <= progress; i++) {
|
||||||
|
uint16_t row = i / 8;
|
||||||
|
uint16_t bit = i % 8;
|
||||||
|
char mask = 1 << bit;
|
||||||
|
for (int j = 0; j < STATUS_HEIGHT; j++) {
|
||||||
|
uint16_t index = row * STATUS_HEIGHT + j;
|
||||||
|
if (index > STATUS_SIZE) break;
|
||||||
|
displayBuffer[index] = displayBuffer[index] ^ mask;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
lastTime = currTime;
|
||||||
|
lastProgress = progress;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void housekeeping_task_user(void) {
|
||||||
|
if (is_keyboard_master()) {
|
||||||
|
if (syncRunning && transaction_rpc_send(SYNC_POMODORO_RUNNING, sizeof(bool), &isRunning)) {
|
||||||
|
syncRunning = false;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
/* This is where the time will be updated */
|
||||||
|
if (isRunning) {
|
||||||
|
currTime = timer_elapsed32(pomoTimer);
|
||||||
|
if (currTime >= totalTime) {
|
||||||
|
if (state == _WORK) {
|
||||||
|
state = _REST;
|
||||||
|
totalTime = REST_TIME;
|
||||||
|
} else if (state == _REST) {
|
||||||
|
state = _WORK;
|
||||||
|
totalTime = WORK_TIME;
|
||||||
|
pomoCount++;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pomoCount > 4) {
|
||||||
|
isRunning = false;
|
||||||
|
state = _STOPPED;
|
||||||
|
}
|
||||||
|
|
||||||
|
pomoTimer = timer_read32();
|
||||||
|
currTime = 0;
|
||||||
|
lastTime = 0;
|
||||||
|
lastProgress = 0;
|
||||||
|
update_display_base();
|
||||||
|
update_cycle_display();
|
||||||
|
} else {
|
||||||
|
update_time_display();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // OLED_ENABLE
|
23
keyboards/lily58/keymaps/pomodoro/rules.mk
Normal file
23
keyboards/lily58/keymaps/pomodoro/rules.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
||||||
|
MOUSEKEY_ENABLE = no # Mouse keys
|
||||||
|
CONSOLE_ENABLE = no # Console for debug
|
||||||
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
|
NKRO_ENABLE = no
|
||||||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
|
AUDIO_ENABLE = no # Audio output
|
||||||
|
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||||
|
SWAP_HANDS_ENABLE = no # Enable one-hand typing
|
||||||
|
OLED_ENABLE = yes # OLED display
|
||||||
|
LTO_ENABLE = yes # Link time optimisations
|
||||||
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||||
|
|
||||||
|
# If you want to change the display of OLED, you need to change here
|
||||||
|
SRC += ./lib/rgb_state_reader.c \
|
||||||
|
./lib/layer_state_reader.c \
|
||||||
|
./lib/logo_reader.c \
|
||||||
|
./lib/keylogger.c \
|
||||||
|
./lib/mode_icon_reader.c \
|
||||||
|
./lib/host_led_state_reader.c \
|
||||||
|
./lib/timelogger.c \
|
||||||
|
./lib/keylogger.c \
|
||||||
|
pomodoro.c \
|
51
keyboards/monsgeek/m6/config.h
Normal file
51
keyboards/monsgeek/m6/config.h
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
/* Copyright (C) 2023 jonylee@hfd
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
/* Use 6 dynamic keymap layers */
|
||||||
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 6
|
||||||
|
|
||||||
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
/* Locking resynchronize hack */
|
||||||
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
|
/* SPI Config for spi flash*/
|
||||||
|
#define SPI_DRIVER SPIDQ
|
||||||
|
#define SPI_SCK_PIN B3
|
||||||
|
#define SPI_MOSI_PIN B5
|
||||||
|
#define SPI_MISO_PIN B4
|
||||||
|
#define SPI_MOSI_PAL_MODE 5
|
||||||
|
|
||||||
|
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
|
||||||
|
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)
|
||||||
|
|
||||||
|
/* I2C Config for LED Driver */
|
||||||
|
#define DRIVER_COUNT 2
|
||||||
|
#define DRIVER_ADDR_1 0b1110100
|
||||||
|
#define DRIVER_ADDR_2 0b1110111
|
||||||
|
#define I2C1_SCL_PAL_MODE 4
|
||||||
|
#define I2C1_OPMODE OPMODE_I2C
|
||||||
|
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
|
||||||
|
|
||||||
|
#define RGB_MATRIX_LED_COUNT 92
|
||||||
|
|
||||||
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||||
|
#define RGB_TRIGGER_ON_KEYDOWN
|
||||||
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
|
#define RGB_MATRIX_KEYPRESSES
|
||||||
|
#define RGB_MATRIX_KEYRELEASES
|
23
keyboards/monsgeek/m6/halconf.h
Normal file
23
keyboards/monsgeek/m6/halconf.h
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/* Copyright (C) 2022 jonylee@hfd
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define HAL_USE_I2C TRUE
|
||||||
|
#define HAL_USE_SPI TRUE
|
||||||
|
#define SPI_USE_WAIT TRUE
|
||||||
|
#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
|
||||||
|
|
||||||
|
#include_next <halconf.h>
|
232
keyboards/monsgeek/m6/info.json
Normal file
232
keyboards/monsgeek/m6/info.json
Normal file
@ -0,0 +1,232 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "M6",
|
||||||
|
"manufacturer": "MonsGeek",
|
||||||
|
"maintainer": "jonylee@hfd",
|
||||||
|
"usb": {
|
||||||
|
"force_nkro": true,
|
||||||
|
"vid": "0xFFFE",
|
||||||
|
"pid": "0x0011",
|
||||||
|
"device_version": "1.0.0",
|
||||||
|
"suspend_wakeup_delay": 400
|
||||||
|
},
|
||||||
|
"processor": "WB32FQ95",
|
||||||
|
"bootloader": "wb32-dfu",
|
||||||
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"extrakey": true,
|
||||||
|
"console": false,
|
||||||
|
"command": false,
|
||||||
|
"nkro": true,
|
||||||
|
"rgb_matrix": true
|
||||||
|
},
|
||||||
|
"matrix_pins": {
|
||||||
|
"cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"],
|
||||||
|
"rows": ["C6", "C7", "C8", "C9", "A8"]
|
||||||
|
},
|
||||||
|
"diode_direction": "ROW2COL",
|
||||||
|
"rgb_matrix": {
|
||||||
|
"driver": "IS31FL3733",
|
||||||
|
"max_brightness": 200,
|
||||||
|
"val_steps": 20,
|
||||||
|
"animations": {
|
||||||
|
"breathing": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"multisplash": true
|
||||||
|
},
|
||||||
|
"layout":[
|
||||||
|
{ "flags": 4, "matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 1], "x": 13, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 2], "x": 26, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 3], "x": 39, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 4], "x": 52, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 5], "x": 65, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 6], "x": 78, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 7], "x":115, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 8], "x":128, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 9], "x":141, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 10], "x":154, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 11], "x":167, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 12], "x":180, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 13], "x":193, "y": 0},
|
||||||
|
{ "flags": 4, "matrix": [0, 15], "x":224, "y": 0},
|
||||||
|
|
||||||
|
{ "flags": 4, "matrix": [1, 0], "x": 0, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 1], "x": 19, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 2], "x": 33, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 3], "x": 46, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 4], "x": 59, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 5], "x": 72, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 6], "x":108, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 7], "x":122, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 8], "x":135, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 9], "x":148, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 10], "x":161, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 11], "x":174, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 12], "x":187, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 13], "x":200, "y": 16},
|
||||||
|
{ "flags": 4, "matrix": [1, 15], "x":224, "y": 16},
|
||||||
|
|
||||||
|
{ "flags": 4, "matrix": [2, 0], "x": 0, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 1], "x": 23, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 2], "x": 36, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 3], "x": 49, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 4], "x": 62, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 5], "x": 75, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 6], "x":112, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 7], "x":125, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 8], "x":138, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 9], "x":151, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 10], "x":164, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 11], "x":177, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 12], "x":190, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 13], "x":203, "y": 32},
|
||||||
|
{ "flags": 4, "matrix": [2, 15], "x":224, "y": 32},
|
||||||
|
|
||||||
|
{ "flags": 4, "matrix": [3, 0], "x": 0, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 11], "x": 16, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 1], "x": 29, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 2], "x": 42, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 3], "x": 65, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 4], "x": 78, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 5], "x": 91, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 6], "x":105, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 7], "x":118, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 8], "x":131, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 9], "x":144, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 10], "x":158, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 13], "x":171, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 14], "x":184, "y": 48},
|
||||||
|
{ "flags": 4, "matrix": [3, 15], "x":210, "y": 48},
|
||||||
|
|
||||||
|
{ "flags": 4, "matrix": [4, 0], "x": 0, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 1], "x": 37, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 2], "x": 59, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 5], "x": 85, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 9], "x":105, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 10], "x":138, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 11], "x":158, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 13], "x":196, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 14], "x":210, "y": 64},
|
||||||
|
{ "flags": 4, "matrix": [4, 15], "x":224, "y": 64},
|
||||||
|
|
||||||
|
{ "flags": 2, "x":0, "y":0},
|
||||||
|
{ "flags": 2, "x":0, "y":6},
|
||||||
|
{ "flags": 2, "x":0, "y":13},
|
||||||
|
{ "flags": 2, "x":0, "y":19},
|
||||||
|
{ "flags": 2, "x":0, "y":25},
|
||||||
|
{ "flags": 2, "x":0, "y":32},
|
||||||
|
{ "flags": 2, "x":0, "y":38},
|
||||||
|
{ "flags": 2, "x":0, "y":45},
|
||||||
|
{ "flags": 2, "x":0, "y":51},
|
||||||
|
{ "flags": 2, "x":0, "y":57},
|
||||||
|
{ "flags": 2, "x":0, "y":64},
|
||||||
|
|
||||||
|
{ "flags": 2, "x":224, "y":0},
|
||||||
|
{ "flags": 2, "x":224, "y":6},
|
||||||
|
{ "flags": 2, "x":224, "y":13},
|
||||||
|
{ "flags": 2, "x":224, "y":19},
|
||||||
|
{ "flags": 2, "x":224, "y":25},
|
||||||
|
{ "flags": 2, "x":224, "y":32},
|
||||||
|
{ "flags": 2, "x":224, "y":38},
|
||||||
|
{ "flags": 2, "x":224, "y":45},
|
||||||
|
{ "flags": 2, "x":224, "y":51},
|
||||||
|
{ "flags": 2, "x":224, "y":57},
|
||||||
|
{ "flags": 2, "x":224, "y":64}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [
|
||||||
|
{ "label": "Esc", "matrix": [0, 0], "x": 0, "y": 0 },
|
||||||
|
{ "label": "!", "matrix": [0, 1], "x": 1, "y":0 },
|
||||||
|
{ "label": "@", "matrix": [0, 2], "x": 2, "y": 0 },
|
||||||
|
{ "label": "#", "matrix": [0, 3], "x": 3, "y": 0 },
|
||||||
|
{ "label": "$", "matrix": [0, 4], "x": 4, "y": 0 },
|
||||||
|
{ "label": "%", "matrix": [0, 5], "x": 5, "y": 0 },
|
||||||
|
{ "label": "^", "matrix": [0, 6], "x": 6, "y": 0 },
|
||||||
|
{ "label": "&", "matrix": [0, 7], "x": 8.75, "y": 0 },
|
||||||
|
{ "label": "*", "matrix": [0, 8], "x": 9.75, "y": 0 },
|
||||||
|
{ "label": "(", "matrix": [0, 9], "x": 10.75, "y": 0 },
|
||||||
|
{ "label": ")", "matrix": [0, 10], "x": 11.75, "y": 0 },
|
||||||
|
{ "label": "_", "matrix": [0, 11], "x": 12.75, "y": 0 },
|
||||||
|
{ "label": "+", "matrix": [0, 12], "x": 13.75, "y": 0 },
|
||||||
|
{ "label": "Bksp", "matrix": [0, 13], "w": 2, "x": 14.75, "y": 0 },
|
||||||
|
{ "label": "Del", "matrix": [0, 15], "x": 17, "y": 0 },
|
||||||
|
|
||||||
|
{ "label": "Tab", "matrix": [1, 0], "w": 1.5, "x": 0, "y": 1.25 },
|
||||||
|
{ "label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1.25 },
|
||||||
|
{ "label": "W", "matrix": [1, 2], "x": 2.5, "y": 1.25 },
|
||||||
|
{ "label": "E", "matrix": [1, 3], "x": 3.5, "y": 1.25 },
|
||||||
|
{ "label": "R", "matrix": [1, 4], "x": 4.5, "y": 1.25 },
|
||||||
|
{ "label": "T", "matrix": [1, 5], "x": 5.5, "y": 1.25 },
|
||||||
|
{ "label": "Y", "matrix": [1, 6], "x": 8.25, "y": 1.25 },
|
||||||
|
{ "label": "U", "matrix": [1, 7], "x": 9.25, "y": 1.25 },
|
||||||
|
{ "label": "I", "matrix": [1, 8], "x": 10.25, "y": 1.25 },
|
||||||
|
{ "label": "O", "matrix": [1, 9], "x": 11.25, "y": 1.25 },
|
||||||
|
{ "label": "P", "matrix": [1, 10], "x": 12.25, "y": 1.25 },
|
||||||
|
{ "label": "{", "matrix": [1, 11], "x": 13.25, "y": 1.25 },
|
||||||
|
{ "label": "}", "matrix": [1, 12], "x": 14.25, "y": 1.25 },
|
||||||
|
{ "label": "|", "matrix": [1, 13], "w": 1.5, "x": 15.25, "y": 1.25 },
|
||||||
|
{ "label": "PageUp", "matrix": [1, 15], "x": 17, "y": 1.25 },
|
||||||
|
|
||||||
|
{ "label": "Caps Lock", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2.25 },
|
||||||
|
{ "label": "A", "matrix": [2, 1], "x": 1.75, "y": 2.25 },
|
||||||
|
{ "label": "S", "matrix": [2, 2], "x": 2.75, "y": 2.25 },
|
||||||
|
{ "label": "D", "matrix": [2, 3], "x": 3.75, "y": 2.25 },
|
||||||
|
{ "label": "F", "matrix": [2, 4], "x": 4.75, "y": 2.25 },
|
||||||
|
{ "label": "G", "matrix": [2, 5], "x": 5.75, "y": 2.25 },
|
||||||
|
{ "label": "H", "matrix": [2, 6], "x": 8.5, "y": 2.25 },
|
||||||
|
{ "label": "J", "matrix": [2, 7], "x": 9.5, "y": 2.25 },
|
||||||
|
{ "label": "K", "matrix": [2, 8], "x": 10.5, "y": 2.25 },
|
||||||
|
{ "label": "L", "matrix": [2, 9], "x": 11.5, "y": 2.25 },
|
||||||
|
{ "label": ":", "matrix": [2, 10], "x": 12.5, "y": 2.25 },
|
||||||
|
{ "label": "'", "matrix": [2, 11], "x": 13.5, "y": 2.25 },
|
||||||
|
{ "label": ":", "matrix": [2, 12], "x": 14.5, "y": 2.25 },
|
||||||
|
{ "label": "Enter", "matrix": [2, 13], "w": 2.25, "x": 14.5, "y": 2.25 },
|
||||||
|
{ "label": "PageDn", "matrix": [2, 15], "x": 17, "y": 2.25 },
|
||||||
|
|
||||||
|
{ "label": "Shift", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 3.25 },
|
||||||
|
{ "label": ":", "matrix": [3, 11], "x": 1.25, "y": 3.25 },
|
||||||
|
{ "label": "Z", "matrix": [3, 1], "x": 2.25, "y": 3.25 },
|
||||||
|
{ "label": "X", "matrix": [3, 2], "x": 3.25, "y": 3.25 },
|
||||||
|
{ "label": "C", "matrix": [3, 3], "x": 4.25, "y": 3.25 },
|
||||||
|
{ "label": "V", "matrix": [3, 4], "x": 5.25, "y": 3.25 },
|
||||||
|
{ "label": "B", "matrix": [3, 5], "x": 6.25, "y": 3.25 },
|
||||||
|
{ "label": "B", "matrix": [3, 6], "x": 8, "y": 3.25 },
|
||||||
|
{ "label": "N", "matrix": [3, 7], "x": 9, "y": 3.25 },
|
||||||
|
{ "label": "M", "matrix": [3, 8], "x": 10, "y": 3.25 },
|
||||||
|
{ "label": "<", "matrix": [3, 9], "x": 11, "y": 3.25 },
|
||||||
|
{ "label": ">", "matrix": [3, 10], "x": 12, "y": 3.25 },
|
||||||
|
{ "label": "?", "matrix": [3, 13], "x": 13, "y": 3.25 },
|
||||||
|
{ "label": "Shift", "matrix": [3, 14], "w": 1.75, "x": 14, "y": 3.25 },
|
||||||
|
{ "label": "Up", "matrix": [3, 15], "x": 16, "y": 3.25 },
|
||||||
|
|
||||||
|
{ "label": "Ctrl", "matrix": [4, 0], "w": 1.5, "x": 0, "y": 4.25 },
|
||||||
|
{ "label": "Alt", "matrix": [4, 1], "w": 1.5, "x": 3, "y": 4.25 },
|
||||||
|
{ "label": "Space", "matrix": [4, 2], "w": 2, "x": 4.5, "y": 4.25 },
|
||||||
|
{ "label": "Win", "matrix": [4, 5], "w": 1.25, "x": 6.5, "y": 4.25 },
|
||||||
|
{ "label": "Space", "matrix": [4, 9], "w": 2.5, "x": 8, "y": 4.25 },
|
||||||
|
{ "label": "Alt", "matrix": [4, 10], "w":1.5, "x": 10.5, "y": 4.25 },
|
||||||
|
{ "label": "Fn", "matrix": [4, 11], "w":1.5, "x": 12, "y": 4.25 },
|
||||||
|
{ "label": "Left", "matrix": [4, 13], "x": 15, "y": 4.25 },
|
||||||
|
{ "label": "Down", "matrix": [4, 14], "x": 16, "y": 4.25 },
|
||||||
|
{ "label": "Right", "matrix": [4, 15], "x": 17, "y": 4.25 }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
76
keyboards/monsgeek/m6/keymaps/default/keymap.c
Normal file
76
keyboards/monsgeek/m6/keymaps/default/keymap.c
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
/* Copyright (C) 2023 jonylee@hfd
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
|
||||||
|
enum __layers {
|
||||||
|
WIN_B,
|
||||||
|
WIN_W,
|
||||||
|
WIN_FN,
|
||||||
|
MAC_B,
|
||||||
|
MAC_W,
|
||||||
|
MAC_FN
|
||||||
|
};
|
||||||
|
|
||||||
|
#define KC_TASK LGUI(KC_TAB)
|
||||||
|
#define KC_FLXP LGUI(KC_E)
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[WIN_B] = LAYOUT( /* Base */
|
||||||
|
KC_ESC, 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_PGUP,
|
||||||
|
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_PGDN,
|
||||||
|
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
|
KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, MO(WIN_FN), KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
|
[WIN_W] = LAYOUT( /* Base */
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_W,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, KC_A, KC_S, KC_D),
|
||||||
|
|
||||||
|
[WIN_FN] = LAYOUT(
|
||||||
|
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, RGB_MOD,
|
||||||
|
_______, _______,TG(WIN_W),_______, _______, _______, _______, _______, KC_INS, DF(MAC_B),KC_PSCR,_______, _______, _______, KC_HOME,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_SPD, RGB_SPI, _______, RGB_HUI, KC_END,
|
||||||
|
_______, _______, _______, _______, KC_CALC, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, RGB_VAI,
|
||||||
|
_______, _______, _______, GU_TOGG, _______, _______, _______, RGB_SAD, RGB_VAD, RGB_SAI),
|
||||||
|
|
||||||
|
[MAC_B] = LAYOUT( /* Base */
|
||||||
|
KC_ESC, 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_HOME,
|
||||||
|
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_PGUP,
|
||||||
|
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_PGDN,
|
||||||
|
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
|
KC_LCTL, KC_LGUI, KC_SPC, KC_LALT, KC_SPC, KC_RGUI, MO(WIN_FN), KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
|
[MAC_W] = LAYOUT(
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_W,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, KC_A, KC_S, KC_D),
|
||||||
|
|
||||||
|
[MAC_FN] = LAYOUT( /* FN */
|
||||||
|
KC_GRV, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, KC_F5, KC_F6, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD,KC_VOLU, _______, RGB_MOD,
|
||||||
|
_______, _______,TG(MAC_W),_______, _______, _______, _______, _______, KC_INS, DF(WIN_B),KC_PSCR,_______, _______, _______, KC_HOME,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_SPD, RGB_SPI, _______, RGB_HUI, KC_END,
|
||||||
|
_______, _______, _______, _______, KC_CALC, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, RGB_VAI,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, RGB_SAD, RGB_VAD, RGB_SAI),
|
||||||
|
};
|
||||||
|
|
76
keyboards/monsgeek/m6/keymaps/via/keymap.c
Normal file
76
keyboards/monsgeek/m6/keymaps/via/keymap.c
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
/* Copyright (C) 2023 jonylee@hfd
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
|
||||||
|
enum __layers {
|
||||||
|
WIN_B,
|
||||||
|
WIN_W,
|
||||||
|
WIN_FN,
|
||||||
|
MAC_B,
|
||||||
|
MAC_W,
|
||||||
|
MAC_FN
|
||||||
|
};
|
||||||
|
|
||||||
|
#define KC_TASK LGUI(KC_TAB)
|
||||||
|
#define KC_FLXP LGUI(KC_E)
|
||||||
|
#define KC_SIRI LCMD(KC_SPC)
|
||||||
|
// clang-format off
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[WIN_B] = LAYOUT( /* Base */
|
||||||
|
KC_ESC, 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_PGUP,
|
||||||
|
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_PGDN,
|
||||||
|
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
|
KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, MO(WIN_FN), KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
|
[WIN_W] = LAYOUT( /* Base */
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_W,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, KC_A, KC_S, KC_D),
|
||||||
|
|
||||||
|
[WIN_FN] = LAYOUT(
|
||||||
|
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, RGB_MOD,
|
||||||
|
_______, _______,TG(WIN_W),_______, _______, _______, _______, _______, KC_INS, DF(MAC_B),KC_PSCR,_______, _______, _______, KC_HOME,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_SPD, RGB_SPI, _______, RGB_HUI, KC_END,
|
||||||
|
_______, _______, _______, _______, KC_CALC, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, RGB_VAI,
|
||||||
|
_______, _______, _______, GU_TOGG, _______, _______, _______, RGB_SAD, RGB_VAD, RGB_SAI),
|
||||||
|
|
||||||
|
[MAC_B] = LAYOUT( /* Base */
|
||||||
|
KC_ESC, 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_PGUP,
|
||||||
|
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_PGDN,
|
||||||
|
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||||
|
KC_LCTL, KC_LGUI, KC_SPC, KC_LALT, KC_SPC, KC_RGUI, MO(MAC_FN), KC_LEFT, KC_DOWN, KC_RGHT),
|
||||||
|
|
||||||
|
[MAC_W] = LAYOUT(
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_W,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, KC_A, KC_S, KC_D),
|
||||||
|
|
||||||
|
[MAC_FN] = LAYOUT( /* FN */
|
||||||
|
KC_GRV, KC_BRID, KC_BRIU, KC_MCTL, KC_SIRI, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD,KC_VOLU, _______, RGB_MOD,
|
||||||
|
_______, _______,TG(MAC_W),_______, _______, _______, _______, _______, KC_INS, DF(WIN_B),KC_PSCR,_______, _______, _______, KC_HOME,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_SPD, RGB_SPI, _______, RGB_HUI, KC_END,
|
||||||
|
_______, _______, _______, _______, KC_CALC, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, RGB_VAI,
|
||||||
|
_______, _______, _______, _______, _______, _______, _______, RGB_SAD, RGB_VAD, RGB_SAI),
|
||||||
|
};
|
||||||
|
|
1
keyboards/monsgeek/m6/keymaps/via/rules.mk
Normal file
1
keyboards/monsgeek/m6/keymaps/via/rules.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
VIA_ENABLE = yes
|
197
keyboards/monsgeek/m6/m6.c
Normal file
197
keyboards/monsgeek/m6/m6.c
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
/* Copyright (C) 2023 jonylee@hfd
|
||||||
|
*
|
||||||
|
* 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 "quantum.h"
|
||||||
|
// clang-format off
|
||||||
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||||
|
/* Refer to IS31 manual for these locations
|
||||||
|
* driver
|
||||||
|
* | R location
|
||||||
|
* | | G location
|
||||||
|
* | | | B location
|
||||||
|
* | | | | */
|
||||||
|
{0, A_1, B_1, C_1},
|
||||||
|
{0, A_2, B_2, C_2},
|
||||||
|
{0, A_3, B_3, C_3},
|
||||||
|
{0, A_4, B_4, C_4},
|
||||||
|
{0, A_5, B_5, C_5},
|
||||||
|
{0, A_6, B_6, C_6},
|
||||||
|
{0, A_7, B_7, C_7},
|
||||||
|
{0, A_8, B_8, C_8},
|
||||||
|
{0, A_9, B_9, C_9},
|
||||||
|
{0, A_10, B_10, C_10},
|
||||||
|
{0, A_11, B_11, C_11},
|
||||||
|
{0, A_12, B_12, C_12},
|
||||||
|
{0, A_13, B_13, C_13},
|
||||||
|
{0, A_14, B_14, C_14},
|
||||||
|
{1, D_1, E_1, F_1},
|
||||||
|
|
||||||
|
{0, D_1, E_1, F_1},
|
||||||
|
{0, D_2, E_2, F_2},
|
||||||
|
{0, D_3, E_3, F_3},
|
||||||
|
{0, D_4, E_4, F_4},
|
||||||
|
{0, D_5, E_5, F_5},
|
||||||
|
{0, D_6, E_6, F_6},
|
||||||
|
{0, D_7, E_7, F_7},
|
||||||
|
{0, D_8, E_8, F_8},
|
||||||
|
{0, D_9, E_9, F_9},
|
||||||
|
{0, D_10, E_10, F_10},
|
||||||
|
{0, D_11, E_11, F_11},
|
||||||
|
{0, D_12, E_12, F_12},
|
||||||
|
{0, D_13, E_13, F_13},
|
||||||
|
{0, D_14, E_14, F_14},
|
||||||
|
{1, D_2, E_2, F_2},
|
||||||
|
|
||||||
|
{0, G_1, H_1, I_1},
|
||||||
|
{0, G_2, H_2, I_2},
|
||||||
|
{0, G_3, H_3, I_3},
|
||||||
|
{0, G_4, H_4, I_4},
|
||||||
|
{0, G_5, H_5, I_5},
|
||||||
|
{0, G_6, H_6, I_6},
|
||||||
|
{0, G_7, H_7, I_7},
|
||||||
|
{0, G_8, H_8, I_8},
|
||||||
|
{0, G_9, H_9, I_9},
|
||||||
|
{0, G_10, H_10, I_10},
|
||||||
|
{0, G_11, H_11, I_11},
|
||||||
|
{0, G_12, H_12, I_12},
|
||||||
|
{0, A_15, B_15, C_15},
|
||||||
|
{0, G_13, H_13, I_13},
|
||||||
|
{1, D_3, E_3, F_3},
|
||||||
|
|
||||||
|
{0, J_1, K_1, L_1},
|
||||||
|
{0, A_16, B_16, C_16},
|
||||||
|
{0, J_2, K_2, L_2},
|
||||||
|
{0, J_3, K_3, L_3},
|
||||||
|
{0, J_4, K_4, L_4},
|
||||||
|
{0, J_5, K_5, L_5},
|
||||||
|
{0, J_6, K_6, L_6},
|
||||||
|
{0, J_7, K_7, L_7},
|
||||||
|
{0, J_8, K_8, L_8},
|
||||||
|
{0, J_9, K_9, L_9},
|
||||||
|
{0, J_10, K_10, L_10},
|
||||||
|
{0, J_11, K_11, L_11},
|
||||||
|
{0, J_12, K_12, L_12},
|
||||||
|
{1, D_7, E_7, F_7},
|
||||||
|
{1, D_4, E_4, F_4},
|
||||||
|
|
||||||
|
{0, J_13, K_13, L_13},
|
||||||
|
{0, J_14, K_14, L_14},
|
||||||
|
{0, J_15, K_15, L_15},
|
||||||
|
{0, J_16, K_16, L_16},
|
||||||
|
{0, G_14, H_14, I_14},
|
||||||
|
{0, G_15, H_15, I_15},
|
||||||
|
{0, G_16, H_16, I_16},
|
||||||
|
{0, D_15, E_15, F_15},
|
||||||
|
{1, D_6, E_6, F_6},
|
||||||
|
{1, D_5, E_5, F_5},
|
||||||
|
|
||||||
|
|
||||||
|
{1, G_1, H_1, I_1},
|
||||||
|
{1, G_2, H_2, I_2},
|
||||||
|
{1, G_3, H_3, I_3},
|
||||||
|
{1, G_4, H_4, I_4},
|
||||||
|
{1, G_5, H_5, I_5},
|
||||||
|
{1, G_6, H_6, I_6},
|
||||||
|
{1, G_7, H_7, I_7},
|
||||||
|
{1, G_8, H_8, I_8},
|
||||||
|
{1, G_9, H_9, I_9},
|
||||||
|
{1, G_10, H_10, I_10},
|
||||||
|
{1, G_11, H_11, I_11},
|
||||||
|
|
||||||
|
{1, J_1, K_1, L_1},
|
||||||
|
{1, J_2, K_2, L_2},
|
||||||
|
{1, J_3, K_3, L_3},
|
||||||
|
{1, J_4, K_4, L_4},
|
||||||
|
{1, J_5, K_5, L_5},
|
||||||
|
{1, J_6, K_6, L_6},
|
||||||
|
{1, J_7, K_7, L_7},
|
||||||
|
{1, J_8, K_8, L_8},
|
||||||
|
{1, J_9, K_9, L_9},
|
||||||
|
{1, J_10, K_10, L_10},
|
||||||
|
{1, J_11, K_11, L_11},
|
||||||
|
};
|
||||||
|
|
||||||
|
// clang-format on
|
||||||
|
bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max)
|
||||||
|
{
|
||||||
|
if (!rgb_matrix_indicators_advanced_user(led_min, led_max))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (host_keyboard_led_state().caps_lock)
|
||||||
|
{
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(30, 255, 255, 255);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!rgb_matrix_get_flags())
|
||||||
|
{
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(30, 0, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (keymap_config.no_gui)
|
||||||
|
{
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(63, 255, 255, 255);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!rgb_matrix_get_flags())
|
||||||
|
{
|
||||||
|
RGB_MATRIX_INDICATOR_SET_COLOR(63, 0, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
bool process_record_kb(uint16_t keycode, keyrecord_t *record)
|
||||||
|
{
|
||||||
|
if (!process_record_user(keycode, record))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
switch (keycode)
|
||||||
|
{
|
||||||
|
case RGB_TOG:
|
||||||
|
if (record->event.pressed)
|
||||||
|
{
|
||||||
|
switch (rgb_matrix_get_flags())
|
||||||
|
{
|
||||||
|
case LED_FLAG_ALL:
|
||||||
|
{
|
||||||
|
rgb_matrix_set_flags(LED_FLAG_NONE);
|
||||||
|
rgb_matrix_set_color_all(0, 0, 0);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
rgb_matrix_set_flags(LED_FLAG_ALL);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!rgb_matrix_is_enabled())
|
||||||
|
{
|
||||||
|
rgb_matrix_set_flags(LED_FLAG_ALL);
|
||||||
|
rgb_matrix_enable();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
24
keyboards/monsgeek/m6/mcuconf.h
Normal file
24
keyboards/monsgeek/m6/mcuconf.h
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright (C) 2023 jonylee@hfd
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
|
#undef WB32_SPI_USE_QSPI
|
||||||
|
#define WB32_SPI_USE_QSPI TRUE
|
||||||
|
|
||||||
|
#undef WB32_I2C_USE_I2C1
|
||||||
|
#define WB32_I2C_USE_I2C1 TRUE
|
19
keyboards/monsgeek/m6/readme.md
Normal file
19
keyboards/monsgeek/m6/readme.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# monsgeek m6 keyboard
|
||||||
|
|
||||||
|
A customizable 60% keyboard.
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [jonylee@hfd](https://github.com/jonylee1986)
|
||||||
|
* Hardware Supported: m6
|
||||||
|
* Hardware Availability: [monsgeek](https://www.monsgeek.com/)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make monsgeek/m6:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make monsgeek/m6:default:flash
|
||||||
|
|
||||||
|
**Reset Key**: Hold down the key located at *K00*, which programmed as *Esc* while plugging in the keyboard.
|
||||||
|
|
||||||
|
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).
|
2
keyboards/monsgeek/m6/rules.mk
Normal file
2
keyboards/monsgeek/m6/rules.mk
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
EEPROM_DRIVER = wear_leveling
|
||||||
|
WEAR_LEVELING_DRIVER = spi_flash
|
95
keyboards/stront/config.h
Normal file
95
keyboards/stront/config.h
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define SERIAL_USART_FULL_DUPLEX
|
||||||
|
#define SERIAL_USART_PIN_SWAP
|
||||||
|
#define SERIAL_USART_TX_PIN GP0
|
||||||
|
#define SERIAL_USART_RX_PIN GP1
|
||||||
|
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|
||||||
|
|
||||||
|
/* any side can be master by default, enable split sync to support it */
|
||||||
|
#define EE_HANDS
|
||||||
|
#define SPLIT_LED_STATE_ENABLE
|
||||||
|
#define SPLIT_MODS_ENABLE
|
||||||
|
#define SPLIT_POINTING_ENABLE
|
||||||
|
|
||||||
|
/* SPI config for display/touchpad */
|
||||||
|
#define SPI_DRIVER SPID1
|
||||||
|
#define SPI_SCK_PIN GP10
|
||||||
|
#define SPI_MOSI_PIN GP11
|
||||||
|
#define SPI_MISO_PIN GP12
|
||||||
|
|
||||||
|
/* touchpad config */
|
||||||
|
#define POINTING_DEVICE_RIGHT
|
||||||
|
#define POINTING_DEVICE_CS_PIN GP9
|
||||||
|
#define POINTING_DEVICE_ROTATION_180
|
||||||
|
#define CIRQUE_PINNACLE_DIAMETER_MM 40
|
||||||
|
|
||||||
|
/* LCD config */
|
||||||
|
#define LCD_DC_PIN GP12
|
||||||
|
#define LCD_CS_PIN GP9
|
||||||
|
#define LCD_RST_PIN GP13
|
||||||
|
#define BACKLIGHT_PWM_DRIVER PWMD7
|
||||||
|
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A
|
||||||
|
#define QUANTUM_PAINTER_LVGL_USE_CUSTOM_CONF
|
||||||
|
|
||||||
|
/* RGB config */
|
||||||
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
# define SPLIT_TRANSPORT_MIRROR
|
||||||
|
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||||
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
|
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
|
# define RGB_MATRIX_KEYPRESSES
|
||||||
|
|
||||||
|
# define ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue
|
||||||
|
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes
|
||||||
|
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes
|
||||||
|
# define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation
|
||||||
|
# define ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right
|
||||||
|
# define ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
|
||||||
|
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation
|
||||||
|
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness
|
||||||
|
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation
|
||||||
|
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness
|
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient
|
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right
|
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom
|
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in
|
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
|
||||||
|
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradient Chevron shaped scrolling left to right
|
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard
|
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
|
||||||
|
# define ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
|
||||||
|
# define ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
|
||||||
|
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
|
||||||
|
# define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue
|
||||||
|
# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
|
||||||
|
# define ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight amount at the same time, then shifts back
|
||||||
|
# define ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight amount in a wave to the right, then back to the left
|
||||||
|
# define ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight amount and then back down in a wave to the right
|
||||||
|
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL // Single hue fractal filled keys pulsing horizontally out to edges
|
||||||
|
# define ENABLE_RGB_MATRIX_PIXEL_FLOW // Pulsing RGB flow along LED wiring with random hues
|
||||||
|
# define ENABLE_RGB_MATRIX_PIXEL_RAIN // Randomly light keys with random hues
|
||||||
|
# if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS)
|
||||||
|
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM!
|
||||||
|
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation
|
||||||
|
# endif
|
||||||
|
# if defined(RGB_MATRIX_KEYPRESSES) || defined(RGB_MATRIX_KEYRELEASES)
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out
|
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out
|
||||||
|
# endif
|
||||||
|
#endif
|
125
keyboards/stront/display.c
Normal file
125
keyboards/stront/display.c
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "display.h"
|
||||||
|
#include "qp.h"
|
||||||
|
#include "lvgl_helpers.h"
|
||||||
|
|
||||||
|
/* shared styles */
|
||||||
|
lv_style_t style_screen;
|
||||||
|
lv_style_t style_container;
|
||||||
|
lv_style_t style_button;
|
||||||
|
lv_style_t style_button_active;
|
||||||
|
|
||||||
|
/* screens */
|
||||||
|
static lv_obj_t *screen_home;
|
||||||
|
|
||||||
|
/* home screen content */
|
||||||
|
static lv_obj_t *label_shift;
|
||||||
|
static lv_obj_t *label_ctrl;
|
||||||
|
static lv_obj_t *label_alt;
|
||||||
|
static lv_obj_t *label_gui;
|
||||||
|
static lv_obj_t *label_caps;
|
||||||
|
|
||||||
|
void init_styles(void) {
|
||||||
|
lv_style_init(&style_screen);
|
||||||
|
lv_style_set_bg_color(&style_screen, lv_color_black());
|
||||||
|
|
||||||
|
lv_style_init(&style_container);
|
||||||
|
lv_style_set_pad_top(&style_container, 0);
|
||||||
|
lv_style_set_pad_bottom(&style_container, 0);
|
||||||
|
lv_style_set_pad_left(&style_container, 0);
|
||||||
|
lv_style_set_pad_right(&style_container, 0);
|
||||||
|
lv_style_set_bg_opa(&style_container, 0);
|
||||||
|
lv_style_set_border_width(&style_container, 0);
|
||||||
|
lv_style_set_width(&style_container, lv_pct(100));
|
||||||
|
lv_style_set_height(&style_container, LV_SIZE_CONTENT);
|
||||||
|
|
||||||
|
lv_style_init(&style_button);
|
||||||
|
lv_style_set_pad_top(&style_button, 4);
|
||||||
|
lv_style_set_pad_bottom(&style_button, 4);
|
||||||
|
lv_style_set_pad_left(&style_button, 4);
|
||||||
|
lv_style_set_pad_right(&style_button, 4);
|
||||||
|
lv_style_set_radius(&style_button, 6);
|
||||||
|
lv_style_set_text_color(&style_button, lv_palette_main(LV_PALETTE_AMBER));
|
||||||
|
|
||||||
|
lv_style_init(&style_button_active);
|
||||||
|
lv_style_set_bg_color(&style_button_active, lv_palette_main(LV_PALETTE_AMBER));
|
||||||
|
lv_style_set_bg_opa(&style_button_active, LV_OPA_100);
|
||||||
|
lv_style_set_text_color(&style_button_active, lv_color_black());
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_screen_home(void) {
|
||||||
|
screen_home = lv_scr_act();
|
||||||
|
|
||||||
|
lv_obj_add_style(screen_home, &style_screen, 0);
|
||||||
|
use_flex_column(screen_home);
|
||||||
|
|
||||||
|
lv_obj_t *mods = lv_obj_create(screen_home);
|
||||||
|
lv_obj_add_style(mods, &style_container, 0);
|
||||||
|
use_flex_column(mods);
|
||||||
|
|
||||||
|
lv_obj_t *mods_row1 = lv_obj_create(mods);
|
||||||
|
lv_obj_add_style(mods_row1, &style_container, 0);
|
||||||
|
use_flex_row(mods_row1);
|
||||||
|
label_gui = create_button(mods_row1, "GUI", &style_button, &style_button_active);
|
||||||
|
label_alt = create_button(mods_row1, "ALT", &style_button, &style_button_active);
|
||||||
|
|
||||||
|
lv_obj_t *mods_row2 = lv_obj_create(mods);
|
||||||
|
lv_obj_add_style(mods_row2, &style_container, 0);
|
||||||
|
use_flex_row(mods_row2);
|
||||||
|
label_ctrl = create_button(mods_row2, "CTL", &style_button, &style_button_active);
|
||||||
|
label_shift = create_button(mods_row2, "SFT", &style_button, &style_button_active);
|
||||||
|
|
||||||
|
lv_obj_t *label_stront = lv_label_create(screen_home);
|
||||||
|
lv_label_set_text(label_stront, "stront");
|
||||||
|
#if LV_FONT_MONTSERRAT_48
|
||||||
|
lv_obj_set_style_text_font(label_stront, &lv_font_montserrat_48, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
label_caps = create_button(screen_home, "CAPS", &style_button, &style_button_active);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool display_init_kb(void) {
|
||||||
|
dprint("display_init_kb - start\n");
|
||||||
|
|
||||||
|
backlight_enable();
|
||||||
|
|
||||||
|
painter_device_t display = qp_st7789_make_spi_device(240, 300, LCD_CS_PIN, LCD_DC_PIN, LCD_RST_PIN, 16, 3);
|
||||||
|
qp_set_viewport_offsets(display, 0, 20);
|
||||||
|
|
||||||
|
if (!qp_init(display, QP_ROTATION_180) || !qp_power(display, true) || !qp_lvgl_attach(display)) return false;
|
||||||
|
|
||||||
|
dprint("display_init_kb - initialised\n");
|
||||||
|
|
||||||
|
lv_disp_t *lv_display = lv_disp_get_default();
|
||||||
|
lv_theme_t *lv_theme = lv_theme_default_init(lv_display, lv_palette_main(LV_PALETTE_AMBER), lv_palette_main(LV_PALETTE_BLUE), true, LV_FONT_DEFAULT);
|
||||||
|
lv_disp_set_theme(lv_display, lv_theme);
|
||||||
|
init_styles();
|
||||||
|
|
||||||
|
bool res = display_init_user();
|
||||||
|
if (res) {
|
||||||
|
dprint("display_init_kb - adding default home screen\n");
|
||||||
|
init_screen_home();
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
__attribute__((weak)) bool display_init_user(void) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
__attribute__((weak)) void display_housekeeping_task(void) {
|
||||||
|
dprint("display_housekeeping_task_kb\n");
|
||||||
|
|
||||||
|
toggle_state(label_shift, LV_STATE_PRESSED, MODS_SHIFT);
|
||||||
|
toggle_state(label_ctrl, LV_STATE_PRESSED, MODS_CTRL);
|
||||||
|
toggle_state(label_alt, LV_STATE_PRESSED, MODS_ALT);
|
||||||
|
toggle_state(label_gui, LV_STATE_PRESSED, MODS_GUI);
|
||||||
|
}
|
||||||
|
|
||||||
|
__attribute__((weak)) void display_process_caps(bool active) {
|
||||||
|
dprint("display_process_caps\n");
|
||||||
|
toggle_state(label_caps, LV_STATE_PRESSED, active);
|
||||||
|
}
|
20
keyboards/stront/display.h
Normal file
20
keyboards/stront/display.h
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "qp_lvgl.h"
|
||||||
|
|
||||||
|
#define MODS_SHIFT ((get_mods() | get_oneshot_mods()) & MOD_MASK_SHIFT)
|
||||||
|
#define MODS_CTRL ((get_mods() | get_oneshot_mods()) & MOD_MASK_CTRL)
|
||||||
|
#define MODS_ALT ((get_mods() | get_oneshot_mods()) & MOD_MASK_ALT)
|
||||||
|
#define MODS_GUI ((get_mods() | get_oneshot_mods()) & MOD_MASK_GUI)
|
||||||
|
|
||||||
|
/* shared styles */
|
||||||
|
extern lv_style_t style_screen;
|
||||||
|
extern lv_style_t style_container;
|
||||||
|
extern lv_style_t style_button;
|
||||||
|
extern lv_style_t style_button_active;
|
||||||
|
|
||||||
|
bool display_init_kb(void);
|
||||||
|
bool display_init_user(void);
|
||||||
|
void display_housekeeping_task(void);
|
||||||
|
void display_process_caps(bool active);
|
9
keyboards/stront/halconf.h
Normal file
9
keyboards/stront/halconf.h
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define HAL_USE_SPI TRUE
|
||||||
|
#define HAL_USE_PWM TRUE
|
||||||
|
|
||||||
|
#include_next <halconf.h>
|
147
keyboards/stront/info.json
Normal file
147
keyboards/stront/info.json
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "stront",
|
||||||
|
"manufacturer": "zzeneg",
|
||||||
|
"url": "https://github.com/zzeneg/stront",
|
||||||
|
"maintainer": "zzeneg",
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [
|
||||||
|
{ "matrix": [0, 1], "x": 2, "y": 0 },
|
||||||
|
{ "matrix": [0, 2], "x": 3, "y": 0 },
|
||||||
|
{ "matrix": [0, 3], "x": 4, "y": 0 },
|
||||||
|
{ "matrix": [0, 4], "x": 5, "y": 0 },
|
||||||
|
|
||||||
|
{ "matrix": [4, 4], "x": 8, "y": 0 },
|
||||||
|
{ "matrix": [4, 3], "x": 9, "y": 0 },
|
||||||
|
{ "matrix": [4, 2], "x": 10, "y": 0 },
|
||||||
|
{ "matrix": [4, 1], "x": 11, "y": 0 },
|
||||||
|
|
||||||
|
{ "matrix": [0, 0], "x": 0, "y": 1 },
|
||||||
|
{ "matrix": [1, 0], "x": 1, "y": 1 },
|
||||||
|
{ "matrix": [1, 1], "x": 2, "y": 1 },
|
||||||
|
{ "matrix": [1, 2], "x": 3, "y": 1 },
|
||||||
|
{ "matrix": [1, 3], "x": 4, "y": 1 },
|
||||||
|
{ "matrix": [1, 4], "x": 5, "y": 1 },
|
||||||
|
|
||||||
|
{ "matrix": [5, 4], "x": 8, "y": 1 },
|
||||||
|
{ "matrix": [5, 3], "x": 9, "y": 1 },
|
||||||
|
{ "matrix": [5, 2], "x": 10, "y": 1 },
|
||||||
|
{ "matrix": [5, 1], "x": 11, "y": 1 },
|
||||||
|
{ "matrix": [5, 0], "x": 12, "y": 1 },
|
||||||
|
{ "matrix": [4, 0], "x": 13, "y": 1 },
|
||||||
|
|
||||||
|
{ "matrix": [3, 0], "x": 0, "y": 2 },
|
||||||
|
{ "matrix": [2, 0], "x": 1, "y": 2 },
|
||||||
|
{ "matrix": [2, 1], "x": 2, "y": 2 },
|
||||||
|
{ "matrix": [2, 2], "x": 3, "y": 2 },
|
||||||
|
{ "matrix": [2, 3], "x": 4, "y": 2 },
|
||||||
|
{ "matrix": [2, 4], "x": 5, "y": 2 },
|
||||||
|
|
||||||
|
{ "matrix": [6, 4], "x": 8, "y": 2 },
|
||||||
|
{ "matrix": [6, 3], "x": 9, "y": 2 },
|
||||||
|
{ "matrix": [6, 2], "x": 10, "y": 2 },
|
||||||
|
{ "matrix": [6, 1], "x": 11, "y": 2 },
|
||||||
|
{ "matrix": [6, 0], "x": 12, "y": 2 },
|
||||||
|
{ "matrix": [7, 0], "x": 13, "y": 2 },
|
||||||
|
|
||||||
|
{ "matrix": [3, 2], "x": 4, "y": 3 },
|
||||||
|
{ "matrix": [3, 3], "x": 5, "y": 3 },
|
||||||
|
{ "matrix": [3, 4], "x": 6, "y": 3 },
|
||||||
|
{ "matrix": [7, 4], "x": 7, "y": 3 },
|
||||||
|
{ "matrix": [7, 3], "x": 8, "y": 3 },
|
||||||
|
{ "matrix": [7, 2], "x": 9, "y": 3 }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"processor": "RP2040",
|
||||||
|
"bootloader": "rp2040",
|
||||||
|
"diode_direction": "COL2ROW",
|
||||||
|
"matrix_pins": {
|
||||||
|
"cols": ["GP2", "GP3", "GP4", "GP5", "GP6"],
|
||||||
|
"rows": ["GP28", "GP27", "GP26", "GP15"]
|
||||||
|
},
|
||||||
|
"split": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"encoder": {
|
||||||
|
"rotary": [
|
||||||
|
{
|
||||||
|
"pin_a": "GP7",
|
||||||
|
"pin_b": "GP8",
|
||||||
|
"resolution": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"console": false,
|
||||||
|
"encoder": true,
|
||||||
|
"backlight": true,
|
||||||
|
"extrakey": true,
|
||||||
|
"rgblight": false,
|
||||||
|
"rgb_matrix": true,
|
||||||
|
"nkro": false
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"pin": "GP14"
|
||||||
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "GP29"
|
||||||
|
},
|
||||||
|
"rgblight": {
|
||||||
|
"led_count": 38,
|
||||||
|
"split": true,
|
||||||
|
"split_count": [19, 19]
|
||||||
|
},
|
||||||
|
"rgb_matrix": {
|
||||||
|
"driver": "WS2812",
|
||||||
|
"led_count": 38,
|
||||||
|
"split_count": [19, 19],
|
||||||
|
"layout": [
|
||||||
|
{ "flags": 4, "matrix": [0, 4], "x": 71, "y": 7 },
|
||||||
|
{ "flags": 4, "matrix": [0, 3], "x": 57, "y": 5 },
|
||||||
|
{ "flags": 4, "matrix": [0, 2], "x": 44, "y": 0 },
|
||||||
|
{ "flags": 4, "matrix": [0, 1], "x": 27, "y": 5 },
|
||||||
|
{ "flags": 4, "matrix": [1, 1], "x": 29, "y": 22 },
|
||||||
|
{ "flags": 4, "matrix": [1, 0], "x": 14, "y": 26 },
|
||||||
|
{ "flags": 4, "matrix": [0, 0], "x": 0, "y": 26 },
|
||||||
|
{ "flags": 4, "matrix": [3, 0], "x": 2, "y": 43 },
|
||||||
|
{ "flags": 4, "matrix": [2, 0], "x": 16, "y": 43 },
|
||||||
|
{ "flags": 4, "matrix": [2, 1], "x": 30, "y": 38 },
|
||||||
|
{ "flags": 4, "matrix": [2, 2], "x": 44, "y": 33 },
|
||||||
|
{ "flags": 4, "matrix": [1, 2], "x": 44, "y": 17 },
|
||||||
|
{ "flags": 4, "matrix": [1, 3], "x": 57, "y": 22 },
|
||||||
|
{ "flags": 4, "matrix": [1, 4], "x": 71, "y": 24 },
|
||||||
|
{ "flags": 4, "matrix": [2, 4], "x": 71, "y": 40 },
|
||||||
|
{ "flags": 4, "matrix": [2, 3], "x": 57, "y": 38 },
|
||||||
|
{ "flags": 4, "matrix": [3, 2], "x": 56, "y": 57 },
|
||||||
|
{ "flags": 4, "matrix": [3, 3], "x": 71, "y": 59 },
|
||||||
|
{ "flags": 4, "matrix": [3, 4], "x": 85, "y": 64 },
|
||||||
|
|
||||||
|
{ "flags": 4, "matrix": [7, 4], "x": 139, "y": 64 },
|
||||||
|
{ "flags": 4, "matrix": [7, 3], "x": 153, "y": 59 },
|
||||||
|
{ "flags": 4, "matrix": [7, 2], "x": 168, "y": 57 },
|
||||||
|
{ "flags": 4, "matrix": [6, 3], "x": 167, "y": 38 },
|
||||||
|
{ "flags": 4, "matrix": [6, 4], "x": 153, "y": 40 },
|
||||||
|
{ "flags": 4, "matrix": [5, 4], "x": 153, "y": 24 },
|
||||||
|
{ "flags": 4, "matrix": [5, 3], "x": 167, "y": 22 },
|
||||||
|
{ "flags": 4, "matrix": [5, 2], "x": 180, "y": 17 },
|
||||||
|
{ "flags": 4, "matrix": [6, 2], "x": 180, "y": 33 },
|
||||||
|
{ "flags": 4, "matrix": [6, 1], "x": 194, "y": 38 },
|
||||||
|
{ "flags": 4, "matrix": [6, 0], "x": 208, "y": 43 },
|
||||||
|
{ "flags": 4, "matrix": [7, 0], "x": 222, "y": 43 },
|
||||||
|
{ "flags": 4, "matrix": [4, 0], "x": 224, "y": 26 },
|
||||||
|
{ "flags": 4, "matrix": [5, 0], "x": 210, "y": 26 },
|
||||||
|
{ "flags": 4, "matrix": [5, 1], "x": 195, "y": 22 },
|
||||||
|
{ "flags": 4, "matrix": [4, 1], "x": 197, "y": 5 },
|
||||||
|
{ "flags": 4, "matrix": [4, 2], "x": 180, "y": 0 },
|
||||||
|
{ "flags": 4, "matrix": [4, 3], "x": 167, "y": 5 },
|
||||||
|
{ "flags": 4, "matrix": [4, 4], "x": 153, "y": 7 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"usb": {
|
||||||
|
"device_version": "1.0.0",
|
||||||
|
"pid": "0x0844",
|
||||||
|
"vid": "0xFEED"
|
||||||
|
}
|
||||||
|
}
|
107
keyboards/stront/keymaps/default/keymap.c
Normal file
107
keyboards/stront/keymaps/default/keymap.c
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
enum layer_number {
|
||||||
|
// clang-format off
|
||||||
|
_QWERTY = 0,
|
||||||
|
_GAME,
|
||||||
|
_NAV,
|
||||||
|
_NUMBER,
|
||||||
|
_SYMBOL,
|
||||||
|
_FUNC,
|
||||||
|
_SYS
|
||||||
|
// clang-format on
|
||||||
|
};
|
||||||
|
|
||||||
|
// Left-hand home row mods
|
||||||
|
#define HOME_A LGUI_T(KC_A)
|
||||||
|
#define HOME_S LALT_T(KC_S)
|
||||||
|
#define HOME_D LCTL_T(KC_D)
|
||||||
|
#define HOME_F LSFT_T(KC_F)
|
||||||
|
|
||||||
|
// Right-hand home row mods
|
||||||
|
#define HOME_J RSFT_T(KC_J)
|
||||||
|
#define HOME_K RCTL_T(KC_K)
|
||||||
|
#define HOME_L LALT_T(KC_L)
|
||||||
|
#define HOME_SCLN RGUI_T(KC_SCLN)
|
||||||
|
|
||||||
|
// bottom mods
|
||||||
|
#define SYM_SPC LT(_SYMBOL, KC_SPC)
|
||||||
|
#define NUM_TAB LT(_NUMBER, KC_TAB)
|
||||||
|
#define FUNC_ESC LT(_FUNC, KC_ESC)
|
||||||
|
#define FUNC_ENT LT(_FUNC, KC_ENT)
|
||||||
|
#define NAV_BSPC LT(_NAV, KC_BSPC)
|
||||||
|
#define RALT_DEL LALT_T(KC_DEL)
|
||||||
|
|
||||||
|
// game layer mods
|
||||||
|
#define LALT_Q LALT_T(KC_Q)
|
||||||
|
#define LSFT_MINS LSFT_T(KC_MINS)
|
||||||
|
#define LCTL_ESC LCTL_T(KC_ESC)
|
||||||
|
#define LGUI_QUOT LGUI_T(KC_QUOT)
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
/* QWERTY
|
||||||
|
* .---------------------------. .---------------------------.
|
||||||
|
* | W | E | R | T | | Y | U | I | O |
|
||||||
|
* .------+------+------+------+------+------| |------+------+------+------+------+------.
|
||||||
|
* | Q | A | S | D | F | G | | H | J | K | L | P | ; |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | - | Z | X | C | V | B |--------. .--------| N | M | , | . | / | ' |
|
||||||
|
* '-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Esc | Tab | / Space / \ Enter \ | Bsps | Del |
|
||||||
|
* |_FUNC | _NUM | /_SYMBOL/ \ _FUNC \ | _NAV | RAlt |
|
||||||
|
* `-------------''-------' '-------''-------------'
|
||||||
|
*/
|
||||||
|
// clang-format off
|
||||||
|
[_QWERTY] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
KC_Q, HOME_A, HOME_S, HOME_D, HOME_F, KC_G, KC_H, HOME_J, HOME_K, HOME_L, HOME_SCLN, KC_P,
|
||||||
|
KC_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_GAME] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
LALT_Q, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_P,
|
||||||
|
LSFT_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, LGUI_QUOT,
|
||||||
|
LCTL_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NAV] = LAYOUT(
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN, KC_PGUP,
|
||||||
|
XXXXXXX, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_PAUS,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_END, KC_INS, KC_APP, XXXXXXX,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, XXXXXXX, _______, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NUMBER] = LAYOUT(
|
||||||
|
KC_7, KC_8, KC_9, KC_GRV, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_EQL, KC_0, KC_4, KC_5, KC_6, KC_LBRC, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
KC_MINS, KC_BSLS, KC_1, KC_2, KC_3, KC_RBRC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_ENT, _______, TG(_GAME), FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYMBOL] = LAYOUT(
|
||||||
|
LSFT(KC_7), LSFT(KC_8), LSFT(KC_9), LSFT(KC_GRV), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
LSFT(KC_EQL), LSFT(KC_0), LSFT(KC_4), LSFT(KC_5), LSFT(KC_6), LSFT(KC_LBRC), XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
LSFT(KC_MINS), LSFT(KC_BSLS), LSFT(KC_1), LSFT(KC_2), LSFT(KC_3), LSFT(KC_RBRC), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
MO(_SYS), KC_BSPC, _______, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_FUNC] = LAYOUT(
|
||||||
|
KC_F7, KC_F8, KC_F9, KC_CAPS, XXXXXXX, KC_PSCR, KC_SCRL, KC_NUM,
|
||||||
|
KC_F12, KC_F11, KC_F4, KC_F5, KC_F6, KC_F12, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
XXXXXXX, KC_F10, KC_F1, KC_F2, KC_F3, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
_______, KC_MNXT, KC_MPLY, _______, XXXXXXX, MO(_SYS)
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYS] = LAYOUT(
|
||||||
|
BL_DOWN, BL_UP, BL_TOGG, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, RGB_RMOD,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, RGB_M_P,
|
||||||
|
EH_LEFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, EH_RGHT, EH_RGHT, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, EH_LEFT,
|
||||||
|
_______, QK_BOOT, _______, _______, QK_BOOT, _______
|
||||||
|
)
|
||||||
|
// clang-format on
|
||||||
|
};
|
7
keyboards/stront/keymaps/hid/config.h
Normal file
7
keyboards/stront/keymaps/hid/config.h
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define SPLIT_TRANSACTION_IDS_USER RPC_ID_USER_HID_SYNC, RPC_ID_USER_CAPS_WORD_SYNC, RPC_ID_USER_LAYER_SYNC
|
||||||
|
#define QUANTUM_PAINTER_DISPLAY_TIMEOUT 0
|
240
keyboards/stront/keymaps/hid/hid_display.c
Normal file
240
keyboards/stront/keymaps/hid/hid_display.c
Normal file
@ -0,0 +1,240 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "hid_display.h"
|
||||||
|
#include "display.h"
|
||||||
|
#include "raw_hid.h"
|
||||||
|
#include "lvgl_helpers.h"
|
||||||
|
|
||||||
|
uint16_t home_screen_timer = 0;
|
||||||
|
|
||||||
|
/* screens */
|
||||||
|
static lv_obj_t *screen_home;
|
||||||
|
static lv_obj_t *screen_volume;
|
||||||
|
static lv_obj_t *screen_media;
|
||||||
|
|
||||||
|
/* home screen content */
|
||||||
|
static lv_obj_t *label_time;
|
||||||
|
static lv_obj_t *label_volume_home;
|
||||||
|
static lv_obj_t *label_shift;
|
||||||
|
static lv_obj_t *label_ctrl;
|
||||||
|
static lv_obj_t *label_alt;
|
||||||
|
static lv_obj_t *label_gui;
|
||||||
|
static lv_obj_t *label_layer;
|
||||||
|
static lv_obj_t *label_caps;
|
||||||
|
#ifdef CAPS_WORD_ENABLE
|
||||||
|
static lv_obj_t *label_caps_word;
|
||||||
|
#endif
|
||||||
|
static lv_obj_t *label_layout;
|
||||||
|
|
||||||
|
/* volume screen content */
|
||||||
|
static lv_obj_t *arc_volume;
|
||||||
|
static lv_obj_t *label_volume_arc;
|
||||||
|
|
||||||
|
/* media screen content */
|
||||||
|
static lv_obj_t *label_media_artist;
|
||||||
|
static lv_obj_t *label_media_title;
|
||||||
|
|
||||||
|
enum layout { _EN = 0, _RU };
|
||||||
|
void set_layout_label(uint8_t layout) {
|
||||||
|
switch (layout) {
|
||||||
|
case _EN:
|
||||||
|
lv_label_set_text(label_layout, "EN");
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _RU:
|
||||||
|
lv_label_set_text(label_layout, "RU");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void read_string(uint8_t *data, char *string_data) {
|
||||||
|
uint8_t data_length = data[1];
|
||||||
|
memcpy(string_data, data + 2, data_length);
|
||||||
|
string_data[data_length] = '\0';
|
||||||
|
}
|
||||||
|
|
||||||
|
void start_home_screen_timer(void) {
|
||||||
|
dprint("start_home_screen_timer\n");
|
||||||
|
home_screen_timer = timer_read();
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_screen_home_custom(void) {
|
||||||
|
screen_home = lv_scr_act();
|
||||||
|
lv_obj_add_style(screen_home, &style_screen, 0);
|
||||||
|
use_flex_column(screen_home);
|
||||||
|
|
||||||
|
label_volume_home = lv_label_create(screen_home);
|
||||||
|
lv_label_set_text(label_volume_home, "");
|
||||||
|
|
||||||
|
lv_obj_t *mods = lv_obj_create(screen_home);
|
||||||
|
lv_obj_add_style(mods, &style_container, 0);
|
||||||
|
use_flex_row(mods);
|
||||||
|
|
||||||
|
label_gui = create_button(mods, "GUI", &style_button, &style_button_active);
|
||||||
|
label_alt = create_button(mods, "ALT", &style_button, &style_button_active);
|
||||||
|
label_ctrl = create_button(mods, "CTL", &style_button, &style_button_active);
|
||||||
|
label_shift = create_button(mods, "SFT", &style_button, &style_button_active);
|
||||||
|
|
||||||
|
label_time = lv_label_create(screen_home);
|
||||||
|
lv_label_set_text(label_time, "00:00");
|
||||||
|
lv_obj_set_style_text_font(label_time, &lv_font_montserrat_48, LV_PART_MAIN);
|
||||||
|
|
||||||
|
lv_obj_t *caps = lv_obj_create(screen_home);
|
||||||
|
lv_obj_add_style(caps, &style_container, 0);
|
||||||
|
use_flex_row(caps);
|
||||||
|
|
||||||
|
label_caps = create_button(caps, "CAPS", &style_button, &style_button_active);
|
||||||
|
#ifdef CAPS_WORD_ENABLE
|
||||||
|
label_caps_word = create_button(caps, "CAPS WORD", &style_button, &style_button_active);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
lv_obj_t *bottom_row = lv_obj_create(screen_home);
|
||||||
|
lv_obj_add_style(bottom_row, &style_container, 0);
|
||||||
|
|
||||||
|
label_layer = lv_label_create(bottom_row);
|
||||||
|
lv_label_set_text(label_layer, "");
|
||||||
|
lv_obj_align(label_layer, LV_ALIGN_LEFT_MID, 10, 0);
|
||||||
|
display_process_layer_state(0);
|
||||||
|
|
||||||
|
label_layout = lv_label_create(bottom_row);
|
||||||
|
lv_label_set_text(label_layout, "");
|
||||||
|
lv_obj_align(label_layout, LV_ALIGN_RIGHT_MID, -10, 0);
|
||||||
|
set_layout_label(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_screen_volume(void) {
|
||||||
|
screen_volume = lv_obj_create(NULL);
|
||||||
|
lv_obj_add_style(screen_volume, &style_screen, 0);
|
||||||
|
|
||||||
|
arc_volume = lv_arc_create(screen_volume);
|
||||||
|
lv_obj_set_size(arc_volume, 200, 200);
|
||||||
|
lv_obj_center(arc_volume);
|
||||||
|
|
||||||
|
label_volume_arc = lv_label_create(screen_volume);
|
||||||
|
lv_label_set_text(label_volume_arc, "00");
|
||||||
|
lv_obj_set_style_text_font(label_volume_arc, &lv_font_montserrat_48, LV_PART_MAIN);
|
||||||
|
lv_obj_center(label_volume_arc);
|
||||||
|
|
||||||
|
lv_obj_t *volume_text_label = lv_label_create(screen_volume);
|
||||||
|
lv_label_set_text(volume_text_label, "Volume");
|
||||||
|
lv_obj_align(volume_text_label, LV_ALIGN_BOTTOM_MID, 0, -10);
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_screen_media(void) {
|
||||||
|
screen_media = lv_obj_create(NULL);
|
||||||
|
lv_obj_add_style(screen_media, &style_screen, 0);
|
||||||
|
use_flex_column(screen_media);
|
||||||
|
lv_obj_set_flex_align(screen_media, LV_FLEX_ALIGN_SPACE_EVENLY, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER);
|
||||||
|
|
||||||
|
label_media_artist = lv_label_create(screen_media);
|
||||||
|
lv_label_set_text(label_media_artist, "N/A");
|
||||||
|
lv_label_set_long_mode(label_media_artist, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_set_width(label_media_artist, lv_pct(90));
|
||||||
|
lv_obj_set_style_text_align(label_media_artist, LV_TEXT_ALIGN_CENTER, 0);
|
||||||
|
|
||||||
|
label_media_title = lv_label_create(screen_media);
|
||||||
|
lv_label_set_text(label_media_title, "N/A");
|
||||||
|
lv_label_set_long_mode(label_media_title, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_set_width(label_media_title, lv_pct(90));
|
||||||
|
lv_obj_set_style_text_align(label_media_title, LV_TEXT_ALIGN_CENTER, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool display_init_user(void) {
|
||||||
|
init_screen_home_custom();
|
||||||
|
init_screen_volume();
|
||||||
|
init_screen_media();
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_process_raw_hid_data(uint8_t *data, uint8_t length) {
|
||||||
|
uint8_t data_type = data[0];
|
||||||
|
char string_data[length - 2];
|
||||||
|
dprintf("display_process_raw_hid_data - received data_type %u \n", data_type);
|
||||||
|
switch (data_type) {
|
||||||
|
case _TIME:
|
||||||
|
dprintf("time %02d:%02d\n", data[1], data[2]);
|
||||||
|
lv_label_set_text_fmt(label_time, "%02d:%02d", data[1], data[2]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _VOLUME:
|
||||||
|
dprintf("volume %d\n", data[1]);
|
||||||
|
lv_label_set_text_fmt(label_volume_home, "Volume: %02d%%", data[1]);
|
||||||
|
lv_label_set_text_fmt(label_volume_arc, "%02d", data[1]);
|
||||||
|
lv_arc_set_value(arc_volume, data[1]);
|
||||||
|
lv_scr_load(screen_volume);
|
||||||
|
start_home_screen_timer();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _LAYOUT:
|
||||||
|
dprintf("layout %d\n", data[1]);
|
||||||
|
set_layout_label(data[1]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _MEDIA_ARTIST:
|
||||||
|
read_string(data, string_data);
|
||||||
|
dprintf("media artist %s\n", string_data);
|
||||||
|
lv_label_set_text(label_media_artist, string_data);
|
||||||
|
lv_scr_load(screen_media);
|
||||||
|
start_home_screen_timer();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _MEDIA_TITLE:
|
||||||
|
read_string(data, string_data);
|
||||||
|
dprintf("media title %s\n", string_data);
|
||||||
|
lv_label_set_text(label_media_title, string_data);
|
||||||
|
lv_scr_load(screen_media);
|
||||||
|
start_home_screen_timer();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_process_layer_state(uint8_t layer) {
|
||||||
|
switch (layer) {
|
||||||
|
case _QWERTY:
|
||||||
|
lv_label_set_text(label_layer, "QWERTY");
|
||||||
|
break;
|
||||||
|
case _GAME:
|
||||||
|
lv_label_set_text(label_layer, "GAME");
|
||||||
|
break;
|
||||||
|
case _NAV:
|
||||||
|
lv_label_set_text(label_layer, "NAV");
|
||||||
|
break;
|
||||||
|
case _NUMBER:
|
||||||
|
lv_label_set_text(label_layer, "NUMBER");
|
||||||
|
break;
|
||||||
|
case _SYMBOL:
|
||||||
|
lv_label_set_text(label_layer, "SYMBOL");
|
||||||
|
break;
|
||||||
|
case _FUNC:
|
||||||
|
lv_label_set_text(label_layer, "FUNC");
|
||||||
|
break;
|
||||||
|
case _SYS:
|
||||||
|
lv_label_set_text(label_layer, "SYSTEM");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_housekeeping_task(void) {
|
||||||
|
if (home_screen_timer && timer_elapsed(home_screen_timer) > 5000) {
|
||||||
|
home_screen_timer = 0;
|
||||||
|
lv_scr_load(screen_home);
|
||||||
|
}
|
||||||
|
|
||||||
|
toggle_state(label_shift, LV_STATE_PRESSED, MODS_SHIFT);
|
||||||
|
toggle_state(label_ctrl, LV_STATE_PRESSED, MODS_CTRL);
|
||||||
|
toggle_state(label_alt, LV_STATE_PRESSED, MODS_ALT);
|
||||||
|
toggle_state(label_gui, LV_STATE_PRESSED, MODS_GUI);
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_process_caps(bool active) {
|
||||||
|
toggle_state(label_caps, LV_STATE_PRESSED, active);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef CAPS_WORD_ENABLE
|
||||||
|
void display_process_caps_word(bool active) {
|
||||||
|
dprint("display_process_caps_word\n");
|
||||||
|
toggle_state(label_caps_word, LV_STATE_PRESSED, active);
|
||||||
|
}
|
||||||
|
#endif
|
29
keyboards/stront/keymaps/hid/hid_display.h
Normal file
29
keyboards/stront/keymaps/hid/hid_display.h
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
_QWERTY = 0,
|
||||||
|
_GAME,
|
||||||
|
_EU,
|
||||||
|
_NAV,
|
||||||
|
_NUMBER,
|
||||||
|
_SYMBOL,
|
||||||
|
_FUNC,
|
||||||
|
_SYS,
|
||||||
|
} layer_number;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
_TIME = 0,
|
||||||
|
_VOLUME,
|
||||||
|
_LAYOUT,
|
||||||
|
_MEDIA_ARTIST,
|
||||||
|
_MEDIA_TITLE,
|
||||||
|
} hid_data_type;
|
||||||
|
|
||||||
|
void display_process_raw_hid_data(uint8_t *data, uint8_t length);
|
||||||
|
void display_process_layer_state(uint8_t layer);
|
||||||
|
#ifdef CAPS_WORD_ENABLE
|
||||||
|
void display_process_caps_word(bool active);
|
||||||
|
#endif
|
187
keyboards/stront/keymaps/hid/keymap.c
Normal file
187
keyboards/stront/keymaps/hid/keymap.c
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
#include "hid_display.h"
|
||||||
|
#include "raw_hid.h"
|
||||||
|
#include "transactions.h"
|
||||||
|
|
||||||
|
// Left-hand home row mods
|
||||||
|
#define HOME_A LGUI_T(KC_A)
|
||||||
|
#define HOME_S LALT_T(KC_S)
|
||||||
|
#define HOME_D LCTL_T(KC_D)
|
||||||
|
#define HOME_F LSFT_T(KC_F)
|
||||||
|
|
||||||
|
// Right-hand home row mods
|
||||||
|
#define HOME_J RSFT_T(KC_J)
|
||||||
|
#define HOME_K RCTL_T(KC_K)
|
||||||
|
#define HOME_L LALT_T(KC_L)
|
||||||
|
#define HOME_SCLN RGUI_T(KC_SCLN)
|
||||||
|
|
||||||
|
// bottom mods
|
||||||
|
#define SYM_SPC LT(_SYMBOL, KC_SPC)
|
||||||
|
#define NUM_TAB LT(_NUMBER, KC_TAB)
|
||||||
|
#define FUNC_ESC LT(_FUNC, KC_ESC)
|
||||||
|
#define FUNC_ENT LT(_FUNC, KC_ENT)
|
||||||
|
#define NAV_BSPC LT(_NAV, KC_BSPC)
|
||||||
|
#define RALT_DEL LALT_T(KC_DEL)
|
||||||
|
|
||||||
|
// game layer mods
|
||||||
|
#define LALT_Q LALT_T(KC_Q)
|
||||||
|
#define LSFT_MINS LSFT_T(KC_MINS)
|
||||||
|
#define LCTL_ESC LCTL_T(KC_ESC)
|
||||||
|
#define LGUI_QUOT LGUI_T(KC_QUOT)
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
/* QWERTY
|
||||||
|
* .---------------------------. .---------------------------.
|
||||||
|
* | W | E | R | T | | Y | U | I | O |
|
||||||
|
* .------+------+------+------+------+------| |------+------+------+------+------+------.
|
||||||
|
* | Q | A | S | D | F | G | | H | J | K | L | P | ; |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | - | Z | X | C | V | B |--------. .--------| N | M | , | . | / | ' |
|
||||||
|
* '-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Esc | Tab | / Space / \ Enter \ | Bsps | Del |
|
||||||
|
* |_FUNC | _NUM | /_SYMBOL/ \ _FUNC \ | _NAV | RAlt |
|
||||||
|
* `-------------''-------' '-------''-------------'
|
||||||
|
*/
|
||||||
|
// clang-format off
|
||||||
|
[_QWERTY] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
KC_Q, HOME_A, HOME_S, HOME_D, HOME_F, KC_G, KC_H, HOME_J, HOME_K, HOME_L, HOME_SCLN, KC_P,
|
||||||
|
KC_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_GAME] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
LALT_Q, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_P,
|
||||||
|
LSFT_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, LGUI_QUOT,
|
||||||
|
LCTL_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NAV] = LAYOUT(
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN, KC_PGUP,
|
||||||
|
XXXXXXX, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_PAUS,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_END, KC_INS, KC_APP, XXXXXXX,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, XXXXXXX, _______, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NUMBER] = LAYOUT(
|
||||||
|
KC_7, KC_8, KC_9, KC_GRV, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_EQL, KC_0, KC_4, KC_5, KC_6, KC_LBRC, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
KC_MINS, KC_BSLS, KC_1, KC_2, KC_3, KC_RBRC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_ENT, _______, TG(_GAME), FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYMBOL] = LAYOUT(
|
||||||
|
LSFT(KC_7), LSFT(KC_8), LSFT(KC_9), LSFT(KC_GRV), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
LSFT(KC_EQL), LSFT(KC_0), LSFT(KC_4), LSFT(KC_5), LSFT(KC_6), LSFT(KC_LBRC), XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
LSFT(KC_MINS), LSFT(KC_BSLS), LSFT(KC_1), LSFT(KC_2), LSFT(KC_3), LSFT(KC_RBRC), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
MO(_SYS), KC_BSPC, _______, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_FUNC] = LAYOUT(
|
||||||
|
KC_F7, KC_F8, KC_F9, KC_CAPS, XXXXXXX, KC_PSCR, KC_SCRL, KC_NUM,
|
||||||
|
KC_F12, KC_F11, KC_F4, KC_F5, KC_F6, KC_F12, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
XXXXXXX, KC_F10, KC_F1, KC_F2, KC_F3, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
_______, KC_MNXT, KC_MPLY, _______, XXXXXXX, MO(_SYS)
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYS] = LAYOUT(
|
||||||
|
BL_DOWN, BL_UP, BL_TOGG, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, RGB_RMOD,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, RGB_M_P,
|
||||||
|
EH_LEFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, EH_RGHT, EH_RGHT, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, EH_LEFT,
|
||||||
|
_______, QK_BOOT, _______, _______, QK_BOOT, _______
|
||||||
|
)
|
||||||
|
// clang-format on
|
||||||
|
};
|
||||||
|
|
||||||
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
dprintf("process_record_user %u %s %s %d\n", keycode, record->event.pressed ? "pressed" : "depressed", record->tap.interrupted ? "interrupted" : "not interrupted", record->tap.count);
|
||||||
|
|
||||||
|
if (record->event.pressed) {
|
||||||
|
uint8_t data[32];
|
||||||
|
data[0] = 0;
|
||||||
|
|
||||||
|
switch (keycode) {
|
||||||
|
// send hid commands
|
||||||
|
case KC_VOLU:
|
||||||
|
case KC_VOLD:
|
||||||
|
data[0] = _VOLUME;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data[0]) {
|
||||||
|
dprintf("raw_hid_send %u\n", data[0]);
|
||||||
|
raw_hid_send(data, sizeof(data));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caps Word processing */
|
||||||
|
#ifdef CAPS_WORD_ENABLE
|
||||||
|
void caps_word_set_user(bool active) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_caps_word(active);
|
||||||
|
} else if (is_keyboard_master() && !is_keyboard_left()) {
|
||||||
|
dprintf("RPC_ID_USER_CAPS_WORD_SYNC: %s\n", active ? "active" : "inactive");
|
||||||
|
transaction_rpc_send(RPC_ID_USER_CAPS_WORD_SYNC, 1, &active);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Active Layer processing */
|
||||||
|
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_layer_state(get_highest_layer(state));
|
||||||
|
} else if (is_keyboard_master() && !is_keyboard_left()) {
|
||||||
|
uint8_t layer = get_highest_layer(state);
|
||||||
|
dprintf("RPC_ID_USER_LAYER_SYNC: %u\n", layer);
|
||||||
|
transaction_rpc_send(RPC_ID_USER_LAYER_SYNC, 1, &layer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Raw HID processing*/
|
||||||
|
void raw_hid_receive(uint8_t *data, uint8_t length) {
|
||||||
|
dprintf("raw_hid_receive - received %u bytes \n", length);
|
||||||
|
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_raw_hid_data(data, length);
|
||||||
|
} else if (is_keyboard_master() && !is_keyboard_left()) {
|
||||||
|
dprint("RPC_ID_USER_HID_SYNC \n");
|
||||||
|
transaction_rpc_send(RPC_ID_USER_HID_SYNC, length, data);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void hid_sync(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_raw_hid_data((uint8_t *)initiator2target_buffer, initiator2target_buffer_size);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void layer_sync(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_layer_state(*(uint8_t *)initiator2target_buffer);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void caps_word_sync(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_caps_word(*(bool *)initiator2target_buffer);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void keyboard_post_init_user() {
|
||||||
|
// sync received hid data
|
||||||
|
transaction_register_rpc(RPC_ID_USER_HID_SYNC, hid_sync);
|
||||||
|
// sync highest layer (a bit more performant than standard SPLIT_LAYER_STATE_ENABLE)
|
||||||
|
transaction_register_rpc(RPC_ID_USER_LAYER_SYNC, layer_sync);
|
||||||
|
// sync caps word state
|
||||||
|
transaction_register_rpc(RPC_ID_USER_CAPS_WORD_SYNC, caps_word_sync);
|
||||||
|
}
|
15
keyboards/stront/keymaps/hid/lv_conf.h
Normal file
15
keyboards/stront/keymaps/hid/lv_conf.h
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <lv_conf.h>
|
||||||
|
|
||||||
|
#undef LV_FONT_DEFAULT
|
||||||
|
#define LV_FONT_DEFAULT &lv_font_montserrat_20
|
||||||
|
|
||||||
|
#undef LV_FONT_MONTSERRAT_20
|
||||||
|
#define LV_FONT_MONTSERRAT_20 1
|
||||||
|
|
||||||
|
#undef LV_FONT_MONTSERRAT_28
|
||||||
|
#define LV_FONT_MONTSERRAT_28 0
|
5
keyboards/stront/keymaps/hid/rules.mk
Normal file
5
keyboards/stront/keymaps/hid/rules.mk
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
CAPS_WORD_ENABLE = yes
|
||||||
|
|
||||||
|
RAW_ENABLE = yes
|
||||||
|
|
||||||
|
SRC += hid_display.c
|
8
keyboards/stront/keymaps/i2c/config.h
Normal file
8
keyboards/stront/keymaps/i2c/config.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define I2C_DRIVER I2CD1
|
||||||
|
#define I2C1_SDA_PIN GP10
|
||||||
|
#define I2C1_SCL_PIN GP11
|
8
keyboards/stront/keymaps/i2c/halconf.h
Normal file
8
keyboards/stront/keymaps/i2c/halconf.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define HAL_USE_I2C TRUE
|
||||||
|
|
||||||
|
#include_next <halconf.h>
|
107
keyboards/stront/keymaps/i2c/keymap.c
Normal file
107
keyboards/stront/keymaps/i2c/keymap.c
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
enum layer_number {
|
||||||
|
// clang-format off
|
||||||
|
_QWERTY = 0,
|
||||||
|
_GAME,
|
||||||
|
_NAV,
|
||||||
|
_NUMBER,
|
||||||
|
_SYMBOL,
|
||||||
|
_FUNC,
|
||||||
|
_SYS
|
||||||
|
// clang-format on
|
||||||
|
};
|
||||||
|
|
||||||
|
// Left-hand home row mods
|
||||||
|
#define HOME_A LGUI_T(KC_A)
|
||||||
|
#define HOME_S LALT_T(KC_S)
|
||||||
|
#define HOME_D LCTL_T(KC_D)
|
||||||
|
#define HOME_F LSFT_T(KC_F)
|
||||||
|
|
||||||
|
// Right-hand home row mods
|
||||||
|
#define HOME_J RSFT_T(KC_J)
|
||||||
|
#define HOME_K RCTL_T(KC_K)
|
||||||
|
#define HOME_L LALT_T(KC_L)
|
||||||
|
#define HOME_SCLN RGUI_T(KC_SCLN)
|
||||||
|
|
||||||
|
// bottom mods
|
||||||
|
#define SYM_SPC LT(_SYMBOL, KC_SPC)
|
||||||
|
#define NUM_TAB LT(_NUMBER, KC_TAB)
|
||||||
|
#define FUNC_ESC LT(_FUNC, KC_ESC)
|
||||||
|
#define FUNC_ENT LT(_FUNC, KC_ENT)
|
||||||
|
#define NAV_BSPC LT(_NAV, KC_BSPC)
|
||||||
|
#define RALT_DEL LALT_T(KC_DEL)
|
||||||
|
|
||||||
|
// game layer mods
|
||||||
|
#define LALT_Q LALT_T(KC_Q)
|
||||||
|
#define LSFT_MINS LSFT_T(KC_MINS)
|
||||||
|
#define LCTL_ESC LCTL_T(KC_ESC)
|
||||||
|
#define LGUI_QUOT LGUI_T(KC_QUOT)
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
/* QWERTY
|
||||||
|
* .---------------------------. .---------------------------.
|
||||||
|
* | W | E | R | T | | Y | U | I | O |
|
||||||
|
* .------+------+------+------+------+------| |------+------+------+------+------+------.
|
||||||
|
* | Q | A | S | D | F | G | | H | J | K | L | P | ; |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | - | Z | X | C | V | B |--------. .--------| N | M | , | . | / | ' |
|
||||||
|
* '-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Esc | Tab | / Space / \ Enter \ | Bsps | Del |
|
||||||
|
* |_FUNC | _NUM | /_SYMBOL/ \ _FUNC \ | _NAV | RAlt |
|
||||||
|
* `-------------''-------' '-------''-------------'
|
||||||
|
*/
|
||||||
|
// clang-format off
|
||||||
|
[_QWERTY] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
KC_Q, HOME_A, HOME_S, HOME_D, HOME_F, KC_G, KC_H, HOME_J, HOME_K, HOME_L, HOME_SCLN, KC_P,
|
||||||
|
KC_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_GAME] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
LALT_Q, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_P,
|
||||||
|
LSFT_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, LGUI_QUOT,
|
||||||
|
LCTL_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NAV] = LAYOUT(
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN, KC_PGUP,
|
||||||
|
XXXXXXX, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_PAUS,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_END, KC_INS, KC_APP, XXXXXXX,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, XXXXXXX, _______, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NUMBER] = LAYOUT(
|
||||||
|
KC_7, KC_8, KC_9, KC_GRV, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_EQL, KC_0, KC_4, KC_5, KC_6, KC_LBRC, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
KC_MINS, KC_BSLS, KC_1, KC_2, KC_3, KC_RBRC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_ENT, _______, TG(_GAME), FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYMBOL] = LAYOUT(
|
||||||
|
LSFT(KC_7), LSFT(KC_8), LSFT(KC_9), LSFT(KC_GRV), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
LSFT(KC_EQL), LSFT(KC_0), LSFT(KC_4), LSFT(KC_5), LSFT(KC_6), LSFT(KC_LBRC), XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
LSFT(KC_MINS), LSFT(KC_BSLS), LSFT(KC_1), LSFT(KC_2), LSFT(KC_3), LSFT(KC_RBRC), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
MO(_SYS), KC_BSPC, _______, FUNC_ENT, NAV_BSPC, RALT_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_FUNC] = LAYOUT(
|
||||||
|
KC_F7, KC_F8, KC_F9, KC_CAPS, XXXXXXX, KC_PSCR, KC_SCRL, KC_NUM,
|
||||||
|
KC_F12, KC_F11, KC_F4, KC_F5, KC_F6, KC_F12, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
XXXXXXX, KC_F10, KC_F1, KC_F2, KC_F3, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
_______, KC_MNXT, KC_MPLY, _______, XXXXXXX, MO(_SYS)
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYS] = LAYOUT(
|
||||||
|
BL_DOWN, BL_UP, BL_TOGG, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, RGB_RMOD,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, RGB_M_P,
|
||||||
|
EH_LEFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, EH_RGHT, EH_RGHT, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, EH_LEFT,
|
||||||
|
_______, QK_BOOT, _______, _______, QK_BOOT, _______
|
||||||
|
)
|
||||||
|
// clang-format on
|
||||||
|
};
|
9
keyboards/stront/keymaps/i2c/mcuconf.h
Normal file
9
keyboards/stront/keymaps/i2c/mcuconf.h
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
|
#undef RP_I2C_USE_I2C1
|
||||||
|
#define RP_I2C_USE_I2C1 TRUE
|
1
keyboards/stront/keymaps/i2c/rules.mk
Normal file
1
keyboards/stront/keymaps/i2c/rules.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c
|
30
keyboards/stront/keymaps/zzeneg/config.h
Normal file
30
keyboards/stront/keymaps/zzeneg/config.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// #define DEBUG_MATRIX_SCAN_RATE
|
||||||
|
|
||||||
|
#define SPLIT_TRANSACTION_IDS_USER RPC_ID_USER_HID_SYNC, RPC_ID_USER_CAPS_WORD_SYNC, RPC_ID_USER_LAYER_SYNC
|
||||||
|
#define QUANTUM_PAINTER_DISPLAY_TIMEOUT 0
|
||||||
|
|
||||||
|
#define I2C_DRIVER I2CD1
|
||||||
|
#define I2C1_SDA_PIN GP10
|
||||||
|
#define I2C1_SCL_PIN GP11
|
||||||
|
|
||||||
|
#define CIRQUE_PINNACLE_TAP_ENABLE
|
||||||
|
#define POINTING_DEVICE_GESTURES_SCROLL_ENABLE
|
||||||
|
#define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE
|
||||||
|
#define MOUSE_EXTENDED_REPORT
|
||||||
|
|
||||||
|
#define TAPPING_TERM 150
|
||||||
|
#define TAPPING_TERM_PER_KEY
|
||||||
|
#define QUICK_TAP_TERM 0
|
||||||
|
|
||||||
|
#define CAPS_WORD_IDLE_TIMEOUT 2500
|
||||||
|
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
|
||||||
|
|
||||||
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
# define RGB_MATRIX_TIMEOUT 300000
|
||||||
|
# define RGB_TRIGGER_ON_KEYDOWN
|
||||||
|
#endif
|
782
keyboards/stront/keymaps/zzeneg/fonts/montserrat_20_en_ru.c
Normal file
782
keyboards/stront/keymaps/zzeneg/fonts/montserrat_20_en_ru.c
Normal file
@ -0,0 +1,782 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* Size: 20 px
|
||||||
|
* Bpp: 4
|
||||||
|
* Opts:
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __has_include
|
||||||
|
# if __has_include("lvgl.h")
|
||||||
|
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# define LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
|
||||||
|
# include "lvgl.h"
|
||||||
|
#else
|
||||||
|
# include "lvgl/lvgl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MONTSERRAT_20_EN_RU
|
||||||
|
# define MONTSERRAT_20_EN_RU 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if MONTSERRAT_20_EN_RU
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* BITMAPS
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Store the image of the glyphs*/
|
||||||
|
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||||
|
/* U+0020 " " */
|
||||||
|
|
||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 0x0, 0x9d, 0x0, 0x5f, 0x0, 0x1f, 0x40, 0xc, 0x90, 0x5, 0xf1, 0x0, 0xd8,
|
||||||
|
|
||||||
|
/* U+0029 ")" */
|
||||||
|
0xe, 0x70, 0x0, 0x7e, 0x0, 0x1, 0xf5, 0x0, 0xb, 0xb0, 0x0, 0x7f, 0x0, 0x3, 0xf2, 0x0, 0x1f, 0x40, 0x0, 0xf6, 0x0, 0xe, 0x70, 0x0, 0xe7, 0x0, 0xe, 0x70, 0x0, 0xf6, 0x0, 0x1f, 0x40, 0x3, 0xf2, 0x0, 0x7f, 0x0, 0xb, 0xa0, 0x1, 0xf5, 0x0, 0x7e, 0x0, 0xe, 0x60, 0x0,
|
||||||
|
|
||||||
|
/* U+002A "*" */
|
||||||
|
0x0, 0x9, 0x50, 0x0, 0x23, 0x9, 0x50, 0x50, 0x3e, 0x9a, 0x7c, 0xc1, 0x0, 0x9f, 0xf5, 0x0, 0x6, 0xed, 0xdd, 0x30, 0x5b, 0x29, 0x54, 0xd1, 0x0, 0x9, 0x50, 0x0, 0x0, 0x4, 0x20, 0x0,
|
||||||
|
|
||||||
|
/* U+002B "+" */
|
||||||
|
0x0, 0x0, 0xb4, 0x0, 0x0, 0x0, 0x0, 0xe6, 0x0, 0x0, 0x0, 0x0, 0xe6, 0x0, 0x0, 0x0, 0x0, 0xe6, 0x0, 0x0, 0x9f, 0xff, 0xff, 0xff, 0xf1, 0x13, 0x33, 0xe8, 0x33, 0x30, 0x0, 0x0, 0xe6, 0x0, 0x0, 0x0, 0x0, 0xe6, 0x0, 0x0, 0x0, 0x0, 0xe6, 0x0, 0x0, 0x0, 0x0, 0x21, 0x0, 0x0,
|
||||||
|
|
||||||
|
/* U+002C "," */
|
||||||
|
0x12, 0xd, 0xf1, 0xaf, 0x15, 0xc0, 0x88, 0xc, 0x30,
|
||||||
|
|
||||||
|
/* U+002D "-" */
|
||||||
|
0x0, 0x0, 0x0, 0xcf, 0xff, 0xf7, 0x33, 0x33, 0x31,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, 0x0, 0x0, 0x2f, 0x50, 0x0, 0x0, 0x0, 0x2, 0xdc, 0x0, 0x3, 0xb6, 0x55, 0x9f, 0xc1, 0x0, 0x3, 0xae, 0xff, 0xc6, 0x0, 0x0,
|
||||||
|
|
||||||
|
/* U+003A ":" */
|
||||||
|
0xbe, 0x1d, 0xf1, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x12, 0xd, 0xf1, 0xad, 0x0,
|
||||||
|
|
||||||
|
/* U+003B ";" */
|
||||||
|
0xbe, 0x1d, 0xf1, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x12, 0xd, 0xf1, 0xaf, 0x15, 0xc0, 0x88, 0xc, 0x30,
|
||||||
|
|
||||||
|
/* U+003C "<" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x50, 0x0, 0x0, 0x1, 0x7e, 0xe1, 0x0, 0x3, 0xaf, 0xc5, 0x0, 0x6, 0xdf, 0x93, 0x0, 0x0, 0x9f, 0x70, 0x0, 0x0, 0x0, 0x5d, 0xe8, 0x20, 0x0, 0x0, 0x0, 0x4b, 0xfb, 0x40, 0x0, 0x0, 0x0, 0x28, 0xee, 0x70, 0x0, 0x0, 0x0, 0x5, 0xc1, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
|
||||||
|
/* U+003D "=" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x9f, 0xff, 0xff, 0xff, 0xf1, 0x13, 0x33, 0x33, 0x33, 0x30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9f, 0xff, 0xff, 0xff, 0xf1, 0x13, 0x33, 0x33, 0x33, 0x30,
|
||||||
|
|
||||||
|
/* U+003E ">" */
|
||||||
|
0x41, 0x0, 0x0, 0x0, 0x0, 0x8f, 0xb4, 0x0, 0x0, 0x0, 0x2, 0x9f, 0xd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0x0, 0x0, 0x4, 0xf0,
|
||||||
|
|
||||||
|
/* U+005D "]" */
|
||||||
|
0x9f, 0xff, 0x12, 0x37, 0xf1, 0x0, 0x5f, 0x10, 0x5, 0xf1, 0x0, 0x5f, 0x10, 0x5, 0xf1, 0x0, 0x5f, 0x10, 0x5, 0xf1, 0x0, 0x5f, 0x10, 0x5, 0xf1, 0x0, 0x5f, 0x10, 0x5, 0xf1, 0x0, 0x5f, 0x10, 0x5, 0xf1, 0x0, 0x5f, 0x10, 0x5, 0xf1, 0x0, 0x5f, 0x12, 0x37, 0xf1, 0x9f, 0xff, 0x10,
|
||||||
|
|
||||||
|
/* U+005E "^" */
|
||||||
|
0x0, 0x0, 0x73, 0x0, 0x0, 0x0, 0x4f, 0xc0, 0x0, 0x0, 0xa, 0x7e, 0x30, 0x0, 0x1, 0xf1, 0x89, 0x0, 0x0, 0x7a, 0x2, 0xf0, 0x0, 0xe, 0x40, 0xb, 0x60, 0x5, 0xd0, 0x0, 0x5d, 0x0, 0xb7, 0x0, 0x0, 0xe3, 0x2f, 0x10, 0x0, 0x8, 0xa0,
|
||||||
|
|
||||||
|
/* U+005F "_" */
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
|
||||||
|
/* U+0060 "`" */
|
||||||
|
0x7, 0x60, 0x0, 0x2, 0xda, 0x0, 0x0, 0xb, 0xb0,
|
||||||
|
|
||||||
|
/* U+0061 "a" */
|
||||||
|
0x4, 0xae, 0xff, 0xb3, 0x6, 0xfb, 0x64, 0x6d, 0xf3, 0x14, 0x0, 0x0, 0xe, 0xa0, 0x0, 0x0, 0x0, 0x9e, 0x0, 0x0, 0x0, 0x8, 0xe0, 0x6c, 0xef, 0xff, 0xfe, 0x7f, 0x73, 0x22, 0x29, 0xed, 0x90, 0x0, 0x0, 0x8e, 0xd9, 0x0, 0x0, 0xd, 0xe7, 0xf7, 0x11, 0x4c, 0xde, 0x6, 0xdf, 0xfc, 0x57, 0xe0,
|
||||||
|
|
||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
||||||
|
0x0, 0x5e, 0x10, 0xc9, 0x0, 0x0, 0x3, 0xb1, 0x9, 0x70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4b, 0xff, 0xc6, 0x0, 0x0, 0x7f, 0xa5, 0x48, 0xfa, 0x0, 0x3f, 0x50, 0x0, 0x3, 0xf6, 0xa, 0xb0, 0x0, 0x0, 0x8, 0xe0, 0xe7, 0x0, 0x0, 0x0, 0x3f, 0x2f, 0xfe, 0xee, 0xee, 0xef, 0xf3, 0xe8, 0x11, 0x11, 0x11, 0x11, 0xa, 0xd0, 0x0, 0x0, 0x0, 0x0, 0x3f, 0x80, 0x0, 0x0, 0x51, 0x0, 0x6f, 0xc7, 0x56, 0xbf, 0x40, 0x0, 0x3a, 0xef, 0xea, 0x30, 0x0};
|
||||||
|
|
||||||
|
/*---------------------
|
||||||
|
* GLYPH DESCRIPTION
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {{.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
|
||||||
|
{.bitmap_index = 0, .adv_w = 84, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 0, .adv_w = 83, .box_w = 3, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 23, .adv_w = 119, .box_w = 6, .box_h = 6, .ofs_x = 1, .ofs_y = 9},
|
||||||
|
{.bitmap_index = 41, .adv_w = 223, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 146, .adv_w = 197, .box_w = 12, .box_h = 20, .ofs_x = 0, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 266, .adv_w = 265, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 386, .adv_w = 214, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -1},
|
||||||
|
{.bitmap_index = 498, .adv_w = 65, .box_w = 2, .box_h = 6, .ofs_x = 1, .ofs_y = 9},
|
||||||
|
{.bitmap_index = 504, .adv_w = 105, .box_w = 4, .box_h = 19, .ofs_x = 2, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 542, .adv_w = 105, .box_w = 5, .box_h = 19, .ofs_x = 0, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 590, .adv_w = 124, .box_w = 8, .box_h = 8, .ofs_x = 0, .ofs_y = 7},
|
||||||
|
{.bitmap_index = 622, .adv_w = 184, .box_w = 10, .box_h = 10, .ofs_x = 1, .ofs_y = 2},
|
||||||
|
{.bitmap_index = 672, .adv_w = 68, .box_w = 3, .box_h = 6, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 681, .adv_w = 122, .box_w = 6, .box_h = 3, .ofs_x = 1, .ofs_y = 4},
|
||||||
|
{.bitmap_index = 690, .adv_w = 68, .box_w = 3, .box_h = 3, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 695, .adv_w = 107, .box_w = 9, .box_h = 20, .ofs_x = -1, .ofs_y = -2},
|
||||||
|
{.bitmap_index = 785, .adv_w = 212, .box_w = 12, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 875, .adv_w = 116, .box_w = 5, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 913, .adv_w = 182, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 996, .adv_w = 180, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1079, .adv_w = 212, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1177, .adv_w = 181, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1260, .adv_w = 195, .box_w = 11, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1343, .adv_w = 188, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1426, .adv_w = 204, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1516, .adv_w = 195, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1606, .adv_w = 68, .box_w = 3, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1623, .adv_w = 68, .box_w = 3, .box_h = 14, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 1644, .adv_w = 184, .box_w = 10, .box_h = 10, .ofs_x = 1, .ofs_y = 2},
|
||||||
|
{.bitmap_index = 1694, .adv_w = 184, .box_w = 10, .box_h = 8, .ofs_x = 1, .ofs_y = 3},
|
||||||
|
{.bitmap_index = 1734, .adv_w = 184, .box_w = 10, .box_h = 10, .ofs_x = 1, .ofs_y = 2},
|
||||||
|
{.bitmap_index = 1784, .adv_w = 181, .box_w = 10, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1859, .adv_w = 331, .box_w = 19, .box_h = 19, .ofs_x = 1, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 2040, .adv_w = 229, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2153, .adv_w = 241, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2243, .adv_w = 230, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2341, .adv_w = 264, .box_w = 14, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2446, .adv_w = 214, .box_w = 11, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2529, .adv_w = 203, .box_w = 10, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2604, .adv_w = 247, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2702, .adv_w = 260, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2792, .adv_w = 97, .box_w = 2, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2807, .adv_w = 160, .box_w = 9, .box_h = 15, .ofs_x = -1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2875, .adv_w = 228, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2973, .adv_w = 188, .box_w = 10, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3048, .adv_w = 306, .box_w = 15, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3161, .adv_w = 260, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3251, .adv_w = 268, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3364, .adv_w = 230, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3454, .adv_w = 268, .box_w = 16, .box_h = 19, .ofs_x = 1, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 3606, .adv_w = 231, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3696, .adv_w = 197, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3786, .adv_w = 184, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3876, .adv_w = 253, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3966, .adv_w = 223, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4071, .adv_w = 356, .box_w = 22, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4236, .adv_w = 210, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4334, .adv_w = 203, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4432, .adv_w = 208, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4530, .adv_w = 102, .box_w = 4, .box_h = 19, .ofs_x = 2, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 4568, .adv_w = 107, .box_w = 9, .box_h = 20, .ofs_x = -1, .ofs_y = -2},
|
||||||
|
{.bitmap_index = 4658, .adv_w = 102, .box_w = 5, .box_h = 19, .ofs_x = 0, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 4706, .adv_w = 184, .box_w = 9, .box_h = 9, .ofs_x = 1, .ofs_y = 3},
|
||||||
|
{.bitmap_index = 4747, .adv_w = 160, .box_w = 10, .box_h = 1, .ofs_x = 0, .ofs_y = -1},
|
||||||
|
{.bitmap_index = 4752, .adv_w = 192, .box_w = 6, .box_h = 3, .ofs_x = 2, .ofs_y = 13},
|
||||||
|
{.bitmap_index = 4761, .adv_w = 189, .box_w = 9, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4811, .adv_w = 217, .box_w = 12, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4901, .adv_w = 180, .box_w = 11, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4962, .adv_w = 217, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5052, .adv_w = 193, .box_w = 12, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5118, .adv_w = 108, .box_w = 8, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5178, .adv_w = 219, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 5268, .adv_w = 216, .box_w = 11, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5351, .adv_w = 86, .box_w = 3, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5374, .adv_w = 88, .box_w = 6, .box_h = 19, .ofs_x = -2, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 5431, .adv_w = 192, .box_w = 11, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5514, .adv_w = 86, .box_w = 3, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5537, .adv_w = 340, .box_w = 19, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5642, .adv_w = 216, .box_w = 11, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5703, .adv_w = 201, .box_w = 12, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5769, .adv_w = 217, .box_w = 12, .box_h = 15, .ofs_x = 1, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 5859, .adv_w = 217, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 5949, .adv_w = 128, .box_w = 7, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 5988, .adv_w = 156, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6043, .adv_w = 130, .box_w = 8, .box_h = 14, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6099, .adv_w = 215, .box_w = 11, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6160, .adv_w = 173, .box_w = 11, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6221, .adv_w = 281, .box_w = 18, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6320, .adv_w = 171, .box_w = 11, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6381, .adv_w = 173, .box_w = 12, .box_h = 15, .ofs_x = -1, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 6471, .adv_w = 164, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6526, .adv_w = 107, .box_w = 6, .box_h = 19, .ofs_x = 1, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 6583, .adv_w = 94, .box_w = 2, .box_h = 19, .ofs_x = 2, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 6602, .adv_w = 107, .box_w = 6, .box_h = 19, .ofs_x = 0, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 6659, .adv_w = 184, .box_w = 10, .box_h = 4, .ofs_x = 1, .ofs_y = 5},
|
||||||
|
{.bitmap_index = 6679, .adv_w = 211, .box_w = 11, .box_h = 18, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6778, .adv_w = 238, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6891, .adv_w = 232, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 6981, .adv_w = 240, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 7071, .adv_w = 183, .box_w = 10, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 7146, .adv_w = 254, .box_w = 16, .box_h = 19, .ofs_x = 0, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 7298, .adv_w = 211, .box_w = 11, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 7381, .adv_w = 324, .box_w = 20, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 7531, .adv_w = 204, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -1},
|
||||||
|
{.bitmap_index = 7627, .adv_w = 264, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 7725, .adv_w = 264, .box_w = 13, .box_h = 19, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 7849, .adv_w = 225, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 7939, .adv_w = 251, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8044, .adv_w = 308, .box_w = 15, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8157, .adv_w = 263, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8255, .adv_w = 272, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8368, .adv_w = 264, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8466, .adv_w = 227, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8556, .adv_w = 229, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8654, .adv_w = 188, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8744, .adv_w = 218, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 8849, .adv_w = 293, .box_w = 17, .box_h = 16, .ofs_x = 1, .ofs_y = -1},
|
||||||
|
{.bitmap_index = 8985, .adv_w = 208, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 9083, .adv_w = 265, .box_w = 14, .box_h = 19, .ofs_x = 2, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 9216, .adv_w = 234, .box_w = 12, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 9306, .adv_w = 350, .box_w = 18, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 9441, .adv_w = 357, .box_w = 20, .box_h = 19, .ofs_x = 2, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 9631, .adv_w = 262, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 9751, .adv_w = 313, .box_w = 16, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 9871, .adv_w = 227, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 9961, .adv_w = 226, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10059, .adv_w = 349, .box_w = 19, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10202, .adv_w = 234, .box_w = 12, .box_h = 15, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10292, .adv_w = 187, .box_w = 9, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10342, .adv_w = 211, .box_w = 12, .box_h = 16, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10438, .adv_w = 195, .box_w = 9, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10488, .adv_w = 152, .box_w = 8, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10532, .adv_w = 208, .box_w = 13, .box_h = 14, .ofs_x = 0, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 10623, .adv_w = 198, .box_w = 11, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10684, .adv_w = 264, .box_w = 17, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10778, .adv_w = 171, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10833, .adv_w = 220, .box_w = 10, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10888, .adv_w = 220, .box_w = 10, .box_h = 15, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 10963, .adv_w = 186, .box_w = 10, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11018, .adv_w = 202, .box_w = 11, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11079, .adv_w = 253, .box_w = 12, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11145, .adv_w = 216, .box_w = 10, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11200, .adv_w = 204, .box_w = 11, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11261, .adv_w = 216, .box_w = 10, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11316, .adv_w = 220, .box_w = 11, .box_h = 15, .ofs_x = 2, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 11399, .adv_w = 180, .box_w = 10, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11454, .adv_w = 151, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11509, .adv_w = 179, .box_w = 12, .box_h = 15, .ofs_x = -1, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 11599, .adv_w = 251, .box_w = 15, .box_h = 20, .ofs_x = 0, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 11749, .adv_w = 168, .box_w = 11, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11810, .adv_w = 219, .box_w = 11, .box_h = 14, .ofs_x = 2, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 11887, .adv_w = 192, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 11942, .adv_w = 297, .box_w = 15, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 12025, .adv_w = 297, .box_w = 17, .box_h = 14, .ofs_x = 2, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 12144, .adv_w = 199, .box_w = 12, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 12210, .adv_w = 251, .box_w = 12, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 12276, .adv_w = 180, .box_w = 9, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 12326, .adv_w = 183, .box_w = 11, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 12387, .adv_w = 277, .box_w = 15, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 12470, .adv_w = 194, .box_w = 10, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 12525, .adv_w = 198, .box_w = 11, .box_h = 15, .ofs_x = 1, .ofs_y = 0}};
|
||||||
|
|
||||||
|
/*---------------------
|
||||||
|
* CHARACTER MAPPING
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
/*Collect the unicode lists and glyph_id offsets*/
|
||||||
|
static const lv_font_fmt_txt_cmap_t cmaps[] = {{.range_start = 32, .range_length = 95, .glyph_id_start = 1, .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY}, {.range_start = 1025, .range_length = 1, .glyph_id_start = 96, .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY}, {.range_start = 1040, .range_length = 64, .glyph_id_start = 97, .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY}, {.range_start = 1105, .range_length = 1, .glyph_id_start = 161, .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY}};
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* KERNING
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Map glyph_ids to kern left classes*/
|
||||||
|
static const uint8_t kern_left_class_mapping[] = {0, 0, 1, 2, 0, 3, 4, 5, 2, 6, 7, 8, 9, 10, 9, 10, 11, 12, 0, 13, 14, 15, 16, 17, 18, 19, 12, 20, 20, 0, 0, 0, 21, 22, 23, 24, 25, 22, 26, 27, 28, 29, 29, 30, 31, 32, 29, 29, 22, 33, 34, 35, 3, 36, 30, 37, 37, 38, 39, 40, 41, 42, 43, 0, 44, 0, 45, 46, 47, 48, 49, 50, 51, 45, 52, 52, 53, 48, 45, 45, 46, 46, 54, 55, 56, 57, 51, 58, 58, 59, 58, 60, 41, 0, 0, 9, 26, 23, 61, 24, 62, 63, 26, 38, 24, 29, 29, 38, 29, 29, 29, 22, 29, 33, 25, 36, 37, 22, 38, 63, 29, 29, 63, 64, 29, 64, 22, 22, 29, 51, 46, 0, 65, 51, 49, 59, 0, 51, 51, 59, 51, 51, 51, 46, 51, 46, 47, 65, 58, 46, 59, 51, 51, 51, 51, 66, 51, 66, 46, 46, 51, 49};
|
||||||
|
|
||||||
|
/*Map glyph_ids to kern right classes*/
|
||||||
|
static const uint8_t kern_right_class_mapping[] = {0, 0, 1, 2, 0, 3, 4, 5, 2, 6, 7, 8, 9, 10, 9, 10, 11, 12, 13, 14, 15, 16, 17, 12, 18, 19, 20, 21, 21, 0, 0, 0, 22, 23, 24, 25, 23, 25, 25, 25, 23, 25, 25, 26, 25, 25, 25, 25, 23, 25, 23, 25, 3, 27, 28, 29, 29, 30, 31, 32, 33, 34, 35, 0, 36, 0, 37, 38, 39, 39, 39, 40, 39, 38, 41, 42, 38, 38, 43, 43, 39, 43, 39, 43, 44, 45, 46, 47, 47, 48, 49, 50, 0, 0, 35, 9, 25, 24, 25, 25, 25, 51, 25, 30, 52, 25, 25, 25, 53, 25, 25, 23, 25, 25, 23, 27, 30, 23, 30, 25, 54, 25, 25, 27, 25, 25, 52, 25, 30, 37, 23, 43, 43, 55, 39, 48, 56, 43, 43, 43, 55, 43, 43, 39, 43, 43, 39, 57, 47, 39, 48, 43, 46, 43, 43, 57, 43, 43, 56, 43, 48, 39};
|
||||||
|
|
||||||
|
/*Kern values between classes*/
|
||||||
|
static const int8_t kern_class_values[] = {0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 8, 6, 0, 3, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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||||||
|
0, 0, 0, 2, 6, 3, 10, -3, 0, 0, 6, -3, -10, -45, 3, 9, 6, 1, -4, 0, 13, 0, 11, 0, 11, 0, -29, 0, -4, 10, 0, 11, -3, 6, 3, 0, 0, 0, -3, 0, 0, -6, 0, 0, 0, 26, 0, 10, 0, 14, 4, 14, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, -12, 0, 0, 0, -3, 0, -2, 0, 3, -5, -4, -6, 3, 0, -3, 0, 0, 0, -13, 3, -5, 0, -6, -10, 0, -7, -5, -10, 0, 0, -21, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, -4, -7, -4, -4, -2, -5, -6, -8, -4, -6, -7, 0, -18, 3, -20, 0, 0, 0, -10, -2, 0, 33, -4, -4, 3, 3, -4, 0, -4, 3, 0, 0, -17, -6, 11, 0, 19, -10, -3, -12, 0, -12, 6, 0, -31, 0, 3, 3, 0, -5, 0, 0, 3, 0, 0, -3, -5, -11, 0, -11, 0, 8, 0, 8, -16, 6, 0, -12, 0, 19, -6, 0, -12, 0, 10, 0, -21, -31, -21, -6, 10, 0, 0, -22, 0, 5, -7, 0, -5, 0, -6, -13,
|
||||||
|
0, -3, 10, 0, 10, 0, 10, 0, 0, 10, 10, -40, -22, 0, -22, 0, 2, 0, -22, -22, -9, -22, -10, -20, -10, -22, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 3, -4, -6, 0, 0, 0, -3, 0, 0, -3, 0, 0, 0, -6, 0, -2, 0, -7, -6, 0, -8, -10, -10, -7, 0, -6, 0, -6, 0, 0, 0, 0, 0, -3, 0, 0, 3, 0, 3, -3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, -3, 0, 0, 0, -3, 3, 3, -1, 0, 0, 0, -7, 0, -1, 0, 0, 0, 0, 0, 0, 0, 4, -3, 0, -4, 0, -5, 0, 0, -3, 0, 10, 0, 0, -3, 0, 0, 0, 0, 0, 0, -1, 1, -3, 1, -3, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -2, 0, -3, -4, 0, 0, 0, 0, 0, 1, 0, 0, -2, 0, -3, -3, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, -2, -4, -2, 0, 0,
|
||||||
|
0, 0, 0, 0, 0, 0, 0, -10, -3, -10, 6, 0, 0, -6, 3, 6, 9, 0, -8, -1, -5, 0, -1, -16, 3, -3, 2, -17, 3, 0, 0, 0, -16, 0, -17, -2, -28, -3, 0, -16, 0, 6, 9, 0, 4, 0, 0, 0, 0, 0, 0, 0, -5, -4, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0, 0, -2, -2, 0, -2, -4, 0, 0, 0, 0, 0, 0, 0, -3, -3, 0, -2, -4, -3, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, -6, 3, 0, 0, -5, 2, 3, 3, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, 3, 0, 0, -3, 0, -3, -3, -5, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, -3, 0, 0, 0, 0, -3, -5, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -3, 0, -11, 0, 0, 9, -16, -17, -14, -6, 3, 0, -3, -21, -6, 0, -6, 0, -6,
|
||||||
|
5, -6, -21, 0, -9, 0, 0, 2, -1, 2, -3, 0, 3, -1, -10, -12, 0, -16, 0, 0, -7, -8, -10, -5, -9, -1, -7, -1, -10, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -3, 0, 0, 0, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, -2, 0, -1, -3, 0, -5, -7, -7, -1, 0, -10, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, -3, 0, 3, 0, 12, -3, 0, -7, -2, -12, 0, 0, -5, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 3, -3, 3, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, -7, 0, 0, 5, 0, -16, -10, 0, 0, 0, -5, -16, 0, 0, -3, 3, 0, -10, 0, -13, 0, -9, 0, 0, -4, -5, -4, -3, -6, 0, 0, -7, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 3, 0,
|
||||||
|
3, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, 0, 0, 0, 0, 5, 0, 3, -6, -6, 0, -3, -3, -4, 0, 0, 0, 0, 0, 0, -10, 0, -3, 0, -5, -3, 0, -7, -8, -10, -3, 0, -6, 0, -10, 0, 0, 0, 0, 0, 26, 0, 0, 2, 0, 0, -4, 0, 0, -6, -6, -6, -5, -5, -6, -5, 0, -14, 0, 0, 0, 0, 0, -29, -5, 11, 10, -2, -13, 0, 3, -5, 0, -16, -2, -4, 3, -22, -3, 3, 0, 5, -11, -5, -12, -10, -13, 0, 0, -19, 0, 19, 0, 0, -2, 0, 0, 0, 0, -2, -2, -3, -8, -10, -8, 0, 0, 0, 0, -14, 0, 0, -14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, -2, -3, -5, 0, 0, -6, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -6, 0, 0, 6, 0, 4, 0, -7, 3, -3, -1, -10, -3, 0,
|
||||||
|
-4, -3, -1, 0, -5, -6, 0, 0, -3, 0, -3, -6, -5, 0, 0, -3, 0, 3, -3, 0, -7, 0, 0, 0, 0, -6, 0, -6, 0, -6, 0, -6, -6, 0, -6, -4, -8, -5, -5, 0, 0, 0, 0, 0, 0, 0, 0, -6, 3, 0, -5, 0, -3, -5, -12, -3, -3, -3, -1, -3, -5, -1, 0, 0, 0, 0, 0, -3, -3, -3, 0, 0, 0, 0, 5, -3, 0, -3, 0, 0, 0, 0, -3, -5, -3, -4, -5, -4, -4, 0, 0, 0, 0, 0, 0, 0, 2, 13, -1, 0, -10, 0, -3, 6, 0, -3, -14, -4, 5, -1, 0, -16, -6, 3, -6, 2, 0, -4, -3, -11, 0, -5, 2, 0, 0, -6, 0, 0, 0, 3, 3, -6, -7, 0, -6, 0, 0, -5, -3, -3, 0, -6, 2, -7, 2, -6, -13, -5, -13, -5, -13, -8, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4, 0, -4, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5, 0, 0, -4, 0, 0, -3, -3, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, -3, 0, 0, -7, 0, -7, -8, -5, -5, -5, 0, 0, -5, 0, -6, 0, 0, 0, -10, 0, 3, -7, 6, 0, -3, -15, 0, 0, -7, -3, 0, -13, -8, -9, 0, 0, -13, -3, -13, -12, -15, 0, -10, 0, 2, 22, -4, 0, -8, 0, 0, -1, -3, -6, -9, -6, -12, -12, -12, -7, -1, -8, -1, -11, 0, -8, -13, 0, 0, -3, 0, 0, 0, 0, -22, -4, 10, 8, -8, -12, 0, 0,
|
||||||
|
-12, 0, -16, -3, -3, 6, -30, -4, 0, 0, 0, -21, -4, -17, -3, -24, 0, 0, -22, 0, 20, 0, 0, -3, 0, 0, 0, 0, 0, -2, -3, -12, -3, -12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -11, 0, -4, 0, 0, -9, -15, 0, 0, -2, -5, -10, -3, 0, -2, 0, 0, 0, 0, -14, -3, -11, -11, -2, -5, -8, -3, -6, 0, -6, -4, -10, -5, 0, -4, 0, 0, -3, -7, 0, 2, 0, -3, -11, -3, 0, -11, -6, -11, -6, -14, -6, -4, 0, -6, 0, 0, 0, 0, 5, 0, 3, -6, 12, 0, -3, -3, -4, 0, 0, 0, 0, 0, 0, -10, 0, -3, 0, -5, -3, 0, -7, -8, -10, -3, 0, -6, 2, 13, 0, 0, 0, 0, 0, 26, 0, 0, 2, 0, 0, -4, 0, 0, -6, -6, -6, -5, -5, -6, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, -6, 0, 0, 0, 0, 0, -2, 0, 0, 0, -3, -3, 0, 0, -6, -3, 0, 0, -6, 0, 6, -2, 0, 0, 0, 0, 0,
|
||||||
|
0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, -4, 0, -11, -6, 0, 10, -10, -10, -6, -6, 13, 5, 3, -28, -2, 6, -3, 0, -3, 2, -3, -11, 0, -3, 3, -4, -2, -10, -2, 0, 0, 10, 6, 0, -9, 0, -18, 0, 0, 7, -4, -12, 0, -4, -11, -11, -11, -3, -12, 0, -12, -5, -22, -15, -7, 3, 0, -5, 0, -9, 0, 2, 11, -7, -12, -13, -8, 10, 0, 0, -23, -2, 3, -5, -2, -7, 0, -7, -12, -5, -5, -2, 0, 0, -7, -6, -3, 0, 10, 7, -3, -18, 0, -18, 0, -6, -6, -11, -18, 0, -10, -5, -11, -5, -9, -7, -1, -7, 0, -11, -15, -6, 0, 0, -4, 0, -6, -4, 0, -3, -5, 0, 6, -10, 3, 0, 0, -17, 0, -3, -7, -5, -2, -10, -8, -10, -8, 0, -10, -3, -7, -7, -10, -3, 0, 0, 0, 15, -5, 0, -10, 0, 0, 0, -3, -6, -7, -8, -8, -11, -8, -4, -4, -17, -4, -12, -5, -12, -16, 6, 0, -5, 0, -16, -5, 1, 6, -10, -12, -6, -10,
|
||||||
|
10, -3, 2, -29, -5, 6, -7, -5, -12, 0, -10, -13, -5, -3, -2, -3, -6, -10, 0, 0, 0, 10, 8, -3, -21, 0, -19, 0, -4, 6, -12, -21, -6, -11, -13, -16, -13, -10, -9, 0, -9, -5, -18, -18, -7, 0, 0, 0, 0, -5, 0, 0, 3, -5, 6, 3, -7, 6, 0, 0, -12, -1, 0, -1, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 2, 10, 0, 0, -5, 0, 0, 0, 0, 0, -3, -3, -5, 0, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, -3, 0, 11, 0, 5, 0, 0, -4, 0, 6, 0, 0, 0, 2, 0, 0, 0, 0, 6, 0, 7, 0, 8, 0, 0, 10, 0, 8, -4, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 3, -4, -4, -4, -6, -5, -3, 0, -19, 0, -3, 6, 0, 10, -45, 0, 33, 5, -6, -6, 3, 3, -3, 0, -16, 0, 0, 14, -19, -6, 10, 0, 10, -6, -3, -13, 6, -6, 0, 0, -21, 11, 45, 0, 0, 0,
|
||||||
|
0, 0, 38, 0, 0, 0, 0, 6, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, 0, 0, -7, -4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4, -5, -4, -5, -4, -4, 0, 0, -3, 6, -9, 0, 0, 0, -3, 0, 3, 43, -6, -3, 11, 9, -9, 3, 0, 0, 3, 3, -3, -10, 19, 10, 27, 0, -3, -3, 15, -3, 6, 0, -42, 8, 0, -3, 0, -9, 0, 0, 34, 0, 3, -6, -9, -4, 12, 6, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -9, 0, 0, 0, -9, 0, 0, 0, 0, -7, -2, 0, 0, 0, -7, 0, -5, 0, -15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, -3, 0, 0, 0, 0, -18, 0, 0, -3, 0, -5, 0, -9, 0, 0, 0, -6, 3,
|
||||||
|
-5, 0, 0, -9, -3, -8, 0, 0, -9, 0, -3, 0, -15, 0, -2, 0, 0, -27, -7, -13, -2, -11, 0, 0, -22, 0, -9, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5, -6, -5, -3, -3, -8, -3, -8, -1, -1, -6, 0, 0, 0, 0, -8, 0, -7, 4, -2, 6, 0, -3, -8, -3, -6, -7, 0, -5, -2, -3, 2, -9, 0, 0, 0, 0, -30, -2, -3, 0, -5, 0, -3, -15, -4, 0, 0, -3, -3, 0, -3, 0, 0, 0, 2, 0, -3, -6, -3, -3, 0, 0, 0, 0, -6, -6, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, 0, -3, 0, 0, 0, -6, 3, 0, 0, 0, -9, -3, -6, 0, 0, -9, 0, -3, 0, -15, 0, 0, 0, 0, -31, 0, -6, -12, -16, 0, 0, -22, 0, -2,
|
||||||
|
-5, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, -5, -3, -2, -6, 0, -6, -7, -4, -5, -7, 0, 0, 0, 6, -4, 0, 9, 17, -3, -3, -10, 5, 17, 6, 8, -9, 5, 14, 5, 10, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 15, -5, -3, 0, -3, 1, 0, 13, 0, 0, 0, 0, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, -29, -5, -2, -14, -17, 0, 0, -22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7, 0, -14, 0, -4, 0, 0, 0, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, -29, -5, -2, -14, -17, 0, 0, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7, 0, -14, 0, -4, 0, 0, 0, 0, 0, -2, 0,
|
||||||
|
0, 0, -7, 3, 0, -3, 2, 5, 3, -10, 0, -1, -2, 3, 0, 2, 0, 0, 0, 0, -10, 0, -4, -3, -6, 0, -4, -13, 0, 21, -3, 0, -7, 0, 0, 0, -3, -5, 0, -3, -9, -6, -9, -4, 0, 0, 0, -6, 2, -7, 0, 0, 0, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, -29, -5, -2, -14, -17, 0, 0, -22, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7, 0, -14, 0, -4, 0, 0, 0, -6, 0, -11, -5, -4, 10, -4, -3, -13, 0, -3, 0, -3, -10, 0, 7, 0, 2, 0, 2, -8, -12, -5, 0, -14, -7, -9, -14, -13, 0, -6, -6, -5, -4, -15, -3, -4, 0, -3, 0, -3, -1, 5, 0, 5, -3, 5, 0, -13, -7, -13, -6, -12, -9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, -3, -3, 0, 0, -9, 0, -2, 0, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
|
-19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, -3, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, -6, -3, 3, 0, -6, -7, -3, 0, -11, -3, -8, -2, -5, 0, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -22, 0, 11, 0, 0, -6, 0, 0, 0, 0, 0, -4, 0, -3, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, -7, 0, 0, 14, -4, -11, -9, 3, 2, 2, -1, -8, 3, 5, 3, 10, 3, 10, -3, -8, 0, 0, -16, 0, 0, -10, -9, 0, 0, -6, 0, -4, -5, 0, -5, 0, 0, -5, 0, -2, 5, 0, -2, -10, -2, -3, -8, 0, -8, -5, -7, -4, 0, 0, 0, -4, 0, -6, 0, 0, 4, -7, 0, 3, -3, 2, -1, 0, -10, 0, -3, 0, 0, -3, 2, -2, 0, 0, 0, -16, -5, -7, 0, -10, 0, 0, -15, 0, 12, -3, 0, -6, 0, 0, -1, 0, -3, 0, -3, -10, 0, -10, -3, 0, -2, 0, -8, 0, -10, -4, 0, 0, 0,
|
||||||
|
0, -3, 0, 0, 3, -4, 0, 0, 0, -5, -3, 0, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -21, 0, 8, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, -3, -3, -3, 0, 0, 0, 0, 0, 0, 0, 0, -3, -6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, 0, 0, 0, 0, -13, -5, -11, -7, -11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5, -6, -5, 0, -6, 0, -6, -11, -4, -5, -9, 0, 0, 0, 0, 0, 0, 0, 0, -65, -58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -30, -42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, -49, 0, -3, 0, -38, 0, 0, 0, -38, -38, -38, 0, -28, 0, -28, -6, -50, -45, -36, 0, -6, 0, 0, 0, 0, 0, 0, -8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -15, 0, 0, 0, 0, -8, 0, -8, 0,
|
||||||
|
-9, 0, 0, 0, 1, 0, 0, 0, -5, 0, 0, 0, 0, 0, 0, 0, -11, -7, -11, 0, 0, 0, 0, -7, 0, -6, -10, 0, -9, -6, 0, 0, 0, -5, 0, 0, -9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12, 0, -2, 0, 0, -21, 0, -10, -14, -13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6, -5, -6, 0, -8, -6, -8, -2, -5, -5, -8, 0, 0, 0, 0, 0, 0, -2, 0, -7, -14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12, 0, 0, 0, 0, -2, -11, -7, 0, 0, 0, 0, 0, 0, 0, -8, 0, 0, 0, 0, 0, 0, 0, 0, -4, 0, 0, -13, 0, -13, -3, -10, -5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -13, 0, 0, 0, 0, -35, 0, -12, -10, -10, 0, 0, 0, -4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, -12, -10, 0, -5, 0, -5, -24, -6, -2, -17};
|
||||||
|
|
||||||
|
/*Collect the kern class' data in one place*/
|
||||||
|
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
|
||||||
|
.class_pair_values = kern_class_values,
|
||||||
|
.left_class_mapping = kern_left_class_mapping,
|
||||||
|
.right_class_mapping = kern_right_class_mapping,
|
||||||
|
.left_class_cnt = 66,
|
||||||
|
.right_class_cnt = 57,
|
||||||
|
};
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
* ALL CUSTOM DATA
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
# if LV_VERSION_CHECK(8, 0, 0)
|
||||||
|
/*Store all the custom data of the font*/
|
||||||
|
static lv_font_fmt_txt_glyph_cache_t cache;
|
||||||
|
static const lv_font_fmt_txt_dsc_t font_dsc = {
|
||||||
|
# else
|
||||||
|
static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||||
|
# endif
|
||||||
|
.glyph_bitmap = glyph_bitmap,
|
||||||
|
.glyph_dsc = glyph_dsc,
|
||||||
|
.cmaps = cmaps,
|
||||||
|
.kern_dsc = &kern_classes,
|
||||||
|
.kern_scale = 16,
|
||||||
|
.cmap_num = 4,
|
||||||
|
.bpp = 4,
|
||||||
|
.kern_classes = 1,
|
||||||
|
.bitmap_format = 0,
|
||||||
|
# if LV_VERSION_CHECK(8, 0, 0)
|
||||||
|
.cache = &cache
|
||||||
|
# endif
|
||||||
|
};
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* PUBLIC FONT
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Initialize a public general font descriptor*/
|
||||||
|
# if LV_VERSION_CHECK(8, 0, 0)
|
||||||
|
const lv_font_t montserrat_20_en_ru = {
|
||||||
|
# else
|
||||||
|
lv_font_t montserrat_20_en_ru = {
|
||||||
|
# endif
|
||||||
|
.get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/
|
||||||
|
.get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/
|
||||||
|
.line_height = 23, /*The maximum line height required by the font*/
|
||||||
|
.base_line = 4, /*Baseline measured from the bottom of the line*/
|
||||||
|
# if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
|
||||||
|
.subpx = LV_FONT_SUBPX_NONE,
|
||||||
|
# endif
|
||||||
|
# if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8
|
||||||
|
.underline_position = -2,
|
||||||
|
.underline_thickness = 1,
|
||||||
|
# endif
|
||||||
|
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /*#if MONTSERRAT_20_EN_RU*/
|
189
keyboards/stront/keymaps/zzeneg/fonts/montserrat_48_digits.c
Normal file
189
keyboards/stront/keymaps/zzeneg/fonts/montserrat_48_digits.c
Normal file
@ -0,0 +1,189 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
* Size: 48 px
|
||||||
|
* Bpp: 4
|
||||||
|
* Opts:
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __has_include
|
||||||
|
# if __has_include("lvgl.h")
|
||||||
|
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# define LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
|
||||||
|
# include "lvgl.h"
|
||||||
|
#else
|
||||||
|
# include "lvgl/lvgl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MONTSERRAT_48_DIGITS
|
||||||
|
# define MONTSERRAT_48_DIGITS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if MONTSERRAT_48_DIGITS
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* BITMAPS
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Store the image of the glyphs*/
|
||||||
|
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||||
|
/* U+002E "." */
|
||||||
|
0x0, 0x44, 0x0, 0xc, 0xff, 0xd1, 0x5f, 0xff, 0xf8, 0x6f, 0xff, 0xf9, 0x2f, 0xff, 0xf5, 0x6, 0xef, 0x80,
|
||||||
|
|
||||||
|
/* U+0030 "0" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x3, 0x9c, 0xef, 0xfe, 0xb8, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xdf, 0xff, 0xff, 0xff, 0xff, 0xfb, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc, 0xff, 0xff, 0xe8, 0x54, 0x45, 0x9e, 0xff, 0xff, 0x90, 0x0, 0x0, 0x0, 0x0, 0xbf, 0xff, 0xe5, 0x0, 0x0, 0x0, 0x0, 0x7f, 0xff, 0xf7, 0x0, 0x0, 0x0, 0x7, 0xff, 0xfd, 0x10, 0x0, 0x0, 0x0, 0x0, 0x3, 0xef, 0xff, 0x40, 0x0, 0x0, 0x1f, 0xff, 0xe1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3f, 0xff, 0xd0, 0x0, 0x0, 0x9f, 0xff, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7, 0xff, 0xf6, 0x0, 0x1, 0xff, 0xfb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xef, 0xfd, 0x0, 0x6, 0xff, 0xf4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7f, 0xff, 0x30, 0xb, 0xff, 0xe0, 0x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0x85, 0x31, 0x12, 0x47, 0xbf, 0xff, 0xff, 0x80, 0x0, 0x0, 0x0, 0x4f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe5, 0x0, 0x0, 0x0, 0x0, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x16, 0xac, 0xef, 0xff, 0xeb, 0x84, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
|
||||||
|
/* U+003A ":" */
|
||||||
|
0x6, 0xef, 0x80, 0x3f, 0xff, 0xf5, 0x6f, 0xff, 0xf9, 0x4f, 0xff, 0xf7, 0xb, 0xff, 0xd1, 0x0, 0x44, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x44, 0x0, 0xc, 0xff, 0xd1, 0x5f, 0xff, 0xf8, 0x6f, 0xff, 0xf9, 0x2f, 0xff, 0xf5, 0x6, 0xef, 0x80};
|
||||||
|
|
||||||
|
/*---------------------
|
||||||
|
* GLYPH DESCRIPTION
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {{.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
|
||||||
|
{.bitmap_index = 0, .adv_w = 163, .box_w = 6, .box_h = 6, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 18, .adv_w = 508, .box_w = 28, .box_h = 34, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 494, .adv_w = 277, .box_w = 12, .box_h = 34, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 698, .adv_w = 436, .box_w = 26, .box_h = 34, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1140, .adv_w = 433, .box_w = 25, .box_h = 34, .ofs_x = 0, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 1565, .adv_w = 508, .box_w = 31, .box_h = 34, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2092, .adv_w = 435, .box_w = 25, .box_h = 34, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2517, .adv_w = 468, .box_w = 26, .box_h = 34, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 2959, .adv_w = 452, .box_w = 26, .box_h = 34, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3401, .adv_w = 490, .box_w = 27, .box_h = 34, .ofs_x = 2, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 3860, .adv_w = 468, .box_w = 26, .box_h = 34, .ofs_x = 1, .ofs_y = 0},
|
||||||
|
{.bitmap_index = 4302, .adv_w = 163, .box_w = 6, .box_h = 26, .ofs_x = 2, .ofs_y = 0}};
|
||||||
|
|
||||||
|
/*---------------------
|
||||||
|
* CHARACTER MAPPING
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
static const uint8_t glyph_id_ofs_list_0[] = {0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
|
||||||
|
|
||||||
|
/*Collect the unicode lists and glyph_id offsets*/
|
||||||
|
static const lv_font_fmt_txt_cmap_t cmaps[] = {{.range_start = 46, .range_length = 13, .glyph_id_start = 1, .unicode_list = NULL, .glyph_id_ofs_list = glyph_id_ofs_list_0, .list_length = 13, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL}};
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* KERNING
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Map glyph_ids to kern left classes*/
|
||||||
|
static const uint8_t kern_left_class_mapping[] = {0, 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 2, 10};
|
||||||
|
|
||||||
|
/*Map glyph_ids to kern right classes*/
|
||||||
|
static const uint8_t kern_right_class_mapping[] = {0, 1, 2, 3, 4, 5, 6, 7, 2, 8, 9, 10, 11};
|
||||||
|
|
||||||
|
/*Kern values between classes*/
|
||||||
|
static const int8_t kern_class_values[] = {0, -8, -9, 8, 8, -10, 0, -9, 8, 0, 0, -8, 0, 0, 0, -8, 0, 0, -6, 0, 0, 0, 8, -2, 0, 0, 0, -18, 0, -2, 0, 0, 0, 0, 0, 0, -4, -4, 0, -8, -10, 0, 0, 0, 15, 0, -19, -2, -12, 0, -2, -38, 8, -6, 5, 0, 0, 0, -4, -4, 0, -4, -11, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, -6, 0, 0, 0, -41, -15, 8, 0, -7, -50, -15, 0, -15, 0, -15, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0};
|
||||||
|
|
||||||
|
/*Collect the kern class' data in one place*/
|
||||||
|
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
|
||||||
|
.class_pair_values = kern_class_values,
|
||||||
|
.left_class_mapping = kern_left_class_mapping,
|
||||||
|
.right_class_mapping = kern_right_class_mapping,
|
||||||
|
.left_class_cnt = 10,
|
||||||
|
.right_class_cnt = 11,
|
||||||
|
};
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
* ALL CUSTOM DATA
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
# if LV_VERSION_CHECK(8, 0, 0)
|
||||||
|
/*Store all the custom data of the font*/
|
||||||
|
static lv_font_fmt_txt_glyph_cache_t cache;
|
||||||
|
static const lv_font_fmt_txt_dsc_t font_dsc = {
|
||||||
|
# else
|
||||||
|
static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||||
|
# endif
|
||||||
|
.glyph_bitmap = glyph_bitmap,
|
||||||
|
.glyph_dsc = glyph_dsc,
|
||||||
|
.cmaps = cmaps,
|
||||||
|
.kern_dsc = &kern_classes,
|
||||||
|
.kern_scale = 16,
|
||||||
|
.cmap_num = 1,
|
||||||
|
.bpp = 4,
|
||||||
|
.kern_classes = 1,
|
||||||
|
.bitmap_format = 0,
|
||||||
|
# if LV_VERSION_CHECK(8, 0, 0)
|
||||||
|
.cache = &cache
|
||||||
|
# endif
|
||||||
|
};
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* PUBLIC FONT
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Initialize a public general font descriptor*/
|
||||||
|
# if LV_VERSION_CHECK(8, 0, 0)
|
||||||
|
const lv_font_t montserrat_48_digits = {
|
||||||
|
# else
|
||||||
|
lv_font_t montserrat_48_digits = {
|
||||||
|
# endif
|
||||||
|
.get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/
|
||||||
|
.get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/
|
||||||
|
.line_height = 34, /*The maximum line height required by the font*/
|
||||||
|
.base_line = 0, /*Baseline measured from the bottom of the line*/
|
||||||
|
# if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
|
||||||
|
.subpx = LV_FONT_SUBPX_NONE,
|
||||||
|
# endif
|
||||||
|
# if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8
|
||||||
|
.underline_position = -5,
|
||||||
|
.underline_thickness = 2,
|
||||||
|
# endif
|
||||||
|
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /*#if MONTSERRAT_48_DIGITS*/
|
8
keyboards/stront/keymaps/zzeneg/halconf.h
Normal file
8
keyboards/stront/keymaps/zzeneg/halconf.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define HAL_USE_I2C TRUE
|
||||||
|
|
||||||
|
#include_next <halconf.h>
|
42
keyboards/stront/keymaps/zzeneg/icons/flag_pl.c
Normal file
42
keyboards/stront/keymaps/zzeneg/icons/flag_pl.c
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#ifdef __has_include
|
||||||
|
# if __has_include("lvgl.h")
|
||||||
|
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# define LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
|
||||||
|
# include "lvgl.h"
|
||||||
|
#else
|
||||||
|
# include "lvgl/lvgl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LV_ATTRIBUTE_MEM_ALIGN
|
||||||
|
# define LV_ATTRIBUTE_MEM_ALIGN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LV_ATTRIBUTE_IMG_FLAG_PL
|
||||||
|
# define LV_ATTRIBUTE_IMG_FLAG_PL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_FLAG_PL uint8_t flag_pl_map[] = {
|
||||||
|
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||||
|
0x3c, 0x14, 0xdc, 0xff, /*Color of index 1*/
|
||||||
|
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0,
|
||||||
|
};
|
||||||
|
|
||||||
|
const lv_img_dsc_t flag_pl = {
|
||||||
|
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||||
|
.header.always_zero = 0,
|
||||||
|
.header.reserved = 0,
|
||||||
|
.header.w = 60,
|
||||||
|
.header.h = 40,
|
||||||
|
.data_size = 328,
|
||||||
|
.data = flag_pl_map,
|
||||||
|
};
|
42
keyboards/stront/keymaps/zzeneg/icons/flag_ru.c
Normal file
42
keyboards/stront/keymaps/zzeneg/icons/flag_ru.c
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#ifdef __has_include
|
||||||
|
# if __has_include("lvgl.h")
|
||||||
|
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# define LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
|
||||||
|
# include "lvgl.h"
|
||||||
|
#else
|
||||||
|
# include "lvgl/lvgl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LV_ATTRIBUTE_MEM_ALIGN
|
||||||
|
# define LV_ATTRIBUTE_MEM_ALIGN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LV_ATTRIBUTE_IMG_FLAG_RU
|
||||||
|
# define LV_ATTRIBUTE_IMG_FLAG_RU
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_FLAG_RU uint8_t flag_ru_map[] = {
|
||||||
|
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
||||||
|
0xd8, 0x88, 0x0c, 0xff, /*Color of index 1*/
|
||||||
|
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
};
|
||||||
|
|
||||||
|
const lv_img_dsc_t flag_ru = {
|
||||||
|
.header.cf = LV_IMG_CF_INDEXED_1BIT,
|
||||||
|
.header.always_zero = 0,
|
||||||
|
.header.reserved = 0,
|
||||||
|
.header.w = 60,
|
||||||
|
.header.h = 40,
|
||||||
|
.data_size = 328,
|
||||||
|
.data = flag_ru_map,
|
||||||
|
};
|
46
keyboards/stront/keymaps/zzeneg/icons/flag_uk.c
Normal file
46
keyboards/stront/keymaps/zzeneg/icons/flag_uk.c
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#ifdef __has_include
|
||||||
|
# if __has_include("lvgl.h")
|
||||||
|
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# define LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
|
||||||
|
# include "lvgl.h"
|
||||||
|
#else
|
||||||
|
# include "lvgl/lvgl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LV_ATTRIBUTE_MEM_ALIGN
|
||||||
|
# define LV_ATTRIBUTE_MEM_ALIGN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LV_ATTRIBUTE_IMG_FLAG_UK
|
||||||
|
# define LV_ATTRIBUTE_IMG_FLAG_UK
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_FLAG_UK uint8_t flag_uk_map[] = {
|
||||||
|
0xfe, 0xfe, 0xfe, 0xff, /*Color of index 0*/
|
||||||
|
0x32, 0x15, 0xc9, 0xff, /*Color of index 1*/
|
||||||
|
0x6c, 0x25, 0x06, 0xff, /*Color of index 2*/
|
||||||
|
0xcd, 0xbd, 0xca, 0xff, /*Color of index 3*/
|
||||||
|
|
||||||
|
0x40, 0x02, 0xaa, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xaa, 0xcd, 0x57, 0x50, 0x00, 0xea, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xab, 0xd5, 0x50, 0x55, 0x00, 0x0a, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xb3, 0x55, 0xc0, 0xd5, 0x40, 0x03, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xf5, 0x54, 0x00, 0xc5, 0x54, 0x00, 0x2a, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xac, 0xd5, 0x70, 0x03, 0xb3, 0x55, 0x00, 0x0e, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xbd, 0x55, 0x00, 0x0a, 0xab, 0x15, 0x50, 0x00, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xab, 0x35, 0x5c, 0x00, 0xea, 0xaa, 0xcd, 0x54, 0x00, 0x3a, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaf, 0x55, 0x40, 0x02, 0xaa, 0xaa, 0xac, 0x55, 0x40, 0x02, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xcd, 0x57, 0x00, 0x3a, 0xaa, 0xaa, 0xab, 0x35, 0x50, 0x00, 0xea, 0x81, 0x55, 0x4e, 0xab, 0xd5, 0x50, 0x00, 0xaa, 0xaa,
|
||||||
|
0xaa, 0xaa, 0xb1, 0x55, 0x00, 0x0a, 0x81, 0x55, 0x4e, 0xb3, 0x55, 0xc0, 0x0e, 0xaa, 0xaa, 0xaa, 0xaa, 0xac, 0xd5, 0x40, 0x03, 0x81, 0x55, 0x4e, 0xf5, 0x54, 0x00, 0x2a, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xc5, 0x54, 0x00, 0x01, 0x55, 0x40, 0xd5, 0x70, 0x03, 0xaa, 0xaa, 0xaa, 0xff, 0xff, 0xff, 0xc3, 0xfc, 0x00, 0x01, 0x55, 0x40, 0xff, 0x00, 0x03, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x55, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x55, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55,
|
||||||
|
0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x55, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x55, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xc0, 0x03, 0xff, 0x01, 0x55, 0x40, 0x00, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xaa, 0xaa, 0xaa, 0xc0, 0x0d, 0x54, 0x01, 0x55, 0x40, 0x00, 0xd5, 0x53, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xac, 0x00, 0x15, 0x53, 0x81, 0x55, 0x4e, 0xc0, 0x0d, 0x57, 0x2a, 0xaa, 0xaa, 0xaa, 0xaa, 0xb0, 0x03, 0x55, 0x0a, 0x81, 0x55, 0x4e, 0xb0, 0x03, 0x55, 0x4e, 0xaa, 0xaa,
|
||||||
|
0xaa, 0xab, 0x00, 0x05, 0x54, 0xea, 0x81, 0x55, 0x4e, 0xab, 0x00, 0x35, 0x5c, 0xaa, 0xaa, 0xaa, 0xac, 0x00, 0xd5, 0x42, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xc0, 0x0d, 0x55, 0x3a, 0xaa, 0xaa, 0xc0, 0x01, 0x55, 0x3a, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xac, 0x00, 0xd5, 0x72, 0xaa, 0xab, 0x00, 0x35, 0x50, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xab, 0x00, 0x35, 0x54, 0xea, 0xb0, 0x00, 0x55, 0x4e, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xb0, 0x03, 0x55, 0xca, 0xc0, 0x0d, 0x54, 0x2a, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xac, 0x00, 0xd5, 0x53, 0x00, 0x15, 0x53, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xc0, 0x0d, 0x57, 0x03, 0x55, 0x0a, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xb0, 0x03, 0x55, 0x05, 0x54, 0xea, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xab, 0x00, 0x35, 0xd5, 0x42, 0xaa, 0xaa, 0xaa, 0xaa, 0x81, 0x55, 0x4e, 0xaa, 0xaa, 0xaa, 0xaa, 0xc0, 0x0d,
|
||||||
|
};
|
||||||
|
|
||||||
|
const lv_img_dsc_t flag_uk = {
|
||||||
|
.header.cf = LV_IMG_CF_INDEXED_2BIT,
|
||||||
|
.header.always_zero = 0,
|
||||||
|
.header.reserved = 0,
|
||||||
|
.header.w = 60,
|
||||||
|
.header.h = 40,
|
||||||
|
.data_size = 616,
|
||||||
|
.data = flag_uk_map,
|
||||||
|
};
|
305
keyboards/stront/keymaps/zzeneg/keymap.c
Normal file
305
keyboards/stront/keymaps/zzeneg/keymap.c
Normal file
@ -0,0 +1,305 @@
|
|||||||
|
// Copyright 2022 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
#include "zzeneg_display.h"
|
||||||
|
#include "raw_hid.h"
|
||||||
|
#include "transactions.h"
|
||||||
|
|
||||||
|
// Left-hand home row mods
|
||||||
|
#define HOME_A LGUI_T(KC_A)
|
||||||
|
#define HOME_S LALT_T(KC_S)
|
||||||
|
#define HOME_D LCTL_T(KC_D)
|
||||||
|
#define HOME_F LSFT_T(KC_F)
|
||||||
|
|
||||||
|
// Right-hand home row mods
|
||||||
|
#define HOME_J RSFT_T(KC_J)
|
||||||
|
#define HOME_K RCTL_T(KC_K)
|
||||||
|
#define HOME_L LALT_T(KC_L)
|
||||||
|
#define HOME_P RGUI_T(KC_P)
|
||||||
|
|
||||||
|
// bottom mods
|
||||||
|
#define SYM_SPC LT(_SYMBOL, KC_SPC)
|
||||||
|
#define NUM_TAB LT(_NUMBER, KC_TAB)
|
||||||
|
#define FUNC_ESC LT(_FUNC, KC_ESC)
|
||||||
|
#define FUNC_ENT LT(_FUNC, KC_ENT)
|
||||||
|
#define NAV_BSPC LT(_NAV, KC_BSPC)
|
||||||
|
#define EU_DEL LT(_EU, KC_DEL)
|
||||||
|
|
||||||
|
// game layer mods
|
||||||
|
#define LALT_Q LALT_T(KC_Q)
|
||||||
|
#define LSFT_MINS LSFT_T(KC_MINS)
|
||||||
|
#define LCTL_ESC LCTL_T(KC_ESC)
|
||||||
|
#define LGUI_QUOT LGUI_T(KC_QUOT)
|
||||||
|
|
||||||
|
enum custom_keycodes {
|
||||||
|
M_EMAIL = SAFE_RANGE,
|
||||||
|
M_CBR,
|
||||||
|
M_PRN,
|
||||||
|
M_BRC,
|
||||||
|
M_ARROW,
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
/* QWERTY
|
||||||
|
* .---------------------------. .---------------------------.
|
||||||
|
* | W | E | R | T | | Y | U | I | O |
|
||||||
|
* .------+------+------+------+------+------| |------+------+------+------+------+------.
|
||||||
|
* | Q | A | S | D | F | G | | H | J | K | L | P | ; |
|
||||||
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||||
|
* | - | Z | X | C | V | B |--------. .--------| N | M | , | . | / | ' |
|
||||||
|
* '-----------------------------------------/ / \ \-----------------------------------------'
|
||||||
|
* | Esc | Tab | / Space / \ Enter \ | Bsps | Del |
|
||||||
|
* |_FUNC | _NUM | /_SYMBOL/ \ _FUNC \ | _NAV | _EU |
|
||||||
|
* `-------------''-------' '-------''-------------'
|
||||||
|
*/
|
||||||
|
// clang-format off
|
||||||
|
[_QWERTY] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
KC_Q, HOME_A, HOME_S, HOME_D, HOME_F, KC_G, KC_H, HOME_J, HOME_K, HOME_L, HOME_P, KC_SCLN,
|
||||||
|
KC_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, EU_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_GAME] = LAYOUT(
|
||||||
|
KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O,
|
||||||
|
LALT_Q, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_P, KC_SCLN,
|
||||||
|
LSFT_MINS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, LGUI_QUOT,
|
||||||
|
LCTL_ESC, NUM_TAB, SYM_SPC, FUNC_ENT, NAV_BSPC, EU_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_EU] = LAYOUT(
|
||||||
|
XXXXXXX, RALT(KC_E), XXXXXXX, M_CBR, KC_MUTE, RALT(KC_U), XXXXXXX, RALT(KC_O),
|
||||||
|
XXXXXXX, RALT(KC_A), RALT(KC_S), LCTL(KC_C), KC_LSFT, M_PRN, M_EMAIL, KC_RSFT, M_ARROW, RALT(KC_L), XXXXXXX, XXXXXXX,
|
||||||
|
XXXXXXX, RALT(KC_Z), RALT(KC_X), RALT(KC_C), LCTL(KC_V), M_BRC, RALT(KC_N), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, XXXXXXX, XXXXXXX, _______
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NAV] = LAYOUT(
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN, KC_PGUP,
|
||||||
|
XXXXXXX, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, LALT(KC_UP), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_PAUS,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LALT(KC_DOWN), KC_HOME, KC_END, KC_INS, KC_APP, XXXXXXX,
|
||||||
|
FUNC_ESC, NUM_TAB, SYM_SPC, XXXXXXX, _______, EU_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_NUMBER] = LAYOUT(
|
||||||
|
KC_7, KC_8, KC_9, KC_PLUS, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_GRV, KC_0, KC_4, KC_5, KC_6, KC_DOT, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
KC_BSPC, KC_AT, KC_1, KC_2, KC_3, KC_ASTR, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_ENT, _______, TG(_GAME), FUNC_ENT, NAV_BSPC, EU_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYMBOL] = LAYOUT(
|
||||||
|
KC_PERC, KC_PLUS, KC_LCBR, KC_RCBR, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
KC_DLR, KC_AMPR, KC_EXLM, KC_EQL, KC_LPRN, KC_RPRN, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
KC_BSLS, KC_PIPE, KC_HASH, KC_ASTR, KC_LBRC, KC_RBRC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
MO(_SYS), KC_BSPC, _______, FUNC_ENT, NAV_BSPC, EU_DEL
|
||||||
|
),
|
||||||
|
|
||||||
|
[_FUNC] = LAYOUT(
|
||||||
|
KC_F7, KC_F8, KC_F9, KC_CAPS, XXXXXXX, KC_PSCR, KC_SCRL, KC_NUM,
|
||||||
|
KC_LCTL, KC_F11, KC_F4, KC_F5, KC_F6, KC_F12, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, XXXXXXX,
|
||||||
|
KC_CIRC, KC_F10, KC_F1, KC_F2, KC_F3, KC_TILD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
_______, KC_MNXT, KC_MPLY, _______, XXXXXXX, MO(_SYS)
|
||||||
|
),
|
||||||
|
|
||||||
|
[_SYS] = LAYOUT(
|
||||||
|
BL_DOWN, BL_UP, BL_TOGG, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, RGB_RMOD,
|
||||||
|
XXXXXXX, XXXXXXX, DT_UP, DT_DOWN, DT_PRNT, XXXXXXX, XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, RGB_M_P,
|
||||||
|
EH_LEFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, EH_RGHT, EH_RGHT, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, EH_LEFT,
|
||||||
|
_______, QK_BOOT, _______, _______, QK_BOOT, _______
|
||||||
|
)
|
||||||
|
// clang-format on
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
|
// clang-format off
|
||||||
|
[_QWERTY] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
[_GAME] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
[_EU] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
[_NAV] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
||||||
|
[_NUMBER] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
||||||
|
[_SYMBOL] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
||||||
|
[_FUNC] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
||||||
|
[_SYS] = { ENCODER_CCW_CW(BL_DOWN, BL_UP), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }
|
||||||
|
// clang-format on
|
||||||
|
};
|
||||||
|
#endif // ENCODER_MAP_ENABLE
|
||||||
|
|
||||||
|
/* different tapping term for different fingers */
|
||||||
|
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
switch (keycode) {
|
||||||
|
// pinkies
|
||||||
|
case HOME_A:
|
||||||
|
case HOME_P:
|
||||||
|
return 250;
|
||||||
|
// ring
|
||||||
|
case HOME_S:
|
||||||
|
case HOME_L:
|
||||||
|
return 200;
|
||||||
|
// middle
|
||||||
|
case HOME_D:
|
||||||
|
case HOME_K:
|
||||||
|
return 160;
|
||||||
|
// index
|
||||||
|
case HOME_F:
|
||||||
|
case HOME_J:
|
||||||
|
return 140;
|
||||||
|
// thumb and game
|
||||||
|
default:
|
||||||
|
return TAPPING_TERM;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* helper function for custom increased tapping term for home row CTRL + other keys */
|
||||||
|
uint16_t HOME_CTRL_pressed_time = 0;
|
||||||
|
void custom_home_row_ctrl(keyrecord_t *record, uint16_t time) {
|
||||||
|
if (record->tap.count && get_mods() & MOD_MASK_CTRL) {
|
||||||
|
if (TIMER_DIFF_16(record->event.time, HOME_CTRL_pressed_time) < time) {
|
||||||
|
del_mods(MOD_MASK_CTRL);
|
||||||
|
tap_code(KC_D);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
dprintf("process_record_user %u %s %s %d\n", keycode, record->event.pressed ? "pressed" : "depressed", record->tap.interrupted ? "interrupted" : "not interrupted", record->tap.count);
|
||||||
|
|
||||||
|
if (record->event.pressed) {
|
||||||
|
uint8_t data[32];
|
||||||
|
data[0] = 0;
|
||||||
|
|
||||||
|
switch (keycode) {
|
||||||
|
// send hid commands
|
||||||
|
case KC_VOLU:
|
||||||
|
case KC_VOLD:
|
||||||
|
data[0] = _VOLUME;
|
||||||
|
break;
|
||||||
|
|
||||||
|
// handle macros
|
||||||
|
case M_EMAIL:
|
||||||
|
SEND_STRING("zzeneg@gmail.com");
|
||||||
|
break;
|
||||||
|
case M_CBR:
|
||||||
|
SEND_STRING("{}" SS_TAP(X_LEFT));
|
||||||
|
break;
|
||||||
|
case M_PRN:
|
||||||
|
SEND_STRING("()" SS_TAP(X_LEFT));
|
||||||
|
break;
|
||||||
|
case M_BRC:
|
||||||
|
SEND_STRING("[]" SS_TAP(X_LEFT));
|
||||||
|
break;
|
||||||
|
case M_ARROW:
|
||||||
|
SEND_STRING("=>");
|
||||||
|
break;
|
||||||
|
|
||||||
|
// custom increased tapping term for home row CTRL + other keys
|
||||||
|
case HOME_D:
|
||||||
|
// save time when CTRL from D key is pressed
|
||||||
|
if (!record->tap.count) {
|
||||||
|
HOME_CTRL_pressed_time = record->event.time;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case HOME_S:
|
||||||
|
// if S is pressed and CTRL is active, and < 150 passed since CTRL was pressed, cancel CTRL and send D instead
|
||||||
|
custom_home_row_ctrl(record, 150);
|
||||||
|
break;
|
||||||
|
case HOME_A:
|
||||||
|
// if A is pressed and CTRL is active, and < 180 passed since CTRL was pressed, cancel CTRL and send D instead
|
||||||
|
custom_home_row_ctrl(record, 180);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data[0]) {
|
||||||
|
dprintf("raw_hid_send %u\n", data[0]);
|
||||||
|
raw_hid_send(data, sizeof(data));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active Layer processing */
|
||||||
|
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_layer_state(get_highest_layer(state));
|
||||||
|
} else if (is_keyboard_master() && !is_keyboard_left()) {
|
||||||
|
uint8_t layer = get_highest_layer(state);
|
||||||
|
dprintf("RPC_ID_USER_LAYER_SYNC: %u\n", layer);
|
||||||
|
transaction_rpc_send(RPC_ID_USER_LAYER_SYNC, 1, &layer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caps Word processing */
|
||||||
|
void caps_word_set_user(bool active) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_caps_word(active);
|
||||||
|
} else if (is_keyboard_master() && !is_keyboard_left()) {
|
||||||
|
dprintf("RPC_ID_USER_CAPS_WORD_SYNC: %s\n", active ? "active" : "inactive");
|
||||||
|
transaction_rpc_send(RPC_ID_USER_CAPS_WORD_SYNC, 1, &active);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* default caps word logic that allows KC_MINS. Underscore can be typed with KC_RSFT + KC_MINS */
|
||||||
|
bool caps_word_press_user(uint16_t keycode) {
|
||||||
|
switch (keycode) {
|
||||||
|
// Keycodes that continue Caps Word, with shift applied.
|
||||||
|
case KC_A ... KC_Z:
|
||||||
|
add_weak_mods(MOD_BIT(KC_LSFT)); // Apply shift to next key.
|
||||||
|
return true;
|
||||||
|
|
||||||
|
// Keycodes that continue Caps Word, without shifting.
|
||||||
|
case KC_1 ... KC_0:
|
||||||
|
case KC_BSPC:
|
||||||
|
case KC_DEL:
|
||||||
|
case KC_MINS:
|
||||||
|
case KC_RSFT:
|
||||||
|
return true;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return false; // Deactivate Caps Word.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Raw HID processing*/
|
||||||
|
void raw_hid_receive(uint8_t *data, uint8_t length) {
|
||||||
|
dprintf("raw_hid_receive - received %u bytes \n", length);
|
||||||
|
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_raw_hid_data(data, length);
|
||||||
|
} else if (is_keyboard_master() && !is_keyboard_left()) {
|
||||||
|
dprint("RPC_ID_USER_HID_SYNC \n");
|
||||||
|
transaction_rpc_send(RPC_ID_USER_HID_SYNC, length, data);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void hid_sync(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_raw_hid_data((uint8_t *)initiator2target_buffer, initiator2target_buffer_size);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void layer_sync(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_layer_state(*(uint8_t *)initiator2target_buffer);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void caps_word_sync(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
|
||||||
|
if (is_display_enabled()) {
|
||||||
|
display_process_caps_word(*(bool *)initiator2target_buffer);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void keyboard_post_init_user() {
|
||||||
|
// sync received hid data
|
||||||
|
transaction_register_rpc(RPC_ID_USER_HID_SYNC, hid_sync);
|
||||||
|
// sync highest layer (a bit more performant than standard SPLIT_LAYER_STATE_ENABLE)
|
||||||
|
transaction_register_rpc(RPC_ID_USER_LAYER_SYNC, layer_sync);
|
||||||
|
// sync caps word state
|
||||||
|
transaction_register_rpc(RPC_ID_USER_CAPS_WORD_SYNC, caps_word_sync);
|
||||||
|
}
|
148
keyboards/stront/keymaps/zzeneg/lv_conf.h
Normal file
148
keyboards/stront/keymaps/zzeneg/lv_conf.h
Normal file
@ -0,0 +1,148 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
/* disable some things before lv_conf include */
|
||||||
|
#define LV_USE_CALENDAR 0
|
||||||
|
#define LV_USE_SPAN 0
|
||||||
|
#define LV_USE_ROLLER 0
|
||||||
|
#define LV_USE_TEXTAREA 0
|
||||||
|
|
||||||
|
#include_next <lv_conf.h>
|
||||||
|
|
||||||
|
/* Custom fonts:
|
||||||
|
- montserrat_20_en_ru - english/cyrillic symbols, range 0x20-0x7F,0x0410-0x044F,0x0401,0x0451
|
||||||
|
- montserrat_48_digits - digits, dot and colon only, range 0x2E,0x30-0x3A
|
||||||
|
*/
|
||||||
|
|
||||||
|
#undef LV_FONT_CUSTOM_DECLARE
|
||||||
|
#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(montserrat_20_en_ru) LV_FONT_DECLARE(montserrat_48_digits)
|
||||||
|
|
||||||
|
#undef LV_FONT_DEFAULT
|
||||||
|
#define LV_FONT_DEFAULT &montserrat_20_en_ru
|
||||||
|
|
||||||
|
#undef LV_FONT_MONTSERRAT_20
|
||||||
|
#define LV_FONT_MONTSERRAT_20 0
|
||||||
|
|
||||||
|
#undef LV_FONT_MONTSERRAT_48
|
||||||
|
#define LV_FONT_MONTSERRAT_48 0
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_16
|
||||||
|
// #define LV_FONT_MONTSERRAT_16 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_18
|
||||||
|
// #define LV_FONT_MONTSERRAT_18 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_20
|
||||||
|
// #define LV_FONT_MONTSERRAT_20 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_22
|
||||||
|
// #define LV_FONT_MONTSERRAT_22 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_24
|
||||||
|
// #define LV_FONT_MONTSERRAT_24 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_26
|
||||||
|
// #define LV_FONT_MONTSERRAT_26 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_28
|
||||||
|
// #define LV_FONT_MONTSERRAT_28 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_30
|
||||||
|
// #define LV_FONT_MONTSERRAT_30 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_32
|
||||||
|
// #define LV_FONT_MONTSERRAT_32 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_34
|
||||||
|
// #define LV_FONT_MONTSERRAT_34 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_36
|
||||||
|
// #define LV_FONT_MONTSERRAT_36 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_38
|
||||||
|
// #define LV_FONT_MONTSERRAT_38 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_40
|
||||||
|
// #define LV_FONT_MONTSERRAT_40 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_42
|
||||||
|
// #define LV_FONT_MONTSERRAT_42 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_44
|
||||||
|
// #define LV_FONT_MONTSERRAT_44 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_46
|
||||||
|
// #define LV_FONT_MONTSERRAT_46 1
|
||||||
|
|
||||||
|
// #undef LV_FONT_MONTSERRAT_48
|
||||||
|
// #define LV_FONT_MONTSERRAT_48 1
|
||||||
|
|
||||||
|
/* disable widgets*/
|
||||||
|
#undef LV_USE_ANIMIMG
|
||||||
|
#define LV_USE_ANIMIMG 0
|
||||||
|
#undef LV_USE_BAR
|
||||||
|
#define LV_USE_BAR 0
|
||||||
|
#undef LV_USE_BTN
|
||||||
|
#define LV_USE_BTN 0
|
||||||
|
#undef LV_USE_BTNMATRIX
|
||||||
|
#define LV_USE_BTNMATRIX 0
|
||||||
|
#undef LV_USE_CANVAS
|
||||||
|
#define LV_USE_CANVAS 0
|
||||||
|
#undef LV_USE_CHECKBOX
|
||||||
|
#define LV_USE_CHECKBOX 0
|
||||||
|
#undef LV_USE_DROPDOWN
|
||||||
|
#define LV_USE_DROPDOWN 0
|
||||||
|
#undef LV_USE_LINE
|
||||||
|
#define LV_USE_LINE 0
|
||||||
|
#undef LV_USE_SLIDER
|
||||||
|
#define LV_USE_SLIDER 0
|
||||||
|
#undef LV_USE_SWITCH
|
||||||
|
#define LV_USE_SWITCH 0
|
||||||
|
#undef LV_USE_TABLE
|
||||||
|
#define LV_USE_TABLE 0
|
||||||
|
|
||||||
|
/* disable extra components */
|
||||||
|
#undef LV_USE_CHART
|
||||||
|
#define LV_USE_CHART 0
|
||||||
|
#undef LV_USE_COLORWHEEL
|
||||||
|
#define LV_USE_COLORWHEEL 0
|
||||||
|
#undef LV_USE_IMGBTN
|
||||||
|
#define LV_USE_IMGBTN 0
|
||||||
|
#undef LV_USE_KEYBOARD
|
||||||
|
#define LV_USE_KEYBOARD 0
|
||||||
|
#undef LV_USE_LED
|
||||||
|
#define LV_USE_LED 0
|
||||||
|
#undef LV_USE_LIST
|
||||||
|
#define LV_USE_LIST 0
|
||||||
|
#undef LV_USE_MENU
|
||||||
|
#define LV_USE_MENU 0
|
||||||
|
#undef LV_USE_METER
|
||||||
|
#define LV_USE_METER 0
|
||||||
|
#undef LV_USE_MSGBOX
|
||||||
|
#define LV_USE_MSGBOX 0
|
||||||
|
#undef LV_USE_SPINBOX
|
||||||
|
#define LV_USE_SPINBOX 0
|
||||||
|
#undef LV_USE_SPINNER
|
||||||
|
#define LV_USE_SPINNER 0
|
||||||
|
#undef LV_USE_TABVIEW
|
||||||
|
#define LV_USE_TABVIEW 0
|
||||||
|
#undef LV_USE_TILEVIEW
|
||||||
|
#define LV_USE_TILEVIEW 0
|
||||||
|
#undef LV_USE_WIN
|
||||||
|
#define LV_USE_WIN 0
|
||||||
|
|
||||||
|
/* disable themes */
|
||||||
|
#undef LV_USE_THEME_BASIC
|
||||||
|
#define LV_USE_THEME_BASIC 0
|
||||||
|
#undef LV_USE_THEME_MONO
|
||||||
|
#define LV_USE_THEME_MONO 0
|
||||||
|
|
||||||
|
/* disable layouts */
|
||||||
|
#undef LV_USE_GRID
|
||||||
|
#define LV_USE_GRID 0
|
||||||
|
|
||||||
|
/* disable build examples */
|
||||||
|
#undef LV_BUILD_EXAMPLES
|
||||||
|
#define LV_BUILD_EXAMPLES 0
|
9
keyboards/stront/keymaps/zzeneg/mcuconf.h
Normal file
9
keyboards/stront/keymaps/zzeneg/mcuconf.h
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
|
#undef RP_I2C_USE_I2C1
|
||||||
|
#define RP_I2C_USE_I2C1 TRUE
|
17
keyboards/stront/keymaps/zzeneg/rules.mk
Normal file
17
keyboards/stront/keymaps/zzeneg/rules.mk
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# CONSOLE_ENABLE = yes
|
||||||
|
|
||||||
|
EXTRAKEY_ENABLE = yes
|
||||||
|
MOUSEKEY_ENABLE = yes
|
||||||
|
CAPS_WORD_ENABLE = yes
|
||||||
|
ENCODER_MAP_ENABLE = yes
|
||||||
|
DYNAMIC_TAPPING_TERM_ENABLE = yes
|
||||||
|
|
||||||
|
POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c
|
||||||
|
|
||||||
|
RAW_ENABLE = yes
|
||||||
|
|
||||||
|
SRC += zzeneg_display.c \
|
||||||
|
fonts/montserrat_20_en_ru.c \
|
||||||
|
fonts/montserrat_48_digits.c \
|
||||||
|
icons/flag_uk.c \
|
||||||
|
icons/flag_ru.c
|
242
keyboards/stront/keymaps/zzeneg/zzeneg_display.c
Normal file
242
keyboards/stront/keymaps/zzeneg/zzeneg_display.c
Normal file
@ -0,0 +1,242 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "zzeneg_display.h"
|
||||||
|
#include "display.h"
|
||||||
|
#include "raw_hid.h"
|
||||||
|
#include "lvgl_helpers.h"
|
||||||
|
|
||||||
|
uint16_t home_screen_timer = 0;
|
||||||
|
|
||||||
|
/* screens */
|
||||||
|
static lv_obj_t *screen_home;
|
||||||
|
static lv_obj_t *screen_volume;
|
||||||
|
static lv_obj_t *screen_media;
|
||||||
|
|
||||||
|
/* home screen content */
|
||||||
|
static lv_obj_t *label_time;
|
||||||
|
static lv_obj_t *label_volume_home;
|
||||||
|
static lv_obj_t *label_shift;
|
||||||
|
static lv_obj_t *label_ctrl;
|
||||||
|
static lv_obj_t *label_alt;
|
||||||
|
static lv_obj_t *label_gui;
|
||||||
|
static lv_obj_t *label_layer;
|
||||||
|
static lv_obj_t *label_caps;
|
||||||
|
static lv_obj_t *label_caps_word;
|
||||||
|
static lv_obj_t *icon_layout;
|
||||||
|
|
||||||
|
/* volume screen content */
|
||||||
|
static lv_obj_t *arc_volume;
|
||||||
|
static lv_obj_t *label_volume_arc;
|
||||||
|
|
||||||
|
/* media screen content */
|
||||||
|
static lv_obj_t *label_media_artist;
|
||||||
|
static lv_obj_t *label_media_title;
|
||||||
|
|
||||||
|
LV_IMG_DECLARE(flag_ru);
|
||||||
|
LV_IMG_DECLARE(flag_uk);
|
||||||
|
/* can be replaced with PL flag (update rules.mk as well) */
|
||||||
|
// LV_IMG_DECLARE(flag_pl);
|
||||||
|
|
||||||
|
enum layout { _EN = 0, _RU };
|
||||||
|
void set_layout_icon(uint8_t layout) {
|
||||||
|
switch (layout) {
|
||||||
|
case _EN:
|
||||||
|
lv_img_set_src(icon_layout, &flag_uk);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _RU:
|
||||||
|
lv_img_set_src(icon_layout, &flag_ru);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void read_string(uint8_t *data, char *string_data) {
|
||||||
|
uint8_t data_length = data[1];
|
||||||
|
memcpy(string_data, data + 2, data_length);
|
||||||
|
string_data[data_length] = '\0';
|
||||||
|
}
|
||||||
|
|
||||||
|
void start_home_screen_timer(void) {
|
||||||
|
dprint("reset home screen\n");
|
||||||
|
home_screen_timer = timer_read();
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_screen_home_custom(void) {
|
||||||
|
screen_home = lv_scr_act();
|
||||||
|
lv_obj_add_style(screen_home, &style_screen, 0);
|
||||||
|
use_flex_column(screen_home);
|
||||||
|
|
||||||
|
label_volume_home = lv_label_create(screen_home);
|
||||||
|
lv_label_set_text(label_volume_home, "");
|
||||||
|
|
||||||
|
lv_obj_t *mods = lv_obj_create(screen_home);
|
||||||
|
lv_obj_add_style(mods, &style_container, 0);
|
||||||
|
use_flex_row(mods);
|
||||||
|
|
||||||
|
label_gui = create_button(mods, "GUI", &style_button, &style_button_active);
|
||||||
|
label_alt = create_button(mods, "ALT", &style_button, &style_button_active);
|
||||||
|
label_ctrl = create_button(mods, "CTL", &style_button, &style_button_active);
|
||||||
|
label_shift = create_button(mods, "SFT", &style_button, &style_button_active);
|
||||||
|
|
||||||
|
label_time = lv_label_create(screen_home);
|
||||||
|
lv_label_set_text(label_time, "00:00");
|
||||||
|
lv_obj_set_style_text_font(label_time, &montserrat_48_digits, LV_PART_MAIN);
|
||||||
|
|
||||||
|
lv_obj_t *caps = lv_obj_create(screen_home);
|
||||||
|
lv_obj_add_style(caps, &style_container, 0);
|
||||||
|
use_flex_row(caps);
|
||||||
|
|
||||||
|
label_caps = create_button(caps, "CAPS", &style_button, &style_button_active);
|
||||||
|
label_caps_word = create_button(caps, "CAPS WORD", &style_button, &style_button_active);
|
||||||
|
|
||||||
|
lv_obj_t *bottom_row = lv_obj_create(screen_home);
|
||||||
|
lv_obj_add_style(bottom_row, &style_container, 0);
|
||||||
|
|
||||||
|
label_layer = lv_label_create(bottom_row);
|
||||||
|
lv_label_set_text(label_layer, "");
|
||||||
|
lv_obj_align(label_layer, LV_ALIGN_LEFT_MID, 10, 0);
|
||||||
|
display_process_layer_state(0);
|
||||||
|
|
||||||
|
icon_layout = lv_img_create(bottom_row);
|
||||||
|
lv_obj_set_style_radius(icon_layout, 4, 0);
|
||||||
|
lv_obj_set_style_clip_corner(icon_layout, true, 0);
|
||||||
|
lv_obj_align(icon_layout, LV_ALIGN_RIGHT_MID, -10, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_screen_volume(void) {
|
||||||
|
screen_volume = lv_obj_create(NULL);
|
||||||
|
lv_obj_add_style(screen_volume, &style_screen, 0);
|
||||||
|
|
||||||
|
arc_volume = lv_arc_create(screen_volume);
|
||||||
|
lv_obj_set_size(arc_volume, 200, 200);
|
||||||
|
lv_obj_center(arc_volume);
|
||||||
|
|
||||||
|
label_volume_arc = lv_label_create(screen_volume);
|
||||||
|
lv_label_set_text(label_volume_arc, "00");
|
||||||
|
lv_obj_set_style_text_font(label_volume_arc, &montserrat_48_digits, LV_PART_MAIN);
|
||||||
|
lv_obj_center(label_volume_arc);
|
||||||
|
|
||||||
|
lv_obj_t *volume_text_label = lv_label_create(screen_volume);
|
||||||
|
lv_label_set_text(volume_text_label, "Volume");
|
||||||
|
lv_obj_align(volume_text_label, LV_ALIGN_BOTTOM_MID, 0, -10);
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_screen_media(void) {
|
||||||
|
screen_media = lv_obj_create(NULL);
|
||||||
|
lv_obj_add_style(screen_media, &style_screen, 0);
|
||||||
|
use_flex_column(screen_media);
|
||||||
|
lv_obj_set_flex_align(screen_media, LV_FLEX_ALIGN_SPACE_EVENLY, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER);
|
||||||
|
|
||||||
|
label_media_artist = lv_label_create(screen_media);
|
||||||
|
lv_label_set_text(label_media_artist, "N/A");
|
||||||
|
lv_label_set_long_mode(label_media_artist, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_set_width(label_media_artist, lv_pct(90));
|
||||||
|
lv_obj_set_style_text_align(label_media_artist, LV_TEXT_ALIGN_CENTER, 0);
|
||||||
|
|
||||||
|
label_media_title = lv_label_create(screen_media);
|
||||||
|
lv_label_set_text(label_media_title, "N/A");
|
||||||
|
lv_label_set_long_mode(label_media_title, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_set_width(label_media_title, lv_pct(90));
|
||||||
|
lv_obj_set_style_text_align(label_media_title, LV_TEXT_ALIGN_CENTER, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool display_init_user(void) {
|
||||||
|
init_screen_home_custom();
|
||||||
|
init_screen_volume();
|
||||||
|
init_screen_media();
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_process_raw_hid_data(uint8_t *data, uint8_t length) {
|
||||||
|
uint8_t data_type = data[0];
|
||||||
|
char string_data[length - 2];
|
||||||
|
dprintf("display_process_raw_hid_data - received data_type %u \n", data_type);
|
||||||
|
switch (data_type) {
|
||||||
|
case _TIME:
|
||||||
|
dprintf("time %02d:%02d\n", data[1], data[2]);
|
||||||
|
lv_label_set_text_fmt(label_time, "%02d:%02d", data[1], data[2]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _VOLUME:
|
||||||
|
dprintf("volume %d\n", data[1]);
|
||||||
|
lv_label_set_text_fmt(label_volume_home, "Volume: %02d%%", data[1]);
|
||||||
|
lv_label_set_text_fmt(label_volume_arc, "%02d", data[1]);
|
||||||
|
lv_arc_set_value(arc_volume, data[1]);
|
||||||
|
lv_scr_load(screen_volume);
|
||||||
|
start_home_screen_timer();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _LAYOUT:
|
||||||
|
dprintf("layout %d\n", data[1]);
|
||||||
|
set_layout_icon(data[1]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _MEDIA_ARTIST:
|
||||||
|
read_string(data, string_data);
|
||||||
|
dprintf("media artist %s\n", string_data);
|
||||||
|
lv_label_set_text(label_media_artist, string_data);
|
||||||
|
lv_scr_load(screen_media);
|
||||||
|
start_home_screen_timer();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case _MEDIA_TITLE:
|
||||||
|
read_string(data, string_data);
|
||||||
|
dprintf("media title %s\n", string_data);
|
||||||
|
lv_label_set_text(label_media_title, string_data);
|
||||||
|
lv_scr_load(screen_media);
|
||||||
|
start_home_screen_timer();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_process_layer_state(uint8_t layer) {
|
||||||
|
switch (layer) {
|
||||||
|
case _QWERTY:
|
||||||
|
lv_label_set_text(label_layer, "QWERTY");
|
||||||
|
break;
|
||||||
|
case _GAME:
|
||||||
|
lv_label_set_text(label_layer, "GAME");
|
||||||
|
break;
|
||||||
|
case _EU:
|
||||||
|
lv_label_set_text(label_layer, "EU");
|
||||||
|
break;
|
||||||
|
case _NAV:
|
||||||
|
lv_label_set_text(label_layer, "NAV");
|
||||||
|
break;
|
||||||
|
case _NUMBER:
|
||||||
|
lv_label_set_text(label_layer, "NUMBER");
|
||||||
|
break;
|
||||||
|
case _SYMBOL:
|
||||||
|
lv_label_set_text(label_layer, "SYMBOL");
|
||||||
|
break;
|
||||||
|
case _FUNC:
|
||||||
|
lv_label_set_text(label_layer, "FUNC");
|
||||||
|
break;
|
||||||
|
case _SYS:
|
||||||
|
lv_label_set_text(label_layer, "SYSTEM");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_housekeeping_task(void) {
|
||||||
|
if (home_screen_timer && timer_elapsed(home_screen_timer) > 5000) {
|
||||||
|
home_screen_timer = 0;
|
||||||
|
lv_scr_load(screen_home);
|
||||||
|
}
|
||||||
|
|
||||||
|
toggle_state(label_shift, LV_STATE_PRESSED, MODS_SHIFT);
|
||||||
|
toggle_state(label_ctrl, LV_STATE_PRESSED, MODS_CTRL);
|
||||||
|
toggle_state(label_alt, LV_STATE_PRESSED, MODS_ALT);
|
||||||
|
toggle_state(label_gui, LV_STATE_PRESSED, MODS_GUI);
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_process_caps(bool active) {
|
||||||
|
toggle_state(label_caps, LV_STATE_PRESSED, active);
|
||||||
|
}
|
||||||
|
|
||||||
|
void display_process_caps_word(bool active) {
|
||||||
|
dprint("display_process_caps_word\n");
|
||||||
|
toggle_state(label_caps_word, LV_STATE_PRESSED, active);
|
||||||
|
}
|
27
keyboards/stront/keymaps/zzeneg/zzeneg_display.h
Normal file
27
keyboards/stront/keymaps/zzeneg/zzeneg_display.h
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
_QWERTY = 0,
|
||||||
|
_GAME,
|
||||||
|
_EU,
|
||||||
|
_NAV,
|
||||||
|
_NUMBER,
|
||||||
|
_SYMBOL,
|
||||||
|
_FUNC,
|
||||||
|
_SYS,
|
||||||
|
} layer_number;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
_TIME = 0,
|
||||||
|
_VOLUME,
|
||||||
|
_LAYOUT,
|
||||||
|
_MEDIA_ARTIST,
|
||||||
|
_MEDIA_TITLE,
|
||||||
|
} hid_data_type;
|
||||||
|
|
||||||
|
void display_process_raw_hid_data(uint8_t *data, uint8_t length);
|
||||||
|
void display_process_layer_state(uint8_t layer);
|
||||||
|
void display_process_caps_word(bool active);
|
18
keyboards/stront/lv_conf.h
Normal file
18
keyboards/stront/lv_conf.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <lv_conf.h>
|
||||||
|
|
||||||
|
#undef LV_FONT_DEFAULT
|
||||||
|
#define LV_FONT_DEFAULT &lv_font_montserrat_28
|
||||||
|
|
||||||
|
#undef LV_FONT_MONTSERRAT_14
|
||||||
|
#define LV_FONT_MONTSERRAT_14 0
|
||||||
|
|
||||||
|
#undef LV_FONT_MONTSERRAT_28
|
||||||
|
#define LV_FONT_MONTSERRAT_28 1
|
||||||
|
|
||||||
|
#undef LV_FONT_MONTSERRAT_48
|
||||||
|
#define LV_FONT_MONTSERRAT_48 1
|
113
keyboards/stront/lvgl_helpers.c
Normal file
113
keyboards/stront/lvgl_helpers.c
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "lvgl_helpers.h"
|
||||||
|
|
||||||
|
lv_obj_t *create_button(lv_obj_t *parent, const char *text, lv_style_t *style, lv_style_t *style_pressed) {
|
||||||
|
lv_obj_t *label = lv_label_create(parent);
|
||||||
|
lv_label_set_text(label, text);
|
||||||
|
lv_obj_add_style(label, style, 0);
|
||||||
|
lv_obj_add_style(label, style_pressed, LV_STATE_PRESSED);
|
||||||
|
return label;
|
||||||
|
}
|
||||||
|
|
||||||
|
void use_flex_row(void *obj) {
|
||||||
|
lv_obj_set_layout(obj, LV_LAYOUT_FLEX);
|
||||||
|
lv_obj_set_flex_flow(obj, LV_FLEX_FLOW_ROW);
|
||||||
|
lv_obj_set_flex_align(obj, LV_FLEX_ALIGN_SPACE_AROUND, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER);
|
||||||
|
}
|
||||||
|
|
||||||
|
void use_flex_column(void *obj) {
|
||||||
|
lv_obj_set_layout(obj, LV_LAYOUT_FLEX);
|
||||||
|
lv_obj_set_flex_flow(obj, LV_FLEX_FLOW_COLUMN);
|
||||||
|
lv_obj_set_flex_align(obj, LV_FLEX_ALIGN_SPACE_AROUND, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER);
|
||||||
|
}
|
||||||
|
|
||||||
|
void toggle_state(void *obj, lv_state_t state, bool enabled) {
|
||||||
|
if (enabled) {
|
||||||
|
lv_obj_add_state(obj, state);
|
||||||
|
} else {
|
||||||
|
lv_obj_clear_state(obj, state);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void toggle_hidden(void *obj, bool visible) {
|
||||||
|
if (visible) {
|
||||||
|
lv_obj_clear_flag(obj, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
} else {
|
||||||
|
lv_obj_add_flag(obj, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void resize_font(void *label, int32_t font_size) {
|
||||||
|
dprintf("font size %ld\n", font_size);
|
||||||
|
#if LV_FONT_MONTSERRAT_8
|
||||||
|
if (font_size == 8) return lv_obj_set_style_text_font(label, &lv_font_montserrat_8, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_10
|
||||||
|
if (font_size <= 10) return lv_obj_set_style_text_font(label, &lv_font_montserrat_8, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_12
|
||||||
|
if (font_size <= 12) return lv_obj_set_style_text_font(label, &lv_font_montserrat_12, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_14
|
||||||
|
if (font_size <= 14) return lv_obj_set_style_text_font(label, &lv_font_montserrat_14, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_16
|
||||||
|
if (font_size <= 16) return lv_obj_set_style_text_font(label, &lv_font_montserrat_16, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_18
|
||||||
|
if (font_size <= 18) return lv_obj_set_style_text_font(label, &lv_font_montserrat_18, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_20
|
||||||
|
if (font_size <= 20) return lv_obj_set_style_text_font(label, &lv_font_montserrat_20, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_22
|
||||||
|
if (font_size <= 22) return lv_obj_set_style_text_font(label, &lv_font_montserrat_22, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_24
|
||||||
|
if (font_size <= 24) return lv_obj_set_style_text_font(label, &lv_font_montserrat_24, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_26
|
||||||
|
if (font_size <= 26) return lv_obj_set_style_text_font(label, &lv_font_montserrat_26, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_28
|
||||||
|
if (font_size <= 28) return lv_obj_set_style_text_font(label, &lv_font_montserrat_28, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_30
|
||||||
|
if (font_size <= 30) return lv_obj_set_style_text_font(label, &lv_font_montserrat_30, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_32
|
||||||
|
if (font_size <= 32) return lv_obj_set_style_text_font(label, &lv_font_montserrat_32, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_34
|
||||||
|
if (font_size <= 34) return lv_obj_set_style_text_font(label, &lv_font_montserrat_34, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_36
|
||||||
|
if (font_size <= 36) return lv_obj_set_style_text_font(label, &lv_font_montserrat_36, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_38
|
||||||
|
if (font_size <= 38) return lv_obj_set_style_text_font(label, &lv_font_montserrat_38, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_40
|
||||||
|
if (font_size <= 40) return lv_obj_set_style_text_font(label, &lv_font_montserrat_40, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_42
|
||||||
|
if (font_size <= 42) return lv_obj_set_style_text_font(label, &lv_font_montserrat_42, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_44
|
||||||
|
if (font_size <= 44) return lv_obj_set_style_text_font(label, &lv_font_montserrat_44, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_46
|
||||||
|
if (font_size <= 46) return lv_obj_set_style_text_font(label, &lv_font_montserrat_46, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
#if LV_FONT_MONTSERRAT_48
|
||||||
|
if (font_size <= 48) return lv_obj_set_style_text_font(label, &lv_font_montserrat_48, LV_PART_MAIN);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void debug_set_obj_border(lv_obj_t *obj) {
|
||||||
|
lv_color_t red = lv_color_hex(0xFF0000);
|
||||||
|
lv_obj_set_style_border_color(obj, red, 0);
|
||||||
|
lv_obj_set_style_border_width(obj, 1, 0);
|
||||||
|
}
|
13
keyboards/stront/lvgl_helpers.h
Normal file
13
keyboards/stront/lvgl_helpers.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "qp_lvgl.h"
|
||||||
|
|
||||||
|
lv_obj_t *create_button(lv_obj_t *parent, const char *text, lv_style_t *style, lv_style_t *style_pressed);
|
||||||
|
|
||||||
|
void use_flex_row(void *obj);
|
||||||
|
void use_flex_column(void *obj);
|
||||||
|
void toggle_state(void *obj, lv_state_t state, bool enabled);
|
||||||
|
void toggle_hidden(void *obj, bool visible);
|
||||||
|
void resize_font(void *label, int32_t v);
|
||||||
|
void debug_set_obj_border(lv_obj_t *obj);
|
12
keyboards/stront/mcuconf.h
Normal file
12
keyboards/stront/mcuconf.h
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
|
#undef RP_SPI_USE_SPI1
|
||||||
|
#define RP_SPI_USE_SPI1 TRUE
|
||||||
|
|
||||||
|
#undef RP_PWM_USE_PWM7
|
||||||
|
#define RP_PWM_USE_PWM7 TRUE
|
45
keyboards/stront/readme.md
Normal file
45
keyboards/stront/readme.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# stront
|
||||||
|
|
||||||
|
![stront](https://i.imgur.com/FOPnWhch.jpg)
|
||||||
|
|
||||||
|
Split keyboard with 38 keys, LCD display and Cirque trackpad.
|
||||||
|
|
||||||
|
- Keyboard Maintainer: [zzeneg](https://github.com/zzeneg)
|
||||||
|
- Hardware Supported: Stront PCBs, Waveshare RP2040 Zero
|
||||||
|
- Hardware Availability: [GitHub](https://github.com/zzeneg/stront)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make stront:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make stront: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).
|
||||||
|
|
||||||
|
## Keymaps
|
||||||
|
|
||||||
|
- `default` - sample keymap with home row mods. Not recommended for longer use - create your own.
|
||||||
|
- `hid` - default keymap with HID support. Requires additional software running on computer, see https://github.com/zzeneg/qmk-hid-host.
|
||||||
|
- `i2c` - default keymap with I2C Cirque instead of default SPI
|
||||||
|
- `zzeneg` - my highly customized layout, you can use as a reference
|
||||||
|
|
||||||
|
Keymaps have [EE_HANDS](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) enabled, so any side can be master (though using side with touchpad as master is recommended). You have to specify left/right side by flashing with different commands:
|
||||||
|
|
||||||
|
`qmk flash -kb stront -km default -bl uf2-split-left`
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
`qmk flash -kb stront -km default -bl uf2-split-right`
|
||||||
|
|
||||||
|
If your keyboard is flashed already, you can do it by pressing key combinations - hold inner thumb key, then hold outer thumb key to activate SYSTEM layer. Now press outer bottom pinky key for left side or inner bottom index key for right side. See [keymap](./keymaps/default/keymap.c) for better understanding. Reconnect the keyboard to apply changes.
|
||||||
|
|
||||||
|
## Bootloader
|
||||||
|
|
||||||
|
Enter the bootloader in 2 ways:
|
||||||
|
|
||||||
|
- **Bootmagic reset**: Hold down the key at (0,0) in the matrix (outer top pinky key) and plug in the keyboard
|
||||||
|
- **Keycode in layout**: Press the key mapped to `QK_BOOT` - by default you need to hold inner thumb key, then hold outer thumb key and press middle thumb key (see [keymap.c](./keymaps/default/keymap.c) for details). It's a complicated combination to avoid accidental activations.
|
||||||
|
|
||||||
|
RP2040 Zero has physical boot/reset buttons but they are unaccessible after the keyboards is assembled, so always keep a `QK_BOOT` key and/or bootmagic feature in your keymaps.
|
12
keyboards/stront/rules.mk
Normal file
12
keyboards/stront/rules.mk
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
SERIAL_DRIVER = vendor
|
||||||
|
WS2812_DRIVER = vendor
|
||||||
|
|
||||||
|
POINTING_DEVICE_ENABLE = yes
|
||||||
|
POINTING_DEVICE_DRIVER = cirque_pinnacle_spi
|
||||||
|
|
||||||
|
QUANTUM_PAINTER_ENABLE = yes
|
||||||
|
QUANTUM_PAINTER_DRIVERS += st7789_spi
|
||||||
|
QUANTUM_PAINTER_LVGL_INTEGRATION = yes
|
||||||
|
|
||||||
|
SRC += lvgl_helpers.c \
|
||||||
|
display.c
|
61
keyboards/stront/stront.c
Normal file
61
keyboards/stront/stront.c
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "stront.h"
|
||||||
|
#include "display.h"
|
||||||
|
|
||||||
|
static bool display_enabled;
|
||||||
|
|
||||||
|
/* public function to be used in keymaps */
|
||||||
|
bool is_display_enabled(void) {
|
||||||
|
return display_enabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* default encoder keys */
|
||||||
|
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||||
|
if (!encoder_update_user(index, clockwise)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (index == 0) {
|
||||||
|
if (clockwise) {
|
||||||
|
tap_code_delay(KC_VOLU, 10);
|
||||||
|
} else {
|
||||||
|
tap_code_delay(KC_VOLD, 10);
|
||||||
|
}
|
||||||
|
} else if (index == 1) {
|
||||||
|
if (clockwise) {
|
||||||
|
tap_code_delay(KC_RIGHT, 10);
|
||||||
|
} else {
|
||||||
|
tap_code_delay(KC_LEFT, 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caps Lock processing */
|
||||||
|
bool led_update_kb(led_t led_state) {
|
||||||
|
bool res = led_update_user(led_state);
|
||||||
|
if (res && display_enabled) {
|
||||||
|
display_process_caps(led_state.caps_lock);
|
||||||
|
}
|
||||||
|
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
void housekeeping_task_kb(void) {
|
||||||
|
if (display_enabled) {
|
||||||
|
display_housekeeping_task();
|
||||||
|
}
|
||||||
|
|
||||||
|
housekeeping_task_user();
|
||||||
|
}
|
||||||
|
|
||||||
|
void keyboard_post_init_kb(void) {
|
||||||
|
display_enabled = false;
|
||||||
|
|
||||||
|
if (is_keyboard_left()) {
|
||||||
|
display_enabled = display_init_kb();
|
||||||
|
}
|
||||||
|
|
||||||
|
keyboard_post_init_user();
|
||||||
|
}
|
6
keyboards/stront/stront.h
Normal file
6
keyboards/stront/stront.h
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Copyright 2023 zzeneg (@zzeneg)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
bool is_display_enabled(void);
|
191
keyboards/viktus/styrka_topre/ec.c
Normal file
191
keyboards/viktus/styrka_topre/ec.c
Normal file
@ -0,0 +1,191 @@
|
|||||||
|
/* Copyright 2023 Viktus Design LLC
|
||||||
|
*
|
||||||
|
* 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 "ec.h"
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
#include "analog.h"
|
||||||
|
//#include "debug.h"
|
||||||
|
|
||||||
|
// sensing channel definitions
|
||||||
|
#define A0 0
|
||||||
|
#define A1 1
|
||||||
|
#define A2 2
|
||||||
|
#define A3 3
|
||||||
|
#define A4 4
|
||||||
|
#define A5 5
|
||||||
|
#define A6 6
|
||||||
|
#define A7 7
|
||||||
|
|
||||||
|
// analog connection settings
|
||||||
|
#define DISCHARGE_PIN D3
|
||||||
|
#define ANALOG_PORT D4
|
||||||
|
|
||||||
|
#ifndef MUX_SEL_PIN
|
||||||
|
# define MUX_SEL_PINS \
|
||||||
|
{ D0, D1, D2 }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// pin connections
|
||||||
|
const uint8_t row_channels[] = MATRIX_ROW_PINS;
|
||||||
|
const uint8_t col_pins[] = MATRIX_COL_PINS;
|
||||||
|
const uint8_t mux_sel_pins[] = MUX_SEL_PINS;
|
||||||
|
|
||||||
|
_Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS");
|
||||||
|
|
||||||
|
static ec_config_t config;
|
||||||
|
static uint16_t ec_sw_value[MATRIX_COLS][MATRIX_ROWS];
|
||||||
|
|
||||||
|
static inline void discharge_capacitor(void) { setPinOutput(DISCHARGE_PIN); }
|
||||||
|
static inline void charge_capacitor(uint8_t col) {
|
||||||
|
setPinInput(DISCHARGE_PIN);
|
||||||
|
writePinHigh(col_pins[col]);
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline void clear_all_col_pins(void) {
|
||||||
|
for (int col = 0; col < sizeof(col_pins); col++) {
|
||||||
|
writePinLow(col_pins[col]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_mux_sel(void) {
|
||||||
|
for (int idx = 0; idx < sizeof(mux_sel_pins); idx++) {
|
||||||
|
setPinOutput(mux_sel_pins[idx]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void select_mux(uint8_t row) {
|
||||||
|
uint8_t ch = row_channels[row];
|
||||||
|
writePin(mux_sel_pins[0], ch & 1);
|
||||||
|
writePin(mux_sel_pins[1], ch & 2);
|
||||||
|
writePin(mux_sel_pins[2], ch & 4);
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_col(void) {
|
||||||
|
for (int idx = 0; idx < sizeof(col_pins); idx++) {
|
||||||
|
setPinOutput(col_pins[idx]);
|
||||||
|
writePinLow(col_pins[idx]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void ec_init(ec_config_t const* const ec_config) {
|
||||||
|
// save config
|
||||||
|
config = *ec_config;
|
||||||
|
|
||||||
|
// initialize discharge pin as discharge mode
|
||||||
|
writePinLow(DISCHARGE_PIN);
|
||||||
|
setPinOutput(DISCHARGE_PIN);
|
||||||
|
|
||||||
|
// set analog reference
|
||||||
|
analogReference(ADC_REF_POWER);
|
||||||
|
|
||||||
|
// initialize drive lines
|
||||||
|
init_col();
|
||||||
|
|
||||||
|
// initialize multiplexer select pin
|
||||||
|
init_mux_sel();
|
||||||
|
|
||||||
|
// set discharge pin to charge mode
|
||||||
|
setPinInput(DISCHARGE_PIN);
|
||||||
|
}
|
||||||
|
|
||||||
|
uint16_t ec_readkey_raw(uint8_t col, uint8_t row) {
|
||||||
|
uint16_t sw_value = 0;
|
||||||
|
|
||||||
|
discharge_capacitor();
|
||||||
|
|
||||||
|
select_mux(row);
|
||||||
|
|
||||||
|
clear_all_col_pins();
|
||||||
|
|
||||||
|
cli();
|
||||||
|
|
||||||
|
charge_capacitor(col);
|
||||||
|
|
||||||
|
sw_value = analogReadPin(ANALOG_PORT);
|
||||||
|
|
||||||
|
sei();
|
||||||
|
|
||||||
|
return sw_value;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ec_update_key(matrix_row_t* current_row, matrix_row_t col, uint16_t sw_value, uint16_t reset_pt, uint16_t actuation_pt) {
|
||||||
|
bool current_state = (*current_row >> col) & 1;
|
||||||
|
|
||||||
|
// press to release
|
||||||
|
if (current_state && sw_value < reset_pt) {
|
||||||
|
*current_row &= ~(MATRIX_ROW_SHIFTER << col);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// release to press
|
||||||
|
if ((!current_state) && sw_value > actuation_pt) {
|
||||||
|
*current_row |= (MATRIX_ROW_SHIFTER << col);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ec_matrix_scan(matrix_row_t current_matrix[]) {
|
||||||
|
bool updated = false;
|
||||||
|
|
||||||
|
for (int row = 0; row < sizeof(row_channels); row++) {
|
||||||
|
for (int col = 0; col < sizeof(col_pins); col++) {
|
||||||
|
uint16_t reset_pt = config.reset_pt;
|
||||||
|
uint16_t actuation_pt = config.actuation_pt;
|
||||||
|
|
||||||
|
switch(row) {
|
||||||
|
case 0:
|
||||||
|
switch(col) {
|
||||||
|
case 15: // lower threshold for split backspace:
|
||||||
|
case 16: // lower threshold for 2U backspace: 2U(37 rest, 62 btm)
|
||||||
|
reset_pt = 45;
|
||||||
|
actuation_pt = 50;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
switch(col) {
|
||||||
|
case 8: // Lower threshold for spacebar: 7U(37 rest, 63 btm)
|
||||||
|
reset_pt = 55;
|
||||||
|
actuation_pt = 60;
|
||||||
|
break;
|
||||||
|
case 13: // Lower threshold for right bottom mods: 1.5U(40 rest, 65 btm)
|
||||||
|
reset_pt = 47;
|
||||||
|
actuation_pt = 53;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
ec_sw_value[col][row] = ec_readkey_raw(col, row);
|
||||||
|
updated |= ec_update_key(¤t_matrix[row], col, ec_sw_value[col][row], reset_pt, actuation_pt);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return updated;
|
||||||
|
}
|
||||||
|
|
||||||
|
// console debugging for pad values
|
||||||
|
/*void ec_dprint_matrix(void) {
|
||||||
|
for (int row = 0; row < sizeof(row_channels); row++) {
|
||||||
|
for (int col = 0; col < sizeof(col_pins); col++) {
|
||||||
|
dprintf("%5d", ec_sw_value[col][row]);
|
||||||
|
}
|
||||||
|
dprintf("\n");
|
||||||
|
}
|
||||||
|
}*/
|
31
keyboards/viktus/styrka_topre/ec.h
Normal file
31
keyboards/viktus/styrka_topre/ec.h
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/* Copyright 2023 Viktus Design LLC
|
||||||
|
*
|
||||||
|
* 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 <stdint.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#include "matrix.h"
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint16_t reset_pt;
|
||||||
|
uint16_t actuation_pt;
|
||||||
|
} ec_config_t;
|
||||||
|
|
||||||
|
void ec_init(ec_config_t const* const ec_config);
|
||||||
|
bool ec_matrix_scan(matrix_row_t current_matrix[]);
|
||||||
|
//void ec_dprint_matrix(void);
|
||||||
|
uint16_t ec_readkey_raw(uint8_t col, uint8_t row);
|
||||||
|
bool ec_update_key(matrix_row_t* current_row, matrix_row_t col, uint16_t sw_value, uint16_t reset_pt, uint16_t actuation_pt);
|
438
keyboards/viktus/styrka_topre/info.json
Normal file
438
keyboards/viktus/styrka_topre/info.json
Normal file
@ -0,0 +1,438 @@
|
|||||||
|
{
|
||||||
|
"manufacturer": "Viktus Design LLC",
|
||||||
|
"keyboard_name": "Viktus Styrka - Topre",
|
||||||
|
"maintainer": "BlindAssassin111",
|
||||||
|
"url": "https://viktus.design",
|
||||||
|
"usb": {
|
||||||
|
"device_version": "1.3.0",
|
||||||
|
"vid": "0x5644",
|
||||||
|
"pid": "0x5354"
|
||||||
|
},
|
||||||
|
"bootloader": "atmel-dfu",
|
||||||
|
"processor": "atmega32u4",
|
||||||
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"command": false,
|
||||||
|
"console": false,
|
||||||
|
"extrakey": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"nkro": true
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"lto": true
|
||||||
|
},
|
||||||
|
"diode_direction": "COL2ROW",
|
||||||
|
"matrix_pins": {
|
||||||
|
"cols": ["B5", "B4", "D7", "D6", "F6", "F5", "F4", "C7", "C6", "B6", "F7", "B1", "B2", "B3", "B7", "F1", "F0", "E6"],
|
||||||
|
"rows": ["A7", "A6", "A4", "A5", "A3"]
|
||||||
|
},
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT_all": {
|
||||||
|
"layout": [
|
||||||
|
{"label": "K000", "matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{"label": "K001", "matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
{"label": "K002", "matrix": [0, 2], "x": 2, "y": 0},
|
||||||
|
{"label": "K003", "matrix": [0, 3], "x": 3, "y": 0},
|
||||||
|
{"label": "K004", "matrix": [0, 4], "x": 4, "y": 0},
|
||||||
|
{"label": "K005", "matrix": [0, 5], "x": 5, "y": 0},
|
||||||
|
{"label": "K006", "matrix": [0, 6], "x": 6, "y": 0},
|
||||||
|
{"label": "K007", "matrix": [0, 7], "x": 7, "y": 0},
|
||||||
|
{"label": "K008", "matrix": [0, 8], "x": 8, "y": 0},
|
||||||
|
{"label": "K009", "matrix": [0, 9], "x": 9, "y": 0},
|
||||||
|
{"label": "K00A", "matrix": [0, 10], "x": 10, "y": 0},
|
||||||
|
{"label": "K00B", "matrix": [0, 11], "x": 11, "y": 0},
|
||||||
|
{"label": "K00C", "matrix": [0, 12], "x": 12, "y": 0},
|
||||||
|
{"label": "K00D", "matrix": [0, 13], "x": 13, "y": 0},
|
||||||
|
{"label": "K00E", "matrix": [0, 14], "x": 14, "y": 0},
|
||||||
|
{"label": "K00F", "matrix": [0, 15], "x": 15, "y": 0},
|
||||||
|
{"label": "K010", "matrix": [0, 16], "x": 16, "y": 0},
|
||||||
|
{"label": "K011", "matrix": [0, 17], "x": 17, "y": 0},
|
||||||
|
{"label": "K100", "matrix": [1, 0], "x": 18, "y": 0},
|
||||||
|
{"label": "K101", "matrix": [1, 1], "x": 19, "y": 0},
|
||||||
|
{"label": "K102", "matrix": [1, 2], "x": 20, "y": 0},
|
||||||
|
{"label": "K103", "matrix": [1, 3], "x": 21, "y": 0},
|
||||||
|
{"label": "K104", "matrix": [1, 4], "x": 22, "y": 0},
|
||||||
|
{"label": "K105", "matrix": [1, 5], "x": 23, "y": 0},
|
||||||
|
{"label": "K106", "matrix": [1, 6], "x": 24, "y": 0},
|
||||||
|
{"label": "K107", "matrix": [1, 7], "x": 25, "y": 0},
|
||||||
|
{"label": "K108", "matrix": [1, 8], "x": 26, "y": 0},
|
||||||
|
{"label": "K109", "matrix": [1, 9], "x": 27, "y": 0},
|
||||||
|
{"label": "K10A", "matrix": [1, 10], "x": 28, "y": 0},
|
||||||
|
{"label": "K10B", "matrix": [1, 11], "x": 29, "y": 0},
|
||||||
|
{"label": "K10C", "matrix": [1, 12], "x": 30, "y": 0},
|
||||||
|
{"label": "K10D", "matrix": [1, 13], "x": 31, "y": 0},
|
||||||
|
{"label": "K10E", "matrix": [1, 14], "x": 32, "y": 0},
|
||||||
|
{"label": "K110", "matrix": [1, 16], "x": 33, "y": 0},
|
||||||
|
{"label": "K111", "matrix": [1, 17], "x": 34, "y": 0},
|
||||||
|
{"label": "K200", "matrix": [2, 0], "x": 35, "y": 0},
|
||||||
|
{"label": "K201", "matrix": [2, 1], "x": 36, "y": 0},
|
||||||
|
{"label": "K202", "matrix": [2, 2], "x": 37, "y": 0},
|
||||||
|
{"label": "K203", "matrix": [2, 3], "x": 38, "y": 0},
|
||||||
|
{"label": "K204", "matrix": [2, 4], "x": 39, "y": 0},
|
||||||
|
{"label": "K205", "matrix": [2, 5], "x": 40, "y": 0},
|
||||||
|
{"label": "K206", "matrix": [2, 6], "x": 41, "y": 0},
|
||||||
|
{"label": "K207", "matrix": [2, 7], "x": 42, "y": 0},
|
||||||
|
{"label": "K208", "matrix": [2, 8], "x": 43, "y": 0},
|
||||||
|
{"label": "K209", "matrix": [2, 9], "x": 44, "y": 0},
|
||||||
|
{"label": "K20A", "matrix": [2, 10], "x": 45, "y": 0},
|
||||||
|
{"label": "K20B", "matrix": [2, 11], "x": 46, "y": 0},
|
||||||
|
{"label": "K20C", "matrix": [2, 12], "x": 47, "y": 0},
|
||||||
|
{"label": "K20D", "matrix": [2, 13], "x": 48, "y": 0},
|
||||||
|
{"label": "K20F", "matrix": [2, 15], "x": 49, "y": 0},
|
||||||
|
{"label": "K211", "matrix": [2, 17], "x": 50, "y": 0},
|
||||||
|
{"label": "K300", "matrix": [3, 0], "x": 51, "y": 0},
|
||||||
|
{"label": "K301", "matrix": [3, 1], "x": 52, "y": 0},
|
||||||
|
{"label": "K302", "matrix": [3, 2], "x": 53, "y": 0},
|
||||||
|
{"label": "K304", "matrix": [3, 4], "x": 54, "y": 0},
|
||||||
|
{"label": "K305", "matrix": [3, 5], "x": 55, "y": 0},
|
||||||
|
{"label": "K306", "matrix": [3, 6], "x": 56, "y": 0},
|
||||||
|
{"label": "K307", "matrix": [3, 7], "x": 57, "y": 0},
|
||||||
|
{"label": "K308", "matrix": [3, 8], "x": 58, "y": 0},
|
||||||
|
{"label": "K309", "matrix": [3, 9], "x": 59, "y": 0},
|
||||||
|
{"label": "K30A", "matrix": [3, 10], "x": 60, "y": 0},
|
||||||
|
{"label": "K30B", "matrix": [3, 11], "x": 61, "y": 0},
|
||||||
|
{"label": "K30C", "matrix": [3, 12], "x": 62, "y": 0},
|
||||||
|
{"label": "K30D", "matrix": [3, 13], "x": 63, "y": 0},
|
||||||
|
{"label": "K30E", "matrix": [3, 14], "x": 64, "y": 0},
|
||||||
|
{"label": "K310", "matrix": [3, 16], "x": 65, "y": 0},
|
||||||
|
{"label": "K311", "matrix": [3, 17], "x": 66, "y": 0},
|
||||||
|
{"label": "K400", "matrix": [4, 0], "x": 67, "y": 0},
|
||||||
|
{"label": "K401", "matrix": [4, 1], "x": 68, "y": 0},
|
||||||
|
{"label": "K402", "matrix": [4, 2], "x": 69, "y": 0},
|
||||||
|
{"label": "K403", "matrix": [4, 3], "x": 70, "y": 0},
|
||||||
|
{"label": "K404", "matrix": [4, 4], "x": 71, "y": 0},
|
||||||
|
{"label": "K408", "matrix": [4, 8], "x": 72, "y": 0},
|
||||||
|
{"label": "K40C", "matrix": [4, 12], "x": 73, "y": 0},
|
||||||
|
{"label": "K40D", "matrix": [4, 13], "x": 74, "y": 0},
|
||||||
|
{"label": "K40E", "matrix": [4, 14], "x": 75, "y": 0},
|
||||||
|
{"label": "K410", "matrix": [4, 16], "x": 76, "y": 0},
|
||||||
|
{"label": "K411", "matrix": [4, 17], "x": 77, "y": 0}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LAYOUT_2u_6u": {
|
||||||
|
"layout": [
|
||||||
|
{"label": "K000", "matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{"label": "K001", "matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
{"label": "K002", "matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
|
{"label": "K003", "matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
|
{"label": "K004", "matrix": [0, 4], "x": 4.25, "y": 0},
|
||||||
|
{"label": "K005", "matrix": [0, 5], "x": 5.25, "y": 0},
|
||||||
|
{"label": "K006", "matrix": [0, 6], "x": 6.25, "y": 0},
|
||||||
|
{"label": "K007", "matrix": [0, 7], "x": 7.25, "y": 0},
|
||||||
|
{"label": "K008", "matrix": [0, 8], "x": 8.25, "y": 0},
|
||||||
|
{"label": "K009", "matrix": [0, 9], "x": 9.25, "y": 0},
|
||||||
|
{"label": "K00A", "matrix": [0, 10], "x": 10.25, "y": 0},
|
||||||
|
{"label": "K00B", "matrix": [0, 11], "x": 11.25, "y": 0},
|
||||||
|
{"label": "K00C", "matrix": [0, 12], "x": 12.25, "y": 0},
|
||||||
|
{"label": "K00D", "matrix": [0, 13], "x": 13.25, "y": 0},
|
||||||
|
{"label": "K00E", "matrix": [0, 14], "x": 14.25, "y": 0},
|
||||||
|
{"label": "K010", "matrix": [0, 16], "x": 15.25, "y": 0, "w": 2},
|
||||||
|
{"label": "K011", "matrix": [0, 17], "x": 17.25, "y": 0},
|
||||||
|
{"label": "K100", "matrix": [1, 0], "x": 0, "y": 1},
|
||||||
|
{"label": "K101", "matrix": [1, 1], "x": 1, "y": 1},
|
||||||
|
{"label": "K102", "matrix": [1, 2], "x": 2.25, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K103", "matrix": [1, 3], "x": 3.75, "y": 1},
|
||||||
|
{"label": "K104", "matrix": [1, 4], "x": 4.75, "y": 1},
|
||||||
|
{"label": "K105", "matrix": [1, 5], "x": 5.75, "y": 1},
|
||||||
|
{"label": "K106", "matrix": [1, 6], "x": 6.75, "y": 1},
|
||||||
|
{"label": "K107", "matrix": [1, 7], "x": 7.75, "y": 1},
|
||||||
|
{"label": "K108", "matrix": [1, 8], "x": 8.75, "y": 1},
|
||||||
|
{"label": "K109", "matrix": [1, 9], "x": 9.75, "y": 1},
|
||||||
|
{"label": "K10A", "matrix": [1, 10], "x": 10.75, "y": 1},
|
||||||
|
{"label": "K10B", "matrix": [1, 11], "x": 11.75, "y": 1},
|
||||||
|
{"label": "K10C", "matrix": [1, 12], "x": 12.75, "y": 1},
|
||||||
|
{"label": "K10D", "matrix": [1, 13], "x": 13.75, "y": 1},
|
||||||
|
{"label": "K10E", "matrix": [1, 14], "x": 14.75, "y": 1},
|
||||||
|
{"label": "K110", "matrix": [1, 16], "x": 15.75, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K111", "matrix": [1, 17], "x": 17.25, "y": 1},
|
||||||
|
{"label": "K200", "matrix": [2, 0], "x": 0, "y": 2},
|
||||||
|
{"label": "K201", "matrix": [2, 1], "x": 1, "y": 2},
|
||||||
|
{"label": "K202", "matrix": [2, 2], "x": 2.25, "y": 2, "w": 1.75},
|
||||||
|
{"label": "K203", "matrix": [2, 3], "x": 4, "y": 2},
|
||||||
|
{"label": "K204", "matrix": [2, 4], "x": 5, "y": 2},
|
||||||
|
{"label": "K205", "matrix": [2, 5], "x": 6, "y": 2},
|
||||||
|
{"label": "K206", "matrix": [2, 6], "x": 7, "y": 2},
|
||||||
|
{"label": "K207", "matrix": [2, 7], "x": 8, "y": 2},
|
||||||
|
{"label": "K208", "matrix": [2, 8], "x": 9, "y": 2},
|
||||||
|
{"label": "K209", "matrix": [2, 9], "x": 10, "y": 2},
|
||||||
|
{"label": "K20A", "matrix": [2, 10], "x": 11, "y": 2},
|
||||||
|
{"label": "K20B", "matrix": [2, 11], "x": 12, "y": 2},
|
||||||
|
{"label": "K20C", "matrix": [2, 12], "x": 13, "y": 2},
|
||||||
|
{"label": "K20D", "matrix": [2, 13], "x": 14, "y": 2},
|
||||||
|
{"label": "K20F", "matrix": [2, 15], "x": 15, "y": 2, "w": 2.25},
|
||||||
|
{"label": "K211", "matrix": [2, 17], "x": 17.25, "y": 2},
|
||||||
|
{"label": "K300", "matrix": [3, 0], "x": 0, "y": 3},
|
||||||
|
{"label": "K301", "matrix": [3, 1], "x": 1, "y": 3},
|
||||||
|
{"label": "K302", "matrix": [3, 2], "x": 2.25, "y": 3, "w": 2.25},
|
||||||
|
{"label": "K304", "matrix": [3, 4], "x": 4.5, "y": 3},
|
||||||
|
{"label": "K305", "matrix": [3, 5], "x": 5.5, "y": 3},
|
||||||
|
{"label": "K306", "matrix": [3, 6], "x": 6.5, "y": 3},
|
||||||
|
{"label": "K307", "matrix": [3, 7], "x": 7.5, "y": 3},
|
||||||
|
{"label": "K308", "matrix": [3, 8], "x": 8.5, "y": 3},
|
||||||
|
{"label": "K309", "matrix": [3, 9], "x": 9.5, "y": 3},
|
||||||
|
{"label": "K30A", "matrix": [3, 10], "x": 10.5, "y": 3},
|
||||||
|
{"label": "K30B", "matrix": [3, 11], "x": 11.5, "y": 3},
|
||||||
|
{"label": "K30C", "matrix": [3, 12], "x": 12.5, "y": 3},
|
||||||
|
{"label": "K30D", "matrix": [3, 13], "x": 13.5, "y": 3},
|
||||||
|
{"label": "K30E", "matrix": [3, 14], "x": 14.5, "y": 3, "w": 1.75},
|
||||||
|
{"label": "K310", "matrix": [3, 16], "x": 16.25, "y": 3},
|
||||||
|
{"label": "K311", "matrix": [3, 17], "x": 17.25, "y": 3},
|
||||||
|
{"label": "K400", "matrix": [4, 0], "x": 0, "y": 4},
|
||||||
|
{"label": "K401", "matrix": [4, 1], "x": 1, "y": 4},
|
||||||
|
{"label": "K402", "matrix": [4, 2], "x": 2.25, "y": 4, "w": 1.25},
|
||||||
|
{"label": "K403", "matrix": [4, 3], "x": 3.5, "y": 4, "w": 1.25},
|
||||||
|
{"label": "K404", "matrix": [4, 4], "x": 4.75, "y": 4, "w": 1.25},
|
||||||
|
{"label": "K408", "matrix": [4, 8], "x": 6, "y": 4, "w": 6.25},
|
||||||
|
{"label": "K40C", "matrix": [4, 12], "x": 12.25, "y": 4},
|
||||||
|
{"label": "K40D", "matrix": [4, 13], "x": 13.25, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K40E", "matrix": [4, 14], "x": 15.25, "y": 4},
|
||||||
|
{"label": "K410", "matrix": [4, 16], "x": 16.25, "y": 4},
|
||||||
|
{"label": "K411", "matrix": [4, 17], "x": 17.25, "y": 4}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LAYOUT_2u_7u": {
|
||||||
|
"layout": [
|
||||||
|
{"label": "K000", "matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{"label": "K001", "matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
{"label": "K002", "matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
|
{"label": "K003", "matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
|
{"label": "K004", "matrix": [0, 4], "x": 4.25, "y": 0},
|
||||||
|
{"label": "K005", "matrix": [0, 5], "x": 5.25, "y": 0},
|
||||||
|
{"label": "K006", "matrix": [0, 6], "x": 6.25, "y": 0},
|
||||||
|
{"label": "K007", "matrix": [0, 7], "x": 7.25, "y": 0},
|
||||||
|
{"label": "K008", "matrix": [0, 8], "x": 8.25, "y": 0},
|
||||||
|
{"label": "K009", "matrix": [0, 9], "x": 9.25, "y": 0},
|
||||||
|
{"label": "K00A", "matrix": [0, 10], "x": 10.25, "y": 0},
|
||||||
|
{"label": "K00B", "matrix": [0, 11], "x": 11.25, "y": 0},
|
||||||
|
{"label": "K00C", "matrix": [0, 12], "x": 12.25, "y": 0},
|
||||||
|
{"label": "K00D", "matrix": [0, 13], "x": 13.25, "y": 0},
|
||||||
|
{"label": "K00E", "matrix": [0, 14], "x": 14.25, "y": 0},
|
||||||
|
{"label": "K010", "matrix": [0, 16], "x": 15.25, "y": 0, "w": 2},
|
||||||
|
{"label": "K011", "matrix": [0, 17], "x": 17.25, "y": 0},
|
||||||
|
{"label": "K100", "matrix": [1, 0], "x": 0, "y": 1},
|
||||||
|
{"label": "K101", "matrix": [1, 1], "x": 1, "y": 1},
|
||||||
|
{"label": "K102", "matrix": [1, 2], "x": 2.25, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K103", "matrix": [1, 3], "x": 3.75, "y": 1},
|
||||||
|
{"label": "K104", "matrix": [1, 4], "x": 4.75, "y": 1},
|
||||||
|
{"label": "K105", "matrix": [1, 5], "x": 5.75, "y": 1},
|
||||||
|
{"label": "K106", "matrix": [1, 6], "x": 6.75, "y": 1},
|
||||||
|
{"label": "K107", "matrix": [1, 7], "x": 7.75, "y": 1},
|
||||||
|
{"label": "K108", "matrix": [1, 8], "x": 8.75, "y": 1},
|
||||||
|
{"label": "K109", "matrix": [1, 9], "x": 9.75, "y": 1},
|
||||||
|
{"label": "K10A", "matrix": [1, 10], "x": 10.75, "y": 1},
|
||||||
|
{"label": "K10B", "matrix": [1, 11], "x": 11.75, "y": 1},
|
||||||
|
{"label": "K10C", "matrix": [1, 12], "x": 12.75, "y": 1},
|
||||||
|
{"label": "K10D", "matrix": [1, 13], "x": 13.75, "y": 1},
|
||||||
|
{"label": "K10E", "matrix": [1, 14], "x": 14.75, "y": 1},
|
||||||
|
{"label": "K110", "matrix": [1, 16], "x": 15.75, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K111", "matrix": [1, 17], "x": 17.25, "y": 1},
|
||||||
|
{"label": "K200", "matrix": [2, 0], "x": 0, "y": 2},
|
||||||
|
{"label": "K201", "matrix": [2, 1], "x": 1, "y": 2},
|
||||||
|
{"label": "K202", "matrix": [2, 2], "x": 2.25, "y": 2, "w": 1.75},
|
||||||
|
{"label": "K203", "matrix": [2, 3], "x": 4, "y": 2},
|
||||||
|
{"label": "K204", "matrix": [2, 4], "x": 5, "y": 2},
|
||||||
|
{"label": "K205", "matrix": [2, 5], "x": 6, "y": 2},
|
||||||
|
{"label": "K206", "matrix": [2, 6], "x": 7, "y": 2},
|
||||||
|
{"label": "K207", "matrix": [2, 7], "x": 8, "y": 2},
|
||||||
|
{"label": "K208", "matrix": [2, 8], "x": 9, "y": 2},
|
||||||
|
{"label": "K209", "matrix": [2, 9], "x": 10, "y": 2},
|
||||||
|
{"label": "K20A", "matrix": [2, 10], "x": 11, "y": 2},
|
||||||
|
{"label": "K20B", "matrix": [2, 11], "x": 12, "y": 2},
|
||||||
|
{"label": "K20C", "matrix": [2, 12], "x": 13, "y": 2},
|
||||||
|
{"label": "K20D", "matrix": [2, 13], "x": 14, "y": 2},
|
||||||
|
{"label": "K20F", "matrix": [2, 15], "x": 15, "y": 2, "w": 2.25},
|
||||||
|
{"label": "K211", "matrix": [2, 17], "x": 17.25, "y": 2},
|
||||||
|
{"label": "K300", "matrix": [3, 0], "x": 0, "y": 3},
|
||||||
|
{"label": "K301", "matrix": [3, 1], "x": 1, "y": 3},
|
||||||
|
{"label": "K302", "matrix": [3, 2], "x": 2.25, "y": 3, "w": 2.25},
|
||||||
|
{"label": "K304", "matrix": [3, 4], "x": 4.5, "y": 3},
|
||||||
|
{"label": "K305", "matrix": [3, 5], "x": 5.5, "y": 3},
|
||||||
|
{"label": "K306", "matrix": [3, 6], "x": 6.5, "y": 3},
|
||||||
|
{"label": "K307", "matrix": [3, 7], "x": 7.5, "y": 3},
|
||||||
|
{"label": "K308", "matrix": [3, 8], "x": 8.5, "y": 3},
|
||||||
|
{"label": "K309", "matrix": [3, 9], "x": 9.5, "y": 3},
|
||||||
|
{"label": "K30A", "matrix": [3, 10], "x": 10.5, "y": 3},
|
||||||
|
{"label": "K30B", "matrix": [3, 11], "x": 11.5, "y": 3},
|
||||||
|
{"label": "K30C", "matrix": [3, 12], "x": 12.5, "y": 3},
|
||||||
|
{"label": "K30D", "matrix": [3, 13], "x": 13.5, "y": 3},
|
||||||
|
{"label": "K30E", "matrix": [3, 14], "x": 14.5, "y": 3, "w": 1.75},
|
||||||
|
{"label": "K310", "matrix": [3, 16], "x": 16.25, "y": 3},
|
||||||
|
{"label": "K311", "matrix": [3, 17], "x": 17.25, "y": 3},
|
||||||
|
{"label": "K400", "matrix": [4, 0], "x": 0, "y": 4},
|
||||||
|
{"label": "K401", "matrix": [4, 1], "x": 1, "y": 4},
|
||||||
|
{"label": "K402", "matrix": [4, 2], "x": 2.25, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K403", "matrix": [4, 3], "x": 3.75, "y": 4},
|
||||||
|
{"label": "K404", "matrix": [4, 4], "x": 4.75, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K408", "matrix": [4, 8], "x": 6.25, "y": 4, "w": 7},
|
||||||
|
{"label": "K40D", "matrix": [4, 13], "x": 13.25, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K40E", "matrix": [4, 14], "x": 15.25, "y": 4},
|
||||||
|
{"label": "K410", "matrix": [4, 16], "x": 16.25, "y": 4},
|
||||||
|
{"label": "K411", "matrix": [4, 17], "x": 17.25, "y": 4}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"LAYOUT_split_6u": {
|
||||||
|
"layout": [
|
||||||
|
{"label": "K000", "matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{"label": "K001", "matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
{"label": "K002", "matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
|
{"label": "K003", "matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
|
{"label": "K004", "matrix": [0, 4], "x": 4.25, "y": 0},
|
||||||
|
{"label": "K005", "matrix": [0, 5], "x": 5.25, "y": 0},
|
||||||
|
{"label": "K006", "matrix": [0, 6], "x": 6.25, "y": 0},
|
||||||
|
{"label": "K007", "matrix": [0, 7], "x": 7.25, "y": 0},
|
||||||
|
{"label": "K008", "matrix": [0, 8], "x": 8.25, "y": 0},
|
||||||
|
{"label": "K009", "matrix": [0, 9], "x": 9.25, "y": 0},
|
||||||
|
{"label": "K00A", "matrix": [0, 10], "x": 10.25, "y": 0},
|
||||||
|
{"label": "K00B", "matrix": [0, 11], "x": 11.25, "y": 0},
|
||||||
|
{"label": "K00C", "matrix": [0, 12], "x": 12.25, "y": 0},
|
||||||
|
{"label": "K00D", "matrix": [0, 13], "x": 13.25, "y": 0},
|
||||||
|
{"label": "K00E", "matrix": [0, 14], "x": 14.25, "y": 0},
|
||||||
|
{"label": "K00F", "matrix": [0, 15], "x": 15.25, "y": 0},
|
||||||
|
{"label": "K010", "matrix": [0, 16], "x": 16.25, "y": 0},
|
||||||
|
{"label": "K011", "matrix": [0, 17], "x": 17.25, "y": 0},
|
||||||
|
{"label": "K100", "matrix": [1, 0], "x": 0, "y": 1},
|
||||||
|
{"label": "K101", "matrix": [1, 1], "x": 1, "y": 1},
|
||||||
|
{"label": "K102", "matrix": [1, 2], "x": 2.25, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K103", "matrix": [1, 3], "x": 3.75, "y": 1},
|
||||||
|
{"label": "K104", "matrix": [1, 4], "x": 4.75, "y": 1},
|
||||||
|
{"label": "K105", "matrix": [1, 5], "x": 5.75, "y": 1},
|
||||||
|
{"label": "K106", "matrix": [1, 6], "x": 6.75, "y": 1},
|
||||||
|
{"label": "K107", "matrix": [1, 7], "x": 7.75, "y": 1},
|
||||||
|
{"label": "K108", "matrix": [1, 8], "x": 8.75, "y": 1},
|
||||||
|
{"label": "K109", "matrix": [1, 9], "x": 9.75, "y": 1},
|
||||||
|
{"label": "K10A", "matrix": [1, 10], "x": 10.75, "y": 1},
|
||||||
|
{"label": "K10B", "matrix": [1, 11], "x": 11.75, "y": 1},
|
||||||
|
{"label": "K10C", "matrix": [1, 12], "x": 12.75, "y": 1},
|
||||||
|
{"label": "K10D", "matrix": [1, 13], "x": 13.75, "y": 1},
|
||||||
|
{"label": "K10E", "matrix": [1, 14], "x": 14.75, "y": 1},
|
||||||
|
{"label": "K110", "matrix": [1, 16], "x": 15.75, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K111", "matrix": [1, 17], "x": 17.25, "y": 1},
|
||||||
|
{"label": "K200", "matrix": [2, 0], "x": 0, "y": 2},
|
||||||
|
{"label": "K201", "matrix": [2, 1], "x": 1, "y": 2},
|
||||||
|
{"label": "K202", "matrix": [2, 2], "x": 2.25, "y": 2, "w": 1.75},
|
||||||
|
{"label": "K203", "matrix": [2, 3], "x": 4, "y": 2},
|
||||||
|
{"label": "K204", "matrix": [2, 4], "x": 5, "y": 2},
|
||||||
|
{"label": "K205", "matrix": [2, 5], "x": 6, "y": 2},
|
||||||
|
{"label": "K206", "matrix": [2, 6], "x": 7, "y": 2},
|
||||||
|
{"label": "K207", "matrix": [2, 7], "x": 8, "y": 2},
|
||||||
|
{"label": "K208", "matrix": [2, 8], "x": 9, "y": 2},
|
||||||
|
{"label": "K209", "matrix": [2, 9], "x": 10, "y": 2},
|
||||||
|
{"label": "K20A", "matrix": [2, 10], "x": 11, "y": 2},
|
||||||
|
{"label": "K20B", "matrix": [2, 11], "x": 12, "y": 2},
|
||||||
|
{"label": "K20C", "matrix": [2, 12], "x": 13, "y": 2},
|
||||||
|
{"label": "K20D", "matrix": [2, 13], "x": 14, "y": 2},
|
||||||
|
{"label": "K20F", "matrix": [2, 15], "x": 15, "y": 2, "w": 2.25},
|
||||||
|
{"label": "K211", "matrix": [2, 17], "x": 17.25, "y": 2},
|
||||||
|
{"label": "K300", "matrix": [3, 0], "x": 0, "y": 3},
|
||||||
|
{"label": "K301", "matrix": [3, 1], "x": 1, "y": 3},
|
||||||
|
{"label": "K302", "matrix": [3, 2], "x": 2.25, "y": 3, "w": 2.25},
|
||||||
|
{"label": "K304", "matrix": [3, 4], "x": 4.5, "y": 3},
|
||||||
|
{"label": "K305", "matrix": [3, 5], "x": 5.5, "y": 3},
|
||||||
|
{"label": "K306", "matrix": [3, 6], "x": 6.5, "y": 3},
|
||||||
|
{"label": "K307", "matrix": [3, 7], "x": 7.5, "y": 3},
|
||||||
|
{"label": "K308", "matrix": [3, 8], "x": 8.5, "y": 3},
|
||||||
|
{"label": "K309", "matrix": [3, 9], "x": 9.5, "y": 3},
|
||||||
|
{"label": "K30A", "matrix": [3, 10], "x": 10.5, "y": 3},
|
||||||
|
{"label": "K30B", "matrix": [3, 11], "x": 11.5, "y": 3},
|
||||||
|
{"label": "K30C", "matrix": [3, 12], "x": 12.5, "y": 3},
|
||||||
|
{"label": "K30D", "matrix": [3, 13], "x": 13.5, "y": 3},
|
||||||
|
{"label": "K30E", "matrix": [3, 14], "x": 14.5, "y": 3, "w": 1.75},
|
||||||
|
{"label": "K310", "matrix": [3, 16], "x": 16.25, "y": 3},
|
||||||
|
{"label": "K311", "matrix": [3, 17], "x": 17.25, "y": 3},
|
||||||
|
{"label": "K400", "matrix": [4, 0], "x": 0, "y": 4},
|
||||||
|
{"label": "K401", "matrix": [4, 1], "x": 1, "y": 4},
|
||||||
|
{"label": "K402", "matrix": [4, 2], "x": 2.25, "y": 4, "w": 1.25},
|
||||||
|
{"label": "K403", "matrix": [4, 3], "x": 3.5, "y": 4, "w": 1.25},
|
||||||
|
{"label": "K404", "matrix": [4, 4], "x": 4.75, "y": 4, "w": 1.25},
|
||||||
|
{"label": "K408", "matrix": [4, 8], "x": 6, "y": 4, "w": 6.25},
|
||||||
|
{"label": "K40C", "matrix": [4, 12], "x": 12.25, "y": 4},
|
||||||
|
{"label": "K40D", "matrix": [4, 13], "x": 13.25, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K40E", "matrix": [4, 14], "x": 15.25, "y": 4},
|
||||||
|
{"label": "K410", "matrix": [4, 16], "x": 16.25, "y": 4},
|
||||||
|
{"label": "K411", "matrix": [4, 17], "x": 17.25, "y": 4}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LAYOUT_split_7u": {
|
||||||
|
"layout": [
|
||||||
|
{"label": "K000", "matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{"label": "K001", "matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
{"label": "K002", "matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
|
{"label": "K003", "matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
|
{"label": "K004", "matrix": [0, 4], "x": 4.25, "y": 0},
|
||||||
|
{"label": "K005", "matrix": [0, 5], "x": 5.25, "y": 0},
|
||||||
|
{"label": "K006", "matrix": [0, 6], "x": 6.25, "y": 0},
|
||||||
|
{"label": "K007", "matrix": [0, 7], "x": 7.25, "y": 0},
|
||||||
|
{"label": "K008", "matrix": [0, 8], "x": 8.25, "y": 0},
|
||||||
|
{"label": "K009", "matrix": [0, 9], "x": 9.25, "y": 0},
|
||||||
|
{"label": "K00A", "matrix": [0, 10], "x": 10.25, "y": 0},
|
||||||
|
{"label": "K00B", "matrix": [0, 11], "x": 11.25, "y": 0},
|
||||||
|
{"label": "K00C", "matrix": [0, 12], "x": 12.25, "y": 0},
|
||||||
|
{"label": "K00D", "matrix": [0, 13], "x": 13.25, "y": 0},
|
||||||
|
{"label": "K00E", "matrix": [0, 14], "x": 14.25, "y": 0},
|
||||||
|
{"label": "K00F", "matrix": [0, 15], "x": 15.25, "y": 0},
|
||||||
|
{"label": "K010", "matrix": [0, 16], "x": 16.25, "y": 0},
|
||||||
|
{"label": "K011", "matrix": [0, 17], "x": 17.25, "y": 0},
|
||||||
|
{"label": "K100", "matrix": [1, 0], "x": 0, "y": 1},
|
||||||
|
{"label": "K101", "matrix": [1, 1], "x": 1, "y": 1},
|
||||||
|
{"label": "K102", "matrix": [1, 2], "x": 2.25, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K103", "matrix": [1, 3], "x": 3.75, "y": 1},
|
||||||
|
{"label": "K104", "matrix": [1, 4], "x": 4.75, "y": 1},
|
||||||
|
{"label": "K105", "matrix": [1, 5], "x": 5.75, "y": 1},
|
||||||
|
{"label": "K106", "matrix": [1, 6], "x": 6.75, "y": 1},
|
||||||
|
{"label": "K107", "matrix": [1, 7], "x": 7.75, "y": 1},
|
||||||
|
{"label": "K108", "matrix": [1, 8], "x": 8.75, "y": 1},
|
||||||
|
{"label": "K109", "matrix": [1, 9], "x": 9.75, "y": 1},
|
||||||
|
{"label": "K10A", "matrix": [1, 10], "x": 10.75, "y": 1},
|
||||||
|
{"label": "K10B", "matrix": [1, 11], "x": 11.75, "y": 1},
|
||||||
|
{"label": "K10C", "matrix": [1, 12], "x": 12.75, "y": 1},
|
||||||
|
{"label": "K10D", "matrix": [1, 13], "x": 13.75, "y": 1},
|
||||||
|
{"label": "K10E", "matrix": [1, 14], "x": 14.75, "y": 1},
|
||||||
|
{"label": "K110", "matrix": [1, 16], "x": 15.75, "y": 1, "w": 1.5},
|
||||||
|
{"label": "K111", "matrix": [1, 17], "x": 17.25, "y": 1},
|
||||||
|
{"label": "K200", "matrix": [2, 0], "x": 0, "y": 2},
|
||||||
|
{"label": "K201", "matrix": [2, 1], "x": 1, "y": 2},
|
||||||
|
{"label": "K202", "matrix": [2, 2], "x": 2.25, "y": 2, "w": 1.75},
|
||||||
|
{"label": "K203", "matrix": [2, 3], "x": 4, "y": 2},
|
||||||
|
{"label": "K204", "matrix": [2, 4], "x": 5, "y": 2},
|
||||||
|
{"label": "K205", "matrix": [2, 5], "x": 6, "y": 2},
|
||||||
|
{"label": "K206", "matrix": [2, 6], "x": 7, "y": 2},
|
||||||
|
{"label": "K207", "matrix": [2, 7], "x": 8, "y": 2},
|
||||||
|
{"label": "K208", "matrix": [2, 8], "x": 9, "y": 2},
|
||||||
|
{"label": "K209", "matrix": [2, 9], "x": 10, "y": 2},
|
||||||
|
{"label": "K20A", "matrix": [2, 10], "x": 11, "y": 2},
|
||||||
|
{"label": "K20B", "matrix": [2, 11], "x": 12, "y": 2},
|
||||||
|
{"label": "K20C", "matrix": [2, 12], "x": 13, "y": 2},
|
||||||
|
{"label": "K20D", "matrix": [2, 13], "x": 14, "y": 2},
|
||||||
|
{"label": "K20F", "matrix": [2, 15], "x": 15, "y": 2, "w": 2.25},
|
||||||
|
{"label": "K211", "matrix": [2, 17], "x": 17.25, "y": 2},
|
||||||
|
{"label": "K300", "matrix": [3, 0], "x": 0, "y": 3},
|
||||||
|
{"label": "K301", "matrix": [3, 1], "x": 1, "y": 3},
|
||||||
|
{"label": "K302", "matrix": [3, 2], "x": 2.25, "y": 3, "w": 2.25},
|
||||||
|
{"label": "K304", "matrix": [3, 4], "x": 4.5, "y": 3},
|
||||||
|
{"label": "K305", "matrix": [3, 5], "x": 5.5, "y": 3},
|
||||||
|
{"label": "K306", "matrix": [3, 6], "x": 6.5, "y": 3},
|
||||||
|
{"label": "K307", "matrix": [3, 7], "x": 7.5, "y": 3},
|
||||||
|
{"label": "K308", "matrix": [3, 8], "x": 8.5, "y": 3},
|
||||||
|
{"label": "K309", "matrix": [3, 9], "x": 9.5, "y": 3},
|
||||||
|
{"label": "K30A", "matrix": [3, 10], "x": 10.5, "y": 3},
|
||||||
|
{"label": "K30B", "matrix": [3, 11], "x": 11.5, "y": 3},
|
||||||
|
{"label": "K30C", "matrix": [3, 12], "x": 12.5, "y": 3},
|
||||||
|
{"label": "K30D", "matrix": [3, 13], "x": 13.5, "y": 3},
|
||||||
|
{"label": "K30E", "matrix": [3, 14], "x": 14.5, "y": 3, "w": 1.75},
|
||||||
|
{"label": "K310", "matrix": [3, 16], "x": 16.25, "y": 3},
|
||||||
|
{"label": "K311", "matrix": [3, 17], "x": 17.25, "y": 3},
|
||||||
|
{"label": "K400", "matrix": [4, 0], "x": 0, "y": 4},
|
||||||
|
{"label": "K401", "matrix": [4, 1], "x": 1, "y": 4},
|
||||||
|
{"label": "K402", "matrix": [4, 2], "x": 2.25, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K403", "matrix": [4, 3], "x": 3.75, "y": 4},
|
||||||
|
{"label": "K404", "matrix": [4, 4], "x": 4.75, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K408", "matrix": [4, 8], "x": 6.25, "y": 4, "w": 7},
|
||||||
|
{"label": "K40D", "matrix": [4, 13], "x": 13.25, "y": 4, "w": 1.5},
|
||||||
|
{"label": "K40E", "matrix": [4, 14], "x": 15.25, "y": 4},
|
||||||
|
{"label": "K410", "matrix": [4, 16], "x": 16.25, "y": 4},
|
||||||
|
{"label": "K411", "matrix": [4, 17], "x": 17.25, "y": 4}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
27
keyboards/viktus/styrka_topre/keymaps/default/keymap.c
Normal file
27
keyboards/viktus/styrka_topre/keymaps/default/keymap.c
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/* Copyright 2023 Viktus Design LLC
|
||||||
|
*
|
||||||
|
* 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] = {
|
||||||
|
[0] = LAYOUT_2u_7u(
|
||||||
|
KC_F1, KC_F2, KC_ESC, 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_F3, KC_F4, 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_PGUP,
|
||||||
|
KC_F5, KC_F6, 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_PGDN,
|
||||||
|
KC_F7, KC_F8, 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_UP, KC_END,
|
||||||
|
KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
|
)
|
||||||
|
};
|
27
keyboards/viktus/styrka_topre/keymaps/via/keymap.c
Normal file
27
keyboards/viktus/styrka_topre/keymaps/via/keymap.c
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/* Copyright 2023 Viktus Design LLC
|
||||||
|
*
|
||||||
|
* 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] = {
|
||||||
|
[0] = LAYOUT_2u_7u(
|
||||||
|
KC_F1, KC_F2, KC_ESC, 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_F3, KC_F4, 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_PGUP,
|
||||||
|
KC_F5, KC_F6, 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_PGDN,
|
||||||
|
KC_F7, KC_F8, 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_UP, KC_END,
|
||||||
|
KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||||
|
)
|
||||||
|
};
|
1
keyboards/viktus/styrka_topre/keymaps/via/rules.mk
Normal file
1
keyboards/viktus/styrka_topre/keymaps/via/rules.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
VIA_ENABLE = yes
|
27
keyboards/viktus/styrka_topre/readme.md
Normal file
27
keyboards/viktus/styrka_topre/readme.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Styrka - Topre
|
||||||
|
|
||||||
|
![Styrka - Topre](https://i.imgur.com/ZQzkL4hh.png)
|
||||||
|
|
||||||
|
A topre PCB for the Viktus Styrka
|
||||||
|
|
||||||
|
- Keyboard Maintainer: BlindAssassin111
|
||||||
|
- Hardware Supported: Styrka Topre PCB
|
||||||
|
- Hardware Availability: Viktus Design LLC
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make viktus/styrka_topre:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make viktus/styrka_topre: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
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user