Skip to content

Commit

Permalink
refactor: keyboard/ncr80/r2 (qmk#22670)
Browse files Browse the repository at this point in the history
Co-authored-by: Duncan Sutherland <[email protected]>
  • Loading branch information
lesshonor and dunk2k authored Jul 27, 2024
1 parent b3d8d56 commit 938837e
Show file tree
Hide file tree
Showing 20 changed files with 1,411 additions and 635 deletions.
6 changes: 6 additions & 0 deletions data/mappings/keyboard_aliases.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,12 @@
"mt980": {
"target": "mt/mt980"
},
"mt/ncr80/hotswap": {
"target": "mt/ncr80/r2/hotswap"
},
"mt/ncr80/solder": {
"target": "mt/ncr80/r2/solder"
},
"nafuda": {
"target": "salicylic_acid3/nafuda"
},
Expand Down
150 changes: 0 additions & 150 deletions keyboards/mt/ncr80/hotswap/keyboard.json

This file was deleted.

49 changes: 0 additions & 49 deletions keyboards/mt/ncr80/hotswap/keymaps/via/keymap.c

This file was deleted.

31 changes: 0 additions & 31 deletions keyboards/mt/ncr80/hotswap/readme.md

This file was deleted.

8 changes: 8 additions & 0 deletions keyboards/mt/ncr80/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"manufacturer": "MT",
"keyboard_name": "NCR-80",
"maintainer": "qmk",
"usb": {
"vid": "0x4D54"
}
}
122 changes: 122 additions & 0 deletions keyboards/mt/ncr80/r2/hotswap/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true
},
"rgblight": {
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"rgb_test": true,
"snake": true,
"static_gradient": true,
"twinkle": true
},
"brightness_steps": 8,
"led_count": 81,
"max_brightness": 180,
"saturation_steps": 8
},
"url": "https://www.aliexpress.com/item/1005003345941543.html",
"usb": {
"device_version": "0.0.1",
"pid": "0x2002"
},
"ws2812": {
"pin": "E2"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "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.5, "y": 0},
{"matrix": [0, 7], "x": 7.5, "y": 0},
{"matrix": [0, 8], "x": 8.5, "y": 0},
{"matrix": [6, 8], "x": 9.5, "y": 0},
{"matrix": [6, 7], "x": 11, "y": 0},
{"matrix": [6, 5], "x": 12, "y": 0},
{"matrix": [6, 4], "x": 13, "y": 0},
{"matrix": [6, 3], "x": 14, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.5},
{"matrix": [1, 2], "x": 2, "y": 1.5},
{"matrix": [1, 3], "x": 3, "y": 1.5},
{"matrix": [1, 4], "x": 4, "y": 1.5},
{"matrix": [1, 5], "x": 5, "y": 1.5},
{"matrix": [1, 6], "x": 6, "y": 1.5},
{"matrix": [1, 7], "x": 7, "y": 1.5},
{"matrix": [1, 8], "x": 8, "y": 1.5},
{"matrix": [7, 8], "x": 9, "y": 1.5},
{"matrix": [7, 0], "x": 10, "y": 1.5},
{"matrix": [7, 7], "x": 11, "y": 1.5},
{"matrix": [7, 5], "x": 12, "y": 1.5},
{"matrix": [7, 3], "x": 13, "y": 1.5, "w": 2},
{"matrix": [7, 6], "x": 15.25, "y": 1.5},
{"matrix": [7, 2], "x": 16.25, "y": 1.5},
{"matrix": [7, 1], "x": 17.25, "y": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
{"matrix": [2, 5], "x": 5.5, "y": 2.5},
{"matrix": [2, 6], "x": 6.5, "y": 2.5},
{"matrix": [2, 7], "x": 7.5, "y": 2.5},
{"matrix": [2, 8], "x": 8.5, "y": 2.5},
{"matrix": [8, 8], "x": 9.5, "y": 2.5},
{"matrix": [8, 7], "x": 10.5, "y": 2.5},
{"matrix": [8, 5], "x": 11.5, "y": 2.5},
{"matrix": [8, 4], "x": 12.5, "y": 2.5},
{"matrix": [8, 3], "x": 13.5, "y": 2.5, "w": 1.5},
{"matrix": [8, 6], "x": 15.25, "y": 2.5},
{"matrix": [8, 2], "x": 16.25, "y": 2.5},
{"matrix": [8, 1], "x": 17.25, "y": 2.5},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
{"matrix": [3, 5], "x": 5.75, "y": 3.5},
{"matrix": [3, 6], "x": 6.75, "y": 3.5},
{"matrix": [3, 7], "x": 7.75, "y": 3.5},
{"matrix": [3, 8], "x": 8.75, "y": 3.5},
{"matrix": [9, 8], "x": 9.75, "y": 3.5},
{"matrix": [9, 7], "x": 10.75, "y": 3.5},
{"matrix": [9, 5], "x": 11.75, "y": 3.5},
{"matrix": [9, 3], "x": 12.75, "y": 3.5, "w": 2.25},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25},
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
{"matrix": [4, 5], "x": 5.25, "y": 4.5},
{"matrix": [4, 6], "x": 6.25, "y": 4.5},
{"matrix": [4, 7], "x": 7.25, "y": 4.5},
{"matrix": [4, 8], "x": 8.25, "y": 4.5},
{"matrix": [10, 8], "x": 9.25, "y": 4.5},
{"matrix": [10, 7], "x": 10.25, "y": 4.5},
{"matrix": [10, 5], "x": 11.25, "y": 4.5},
{"matrix": [10, 4], "x": 12.25, "y": 4.5, "w": 2.75},
{"matrix": [9, 2], "x": 16.25, "y": 4.5},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"matrix": [5, 2], "x": 2.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 6], "x": 4, "y": 5.5, "w": 7},
{"matrix": [5, 7], "x": 11, "y": 5.5, "w": 1.5},
{"matrix": [5, 3], "x": 13.5, "y": 5.5, "w": 1.5},
{"matrix": [10, 6], "x": 15.25, "y": 5.5},
{"matrix": [10, 2], "x": 16.25, "y": 5.5},
{"matrix": [10, 1], "x": 17.25, "y": 5.5}
]
}
}
}
Loading

0 comments on commit 938837e

Please sign in to comment.