From 6a7ccb37fc88fa3f7dfd24e01a0ddfcebeabdb10 Mon Sep 17 00:00:00 2001 From: swampmonster <> Date: Fri, 25 Sep 2020 18:43:50 +0200 Subject: [PATCH] Adding support for katana60 rev2 --- src/rominronin/katana60/katana60-rev2.json | 452 +++++++++++++++++++++ 1 file changed, 452 insertions(+) create mode 100644 src/rominronin/katana60/katana60-rev2.json diff --git a/src/rominronin/katana60/katana60-rev2.json b/src/rominronin/katana60/katana60-rev2.json new file mode 100644 index 0000000000..c83732340b --- /dev/null +++ b/src/rominronin/katana60/katana60-rev2.json @@ -0,0 +1,452 @@ +{ + "name":"Katana60 v2", + "vendorId":"0x7272", + "productId":"0xF03B", + "lighting":"none", + "matrix":{ + "rows":5, + "cols":15 + }, + "layouts":{ + "labels":[ + "Normal backspace", + [ + "Bottom Row", + "1 a", + "7u a", + "7u b", + "1 b", + "1 c", + "2 a", + "2 b", + "2 c" + ] + ], + "keymap":[ + [ + { + "x":4, + "c":"#777777" + }, + "0,0", + { + "c":"#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + { + "c":"#777777" + }, + "0,7", + { + "c":"#cccccc" + }, + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c":"#777777" + }, + "0,13\n\n\n0,0", + "0,14\n\n\n0,0", + { + "x":1, + "w":2 + }, + "1,14\n\n\n0,1" + ], + [ + { + "x":4, + "w":1.5 + }, + "1,0", + { + "c":"#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + { + "c":"#777777" + }, + "1,6", + "1,8", + { + "c":"#cccccc" + }, + "1,9", + "1,10", + "1,11", + "1,12", + "1,13", + { + "c":"#777777", + "w":1.5 + }, + "1,14" + ], + [ + { + "x":4, + "c":"#aaaaaa", + "w":1.25 + }, + "2,0", + { + "c":"#cccccc" + }, + "2,1", + "2,2", + "2,3", + { + "n":true + }, + "2,4", + "2,5", + { + "c":"#777777" + }, + "2,6", + { + "x":0.5 + }, + "2,8", + { + "c":"#cccccc" + }, + "2,9", + { + "n":true + }, + "2,10", + "2,11", + "2,12", + "2,13", + { + "c":"#777777", + "w":1.25 + }, + "2,14" + ], + [ + { + "x":4, + "c":"#aaaaaa" + }, + "3,0", + { + "c":"#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + { + "c":"#777777" + }, + "3,6", + "3,7", + "3,8", + { + "c":"#cccccc" + }, + "3,9", + "3,10", + "3,11", + "3,12", + "3,13", + { + "c":"#aaaaaa" + }, + "3,14" + ], + [ + { + "x":4 + }, + "4,0\n\n\n1,0", + { + "w":1.25 + }, + "4,1\n\n\n1,0", + { + "w":1.25 + }, + "4,2\n\n\n1,0", + { + "w":1.25 + }, + "4,3\n\n\n1,0", + { + "c":"#777777", + "w":2.25 + }, + "4,4\n\n\n1,0", + "4,7\n\n\n1,0", + { + "w":2 + }, + "4,9\n\n\n1,0", + { + "c":"#aaaaaa" + }, + "4,10\n\n\n1,0", + { + "c":"#777777" + }, + "4,11\n\n\n1,0", + "4,12\n\n\n1,0", + "4,13\n\n\n1,0", + "4,14\n\n\n1,0" + ], + [ + { + "y":1, + "x":4, + "c":"#aaaaaa", + "w":1.5 + }, + "4,1\n\n\n1,1", + "4,2\n\n\n1,1", + { + "w":1.5 + }, + "4,3\n\n\n1,1", + { + "c":"#777777", + "w":7 + }, + "4,7\n\n\n1,1", + "4,11\n\n\n1,1", + "4,12\n\n\n1,1", + "4,13\n\n\n1,1", + "4,14\n\n\n1,1" + ], + [ + { + "y":0.25, + "x":4, + "c":"#aaaaaa", + "w":1.5 + }, + "4,1\n\n\n1,2", + "4,2\n\n\n1,2", + { + "w":1.5 + }, + "4,3\n\n\n1,2", + { + "c":"#777777", + "w":7 + }, + "4,7\n\n\n1,2", + { + "c":"#aaaaaa", + "w":1.5 + }, + "1,7\n\n\n1,2", + "2,7\n\n\n1,2", + { + "w":1.5 + }, + "4,8\n\n\n1,2" + ], + [ + { + "y":0.75, + "x":4 + }, + "4,0\n\n\n1,3", + { + "w":1.25 + }, + "4,1\n\n\n1,3", + { + "w":1.25 + }, + "4,2\n\n\n1,3", + { + "w":1.25 + }, + "4,3\n\n\n1,3", + { + "c":"#777777", + "w":2.25 + }, + "4,4\n\n\n1,3", + "4,7\n\n\n1,3", + { + "w":2.75 + }, + "4,9\n\n\n1,3", + { + "c":"#aaaaaa", + "w":2 + }, + "1,7\n\n\n1,3", + { + "w":2.25 + }, + "4,8\n\n\n1,3" + ], + [ + { + "y":0.25, + "x":4 + }, + "4,0\n\n\n1,4", + { + "w":1.25 + }, + "4,1\n\n\n1,4", + { + "w":1.25 + }, + "4,2\n\n\n1,4", + { + "w":1.25 + }, + "4,3\n\n\n1,4", + { + "c":"#777777", + "w":2.25 + }, + "4,4\n\n\n1,4", + "4,7\n\n\n1,4", + { + "w":2 + }, + "4,9\n\n\n1,4", + { + "c":"#aaaaaa", + "w":1.5 + }, + "4,5\n\n\n1,4", + { + "w":1.25 + }, + "2,7\n\n\n1,4", + { + "w":2.25 + }, + "4,8\n\n\n1,4" + ], + [ + { + "y":0.75, + "x":4, + "w":1.5 + }, + "4,1\n\n\n1,5", + { + "w":1.25 + }, + "4,2\n\n\n1,5", + { + "w":1.5 + }, + "4,3\n\n\n1,5", + { + "c":"#777777", + "w":2.75 + }, + "4,4\n\n\n1,5", + "4,7\n\n\n1,5", + { + "w":2 + }, + "4,9\n\n\n1,5", + "4,10\n\n\n1,5", + "4,11\n\n\n1,5", + "4,12\n\n\n1,5", + "4,13\n\n\n1,5", + "4,14\n\n\n1,5" + ], + [ + { + "y":0.25, + "x":4, + "c":"#aaaaaa", + "w":1.5 + }, + "4,1\n\n\n1,6", + { + "w":1.25 + }, + "4,2\n\n\n1,6", + { + "w":1.5 + }, + "4,3\n\n\n1,6", + { + "c":"#777777", + "w":2.75 + }, + "4,4\n\n\n1,6", + "4,7\n\n\n1,6", + { + "w":2.75 + }, + "4,9\n\n\n1,6", + { + "c":"#aaaaaa", + "w":2 + }, + "1,7\n\n\n1,6", + { + "w":2.25 + }, + "4,8\n\n\n1,6" + ], + [ + { + "y":0.25, + "x":4, + "w":1.5 + }, + "4,1\n\n\n1,7", + { + "w":1.25 + }, + "4,2\n\n\n1,7", + { + "w":1.5 + }, + "4,3\n\n\n1,7", + { + "c":"#777777", + "w":2.75 + }, + "4,4\n\n\n1,7", + "4,7\n\n\n1,7", + { + "w":2 + }, + "4,9\n\n\n1,7", + { + "c":"#aaaaaa", + "w":1.5 + }, + "4,5\n\n\n1,7", + { + "w":1.25 + }, + "2,7\n\n\n1,7", + { + "w":2.25 + }, + "4,8\n\n\n1,7" + ] + ] + } +}