diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-20 10:48:38 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 01:48:38 +0100 |
commit | 201f1a8f47570c83569d1b0f4851b2fddf996fe7 (patch) | |
tree | 9b464f4ea08318d9efa787d92ee6ec4b5f0b70c6 /keyboards/salicylic_acid3/setta21/rev1 | |
parent | f4dcce7e5975276ef41d882a15e6a459b6b3689d (diff) |
Move keyboard USB IDs and strings to data driven, pass 2: S-Y (#18093)
Diffstat (limited to 'keyboards/salicylic_acid3/setta21/rev1')
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rev1/info.json | 43 |
2 files changed, 43 insertions, 7 deletions
diff --git a/keyboards/salicylic_acid3/setta21/rev1/config.h b/keyboards/salicylic_acid3/setta21/rev1/config.h index 742a8d73d0..697e7a7d49 100644 --- a/keyboards/salicylic_acid3/setta21/rev1/config.h +++ b/keyboards/salicylic_acid3/setta21/rev1/config.h @@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x3060 -#define DEVICE_VER 0x0011 -#define MANUFACTURER Salicylic_Acid -#define PRODUCT setta21 - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 6 diff --git a/keyboards/salicylic_acid3/setta21/rev1/info.json b/keyboards/salicylic_acid3/setta21/rev1/info.json new file mode 100644 index 0000000000..aa101e7a13 --- /dev/null +++ b/keyboards/salicylic_acid3/setta21/rev1/info.json @@ -0,0 +1,43 @@ +{ + "keyboard_name": "setta21", + "manufacturer": "Salicylic_Acid", + "url": "https://salicylic-acid3.hatenablog.com/", + "maintainer": "Salicylic_acid3", + "usb": { + "vid": "0xFEED", + "pid": "0x3060", + "device_version": "0.1.1" + }, + "layouts": { + "LAYOUT_numpad_6x4": { + "layout": [ + {"label":"ESC", "x":0, "y":0}, + {"label":"F2", "x":1, "y":0}, + {"label":"\uff1d", "x":2, "y":0}, + {"label":"Del", "x":3, "y":0}, + + {"label":"Num Lock", "x":0, "y":1.25}, + {"label":"/", "x":1, "y":1.25}, + {"label":"*", "x":2, "y":1.25}, + {"label":"-", "x":3, "y":1.25}, + + {"label":"7", "x":0, "y":2.25}, + {"label":"8", "x":1, "y":2.25}, + {"label":"9", "x":2, "y":2.25}, + + {"label":"4", "x":0, "y":3.25}, + {"label":"5", "x":1, "y":3.25}, + {"label":"6", "x":2, "y":3.25}, + {"label":"+", "x":3, "y":2.25, "h":2}, + + {"label":"1", "x":0, "y":4.25}, + {"label":"2", "x":1, "y":4.25}, + {"label":"3", "x":2, "y":4.25}, + + {"label":"0", "x":0, "y":5.25, "w":2}, + {"label":".", "x":2, "y":5.25}, + {"label":"Enter", "x":3, "y":4.25, "h":2} + ] + } + } +} |