From 8c3ff3f32c49c649ef6632d10f8fb15ef60d990d Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 4 Mar 2020 09:10:39 +1100 Subject: [Keyboard] LFK78 refactor (#7835) * Change include guards to pragma once * Clean up default keymaps * Remove some magic numbers and use GPIO macros * Clean up keyboard.[ch] * Tidy up info.json and readme * Align config.h with template * Split up revision code into subfolders * rev C-H has no audio, apparently * Change revc_h to revc and document differences * Turn off Audio on revb for now, for Travis' sake * Split info.json into revision folders * Clean up default keymaps some more --- keyboards/lfkeyboards/lfk78/revc/info.json | 392 +++++++++++++++++++++++++++++ 1 file changed, 392 insertions(+) create mode 100644 keyboards/lfkeyboards/lfk78/revc/info.json (limited to 'keyboards/lfkeyboards/lfk78/revc/info.json') diff --git a/keyboards/lfkeyboards/lfk78/revc/info.json b/keyboards/lfkeyboards/lfk78/revc/info.json new file mode 100644 index 0000000000..e895d39a7a --- /dev/null +++ b/keyboards/lfkeyboards/lfk78/revc/info.json @@ -0,0 +1,392 @@ +{ + "keyboard_name": "LFK78/68 Rev C-H", + "url": "", + "maintainer": "qmk", + "width": 19.5, + "height": 5, + "layouts": { + "LAYOUT": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + + {"x":2.25, "y":0}, + {"x":3.25, "y":0}, + {"x":4.25, "y":0}, + {"x":5.25, "y":0}, + {"x":6.25, "y":0}, + {"x":7.25, "y":0}, + {"x":8.25, "y":0}, + {"x":9.25, "y":0}, + {"x":10.25, "y":0}, + {"x":11.25, "y":0}, + {"x":12.25, "y":0}, + {"x":13.25, "y":0}, + {"x":14.25, "y":0}, + {"x":15.25, "y":0, "w":2}, + + {"x":17.5, "y":0}, + {"x":18.5, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + + {"x":2.25, "y":1, "w":1.5}, + {"x":3.75, "y":1}, + {"x":4.75, "y":1}, + {"x":5.75, "y":1}, + {"x":6.75, "y":1}, + {"x":7.75, "y":1}, + {"x":8.75, "y":1}, + {"x":9.75, "y":1}, + {"x":10.75, "y":1}, + {"x":11.75, "y":1}, + {"x":12.75, "y":1}, + {"x":13.75, "y":1}, + {"x":14.75, "y":1}, + {"x":15.75, "y":1, "w":1.5}, + + {"x":17.5, "y":1}, + {"x":18.5, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + + {"x":2.25, "y":2, "w":1.75}, + {"x":4, "y":2}, + {"x":5, "y":2}, + {"x":6, "y":2}, + {"x":7, "y":2}, + {"x":8, "y":2}, + {"x":9, "y":2}, + {"x":10, "y":2}, + {"x":11, "y":2}, + {"x":12, "y":2}, + {"x":13, "y":2}, + {"x":14, "y":2}, + {"x":15, "y":2, "w":2.25}, + + {"x":0, "y":3}, + {"x":1, "y":3}, + + {"x":2.25, "y":3, "w":2.25}, + {"x":4.5, "y":3}, + {"x":5.5, "y":3}, + {"x":6.5, "y":3}, + {"x":7.5, "y":3}, + {"x":8.5, "y":3}, + {"x":9.5, "y":3}, + {"x":10.5, "y":3}, + {"x":11.5, "y":3}, + {"x":12.5, "y":3}, + {"x":13.5, "y":3}, + {"x":14.5, "y":3, "w":2.75}, + + {"x":17.5, "y":3}, + + {"x":0, "y":4}, + {"x":1, "y":4}, + + {"x":2.25, "y":4, "w":1.25}, + {"x":3.5, "y":4, "w":1.25}, + {"x":4.75, "y":4, "w":1.25}, + {"x":6, "y":4, "w":6.25}, + {"x":12.25, "y":4, "w":1.25}, + {"x":13.5, "y":4, "w":1.25}, + {"x":14.75, "y":4, "w":1.25}, + + {"x":16.5, "y":4}, + {"x":17.5, "y":4}, + {"x":18.5, "y":4} + ] + }, + "LAYOUT_split_bs": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + + {"x":2.25, "y":0}, + {"x":3.25, "y":0}, + {"x":4.25, "y":0}, + {"x":5.25, "y":0}, + {"x":6.25, "y":0}, + {"x":7.25, "y":0}, + {"x":8.25, "y":0}, + {"x":9.25, "y":0}, + {"x":10.25, "y":0}, + {"x":11.25, "y":0}, + {"x":12.25, "y":0}, + {"x":13.25, "y":0}, + {"x":14.25, "y":0}, + {"x":15.25, "y":0}, + {"x":16.25, "y":0}, + + {"x":17.5, "y":0}, + {"x":18.5, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + + {"x":2.25, "y":1, "w":1.5}, + {"x":3.75, "y":1}, + {"x":4.75, "y":1}, + {"x":5.75, "y":1}, + {"x":6.75, "y":1}, + {"x":7.75, "y":1}, + {"x":8.75, "y":1}, + {"x":9.75, "y":1}, + {"x":10.75, "y":1}, + {"x":11.75, "y":1}, + {"x":12.75, "y":1}, + {"x":13.75, "y":1}, + {"x":14.75, "y":1}, + {"x":15.75, "y":1, "w":1.5}, + + {"x":17.5, "y":1}, + {"x":18.5, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + + {"x":2.25, "y":2, "w":1.75}, + {"x":4, "y":2}, + {"x":5, "y":2}, + {"x":6, "y":2}, + {"x":7, "y":2}, + {"x":8, "y":2}, + {"x":9, "y":2}, + {"x":10, "y":2}, + {"x":11, "y":2}, + {"x":12, "y":2}, + {"x":13, "y":2}, + {"x":14, "y":2}, + {"x":15, "y":2, "w":2.25}, + + {"x":0, "y":3}, + {"x":1, "y":3}, + + {"x":2.25, "y":3, "w":2.25}, + {"x":4.5, "y":3}, + {"x":5.5, "y":3}, + {"x":6.5, "y":3}, + {"x":7.5, "y":3}, + {"x":8.5, "y":3}, + {"x":9.5, "y":3}, + {"x":10.5, "y":3}, + {"x":11.5, "y":3}, + {"x":12.5, "y":3}, + {"x":13.5, "y":3}, + {"x":14.5, "y":3, "w":2.75}, + + {"x":17.5, "y":3}, + + {"x":0, "y":4}, + {"x":1, "y":4}, + + {"x":2.25, "y":4, "w":1.25}, + {"x":3.5, "y":4, "w":1.25}, + {"x":4.75, "y":4, "w":1.25}, + {"x":6, "y":4, "w":6.25}, + {"x":12.25, "y":4, "w":1.25}, + {"x":13.5, "y":4, "w":1.25}, + {"x":14.75, "y":4, "w":1.25}, + + {"x":16.5, "y":4}, + {"x":17.5, "y":4}, + {"x":18.5, "y":4} + ] + }, + "LAYOUT_split_rshift": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + + {"x":2.25, "y":0}, + {"x":3.25, "y":0}, + {"x":4.25, "y":0}, + {"x":5.25, "y":0}, + {"x":6.25, "y":0}, + {"x":7.25, "y":0}, + {"x":8.25, "y":0}, + {"x":9.25, "y":0}, + {"x":10.25, "y":0}, + {"x":11.25, "y":0}, + {"x":12.25, "y":0}, + {"x":13.25, "y":0}, + {"x":14.25, "y":0}, + {"x":15.25, "y":0, "w":2}, + + {"x":17.5, "y":0}, + {"x":18.5, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + + {"x":2.25, "y":1, "w":1.5}, + {"x":3.75, "y":1}, + {"x":4.75, "y":1}, + {"x":5.75, "y":1}, + {"x":6.75, "y":1}, + {"x":7.75, "y":1}, + {"x":8.75, "y":1}, + {"x":9.75, "y":1}, + {"x":10.75, "y":1}, + {"x":11.75, "y":1}, + {"x":12.75, "y":1}, + {"x":13.75, "y":1}, + {"x":14.75, "y":1}, + {"x":15.75, "y":1, "w":1.5}, + + {"x":17.5, "y":1}, + {"x":18.5, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + + {"x":2.25, "y":2, "w":1.75}, + {"x":4, "y":2}, + {"x":5, "y":2}, + {"x":6, "y":2}, + {"x":7, "y":2}, + {"x":8, "y":2}, + {"x":9, "y":2}, + {"x":10, "y":2}, + {"x":11, "y":2}, + {"x":12, "y":2}, + {"x":13, "y":2}, + {"x":14, "y":2}, + {"x":15, "y":2, "w":2.25}, + + {"x":0, "y":3}, + {"x":1, "y":3}, + + {"x":2.25, "y":3, "w":2.25}, + {"x":4.5, "y":3}, + {"x":5.5, "y":3}, + {"x":6.5, "y":3}, + {"x":7.5, "y":3}, + {"x":8.5, "y":3}, + {"x":9.5, "y":3}, + {"x":10.5, "y":3}, + {"x":11.5, "y":3}, + {"x":12.5, "y":3}, + {"x":13.5, "y":3}, + {"x":14.5, "y":3, "w":1.75}, + {"x":16.25, "y":3}, + + {"x":17.5, "y":3}, + + {"x":0, "y":4}, + {"x":1, "y":4}, + + {"x":2.25, "y":4, "w":1.25}, + {"x":3.5, "y":4, "w":1.25}, + {"x":4.75, "y":4, "w":1.25}, + {"x":6, "y":4, "w":6.25}, + {"x":12.25, "y":4, "w":1.25}, + {"x":13.5, "y":4, "w":1.25}, + {"x":14.75, "y":4, "w":1.25}, + + {"x":16.5, "y":4}, + {"x":17.5, "y":4}, + {"x":18.5, "y":4} + ] + }, + "LAYOUT_iso": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + + {"x":2.25, "y":0}, + {"x":3.25, "y":0}, + {"x":4.25, "y":0}, + {"x":5.25, "y":0}, + {"x":6.25, "y":0}, + {"x":7.25, "y":0}, + {"x":8.25, "y":0}, + {"x":9.25, "y":0}, + {"x":10.25, "y":0}, + {"x":11.25, "y":0}, + {"x":12.25, "y":0}, + {"x":13.25, "y":0}, + {"x":14.25, "y":0}, + {"x":15.25, "y":0, "w":2}, + + {"x":17.5, "y":0}, + {"x":18.5, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + + {"x":2.25, "y":1, "w":1.5}, + {"x":3.75, "y":1}, + {"x":4.75, "y":1}, + {"x":5.75, "y":1}, + {"x":6.75, "y":1}, + {"x":7.75, "y":1}, + {"x":8.75, "y":1}, + {"x":9.75, "y":1}, + {"x":10.75, "y":1}, + {"x":11.75, "y":1}, + {"x":12.75, "y":1}, + {"x":13.75, "y":1}, + {"x":14.75, "y":1}, + {"x":16, "y":1, "w":1.25, "h":2}, + + {"x":17.5, "y":1}, + {"x":18.5, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + + {"x":2.25, "y":2, "w":1.75}, + {"x":4, "y":2}, + {"x":5, "y":2}, + {"x":6, "y":2}, + {"x":7, "y":2}, + {"x":8, "y":2}, + {"x":9, "y":2}, + {"x":10, "y":2}, + {"x":11, "y":2}, + {"x":12, "y":2}, + {"x":13, "y":2}, + {"x":14, "y":2}, + {"x":15, "y":2}, + + {"x":0, "y":3}, + {"x":1, "y":3}, + + {"x":2.25, "y":3, "w":1.25}, + {"x":3.5, "y":3}, + {"x":4.5, "y":3}, + {"x":5.5, "y":3}, + {"x":6.5, "y":3}, + {"x":7.5, "y":3}, + {"x":8.5, "y":3}, + {"x":9.5, "y":3}, + {"x":10.5, "y":3}, + {"x":11.5, "y":3}, + {"x":12.5, "y":3}, + {"x":13.5, "y":3}, + {"x":14.5, "y":3, "w":2.75}, + + {"x":17.5, "y":3}, + + {"x":0, "y":4}, + {"x":1, "y":4}, + + {"x":2.25, "y":4, "w":1.25}, + {"x":3.5, "y":4, "w":1.25}, + {"x":4.75, "y":4, "w":1.25}, + {"x":6, "y":4, "w":6.25}, + {"x":12.25, "y":4, "w":1.25}, + {"x":13.5, "y":4, "w":1.25}, + {"x":14.75, "y":4, "w":1.25}, + + {"x":16.5, "y":4}, + {"x":17.5, "y":4}, + {"x":18.5, "y":4} + ] + } + } +} -- cgit v1.2.3