diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json deleted file mode 100644 index 209266ad102..00000000000 --- a/keyboards/smithrune/iron165r2/f072/info.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "backlight": { - "pin": "A6", - "levels": 20, - "breathing": true - }, - "rgblight": { - "led_count": 22, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "ws2812": { - "pin": "B15" - }, - "processor": "STM32F072", - "bootloader": "stm32-dfu" -} diff --git a/keyboards/smithrune/iron165r2/f072/rules.mk b/keyboards/smithrune/iron165r2/f072/rules.mk deleted file mode 100644 index b524e61f4bb..00000000000 --- a/keyboards/smithrune/iron165r2/f072/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # USB Nkey Rollover -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = no -ENCODER_ENABLE = no -BACKLIGHT_ENABLE = yes - diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json deleted file mode 100644 index 72547e955e6..00000000000 --- a/keyboards/smithrune/iron165r2/f411/info.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "eeprom": { - "driver": "i2c" - }, - "backlight": { - "pin": "A6", - "levels": 20, - "breathing": true - }, - "rgblight": { - "led_count": 22, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "ws2812": { - "pin": "B15", - "driver": "pwm" - }, - "processor": "STM32F411", - "bootloader": "stm32-dfu" -} diff --git a/keyboards/smithrune/iron165r2/f411/rules.mk b/keyboards/smithrune/iron165r2/f411/rules.mk deleted file mode 100644 index f5a58ab0cb7..00000000000 --- a/keyboards/smithrune/iron165r2/f411/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # USB Nkey Rollover -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = no -ENCODER_ENABLE = no -BACKLIGHT_ENABLE = yes diff --git a/keyboards/smithrune/iron165r2/info.json b/keyboards/smithrune/iron165r2/info.json deleted file mode 100644 index cff9a97cb79..00000000000 --- a/keyboards/smithrune/iron165r2/info.json +++ /dev/null @@ -1,399 +0,0 @@ -{ - "keyboard_name": "Iron165R2", - "manufacturer": "SmithRune", - "url": "", - "maintainer": "Gondolindrim", - "usb": { - "vid": "0x8384", - "pid": "0x1652", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A3", "B8", "B9", "B1", "B0", "B5", "B4", "B3", "A15", "A8", "A1", "A0", "C15", "C14", "C13"], - "rows": ["B10", "A10", "A2", "A5", "A7"] - }, - "diode_direction": "COL2ROW", - "indicators": { - "caps_lock": "A4" - }, - "layouts": { - "LAYOUT_all": { - "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": [0, 14], "x": 14, "y": 0}, - {"matrix": [4, 14], "x": 15, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, - {"matrix": [1, 1], "x": 1.5, "y": 1}, - {"matrix": [1, 2], "x": 2.5, "y": 1}, - {"matrix": [1, 3], "x": 3.5, "y": 1}, - {"matrix": [1, 4], "x": 4.5, "y": 1}, - {"matrix": [1, 5], "x": 5.5, "y": 1}, - {"matrix": [1, 6], "x": 6.5, "y": 1}, - {"matrix": [1, 7], "x": 7.5, "y": 1}, - {"matrix": [1, 8], "x": 8.5, "y": 1}, - {"matrix": [1, 9], "x": 9.5, "y": 1}, - {"matrix": [1, 10], "x": 10.5, "y": 1}, - {"matrix": [1, 11], "x": 11.5, "y": 1}, - {"matrix": [1, 12], "x": 12.5, "y": 1}, - {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, - {"matrix": [1, 14], "x": 15, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, - {"matrix": [2, 1], "x": 1.75, "y": 2}, - {"matrix": [2, 2], "x": 2.75, "y": 2}, - {"matrix": [2, 3], "x": 3.75, "y": 2}, - {"matrix": [2, 4], "x": 4.75, "y": 2}, - {"matrix": [2, 5], "x": 5.75, "y": 2}, - {"matrix": [2, 6], "x": 6.75, "y": 2}, - {"matrix": [2, 7], "x": 7.75, "y": 2}, - {"matrix": [2, 8], "x": 8.75, "y": 2}, - {"matrix": [2, 9], "x": 9.75, "y": 2}, - {"matrix": [2, 10], "x": 10.75, "y": 2}, - {"matrix": [2, 11], "x": 11.75, "y": 2}, - {"matrix": [2, 12], "x": 12.75, "y": 2}, - {"matrix": [2, 13], "x": 13.75, "y": 2, "w": 1.25}, - {"matrix": [2, 14], "x": 15, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, - {"matrix": [3, 1], "x": 1.25, "y": 3}, - {"matrix": [3, 2], "x": 2.25, "y": 3}, - {"matrix": [3, 3], "x": 3.25, "y": 3}, - {"matrix": [3, 4], "x": 4.25, "y": 3}, - {"matrix": [3, 5], "x": 5.25, "y": 3}, - {"matrix": [3, 6], "x": 6.25, "y": 3}, - {"matrix": [3, 7], "x": 7.25, "y": 3}, - {"matrix": [3, 8], "x": 8.25, "y": 3}, - {"matrix": [3, 9], "x": 9.25, "y": 3}, - {"matrix": [3, 10], "x": 10.25, "y": 3}, - {"matrix": [3, 11], "x": 11.25, "y": 3}, - {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, - {"matrix": [3, 13], "x": 14, "y": 3}, - {"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, "w": 1.25}, - {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, - {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, - {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25}, - {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 12], "x": 14, "y": 4}, - {"matrix": [4, 13], "x": 15, "y": 4} - ] - }, - "LAYOUT_65_ansi_cb_blocker": { - "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, "w": 2}, - - {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, - {"matrix": [1, 1], "x": 1.5, "y": 1}, - {"matrix": [1, 2], "x": 2.5, "y": 1}, - {"matrix": [1, 3], "x": 3.5, "y": 1}, - {"matrix": [1, 4], "x": 4.5, "y": 1}, - {"matrix": [1, 5], "x": 5.5, "y": 1}, - {"matrix": [1, 6], "x": 6.5, "y": 1}, - {"matrix": [1, 7], "x": 7.5, "y": 1}, - {"matrix": [1, 8], "x": 8.5, "y": 1}, - {"matrix": [1, 9], "x": 9.5, "y": 1}, - {"matrix": [1, 10], "x": 10.5, "y": 1}, - {"matrix": [1, 11], "x": 11.5, "y": 1}, - {"matrix": [1, 12], "x": 12.5, "y": 1}, - {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, - {"matrix": [1, 14], "x": 15, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, - {"matrix": [2, 1], "x": 1.75, "y": 2}, - {"matrix": [2, 2], "x": 2.75, "y": 2}, - {"matrix": [2, 3], "x": 3.75, "y": 2}, - {"matrix": [2, 4], "x": 4.75, "y": 2}, - {"matrix": [2, 5], "x": 5.75, "y": 2}, - {"matrix": [2, 6], "x": 6.75, "y": 2}, - {"matrix": [2, 7], "x": 7.75, "y": 2}, - {"matrix": [2, 8], "x": 8.75, "y": 2}, - {"matrix": [2, 9], "x": 9.75, "y": 2}, - {"matrix": [2, 10], "x": 10.75, "y": 2}, - {"matrix": [2, 11], "x": 11.75, "y": 2}, - {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, - {"matrix": [2, 14], "x": 15, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, - {"matrix": [3, 2], "x": 2.25, "y": 3}, - {"matrix": [3, 3], "x": 3.25, "y": 3}, - {"matrix": [3, 4], "x": 4.25, "y": 3}, - {"matrix": [3, 5], "x": 5.25, "y": 3}, - {"matrix": [3, 6], "x": 6.25, "y": 3}, - {"matrix": [3, 7], "x": 7.25, "y": 3}, - {"matrix": [3, 8], "x": 8.25, "y": 3}, - {"matrix": [3, 9], "x": 9.25, "y": 3}, - {"matrix": [3, 10], "x": 10.25, "y": 3}, - {"matrix": [3, 11], "x": 11.25, "y": 3}, - {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, - {"matrix": [3, 13], "x": 14, "y": 3}, - {"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, "w": 1.25}, - {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, - {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, - {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25}, - {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 12], "x": 14, "y": 4}, - {"matrix": [4, 13], "x": 15, "y": 4} - ] - }, - "LAYOUT_65_ansi_blocker": { - "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, "w": 2}, - {"matrix": [4, 14], "x": 15, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, - {"matrix": [1, 1], "x": 1.5, "y": 1}, - {"matrix": [1, 2], "x": 2.5, "y": 1}, - {"matrix": [1, 3], "x": 3.5, "y": 1}, - {"matrix": [1, 4], "x": 4.5, "y": 1}, - {"matrix": [1, 5], "x": 5.5, "y": 1}, - {"matrix": [1, 6], "x": 6.5, "y": 1}, - {"matrix": [1, 7], "x": 7.5, "y": 1}, - {"matrix": [1, 8], "x": 8.5, "y": 1}, - {"matrix": [1, 9], "x": 9.5, "y": 1}, - {"matrix": [1, 10], "x": 10.5, "y": 1}, - {"matrix": [1, 11], "x": 11.5, "y": 1}, - {"matrix": [1, 12], "x": 12.5, "y": 1}, - {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, - {"matrix": [1, 14], "x": 15, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, - {"matrix": [2, 1], "x": 1.75, "y": 2}, - {"matrix": [2, 2], "x": 2.75, "y": 2}, - {"matrix": [2, 3], "x": 3.75, "y": 2}, - {"matrix": [2, 4], "x": 4.75, "y": 2}, - {"matrix": [2, 5], "x": 5.75, "y": 2}, - {"matrix": [2, 6], "x": 6.75, "y": 2}, - {"matrix": [2, 7], "x": 7.75, "y": 2}, - {"matrix": [2, 8], "x": 8.75, "y": 2}, - {"matrix": [2, 9], "x": 9.75, "y": 2}, - {"matrix": [2, 10], "x": 10.75, "y": 2}, - {"matrix": [2, 11], "x": 11.75, "y": 2}, - {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, - {"matrix": [2, 14], "x": 15, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, - {"matrix": [3, 2], "x": 2.25, "y": 3}, - {"matrix": [3, 3], "x": 3.25, "y": 3}, - {"matrix": [3, 4], "x": 4.25, "y": 3}, - {"matrix": [3, 5], "x": 5.25, "y": 3}, - {"matrix": [3, 6], "x": 6.25, "y": 3}, - {"matrix": [3, 7], "x": 7.25, "y": 3}, - {"matrix": [3, 8], "x": 8.25, "y": 3}, - {"matrix": [3, 9], "x": 9.25, "y": 3}, - {"matrix": [3, 10], "x": 10.25, "y": 3}, - {"matrix": [3, 11], "x": 11.25, "y": 3}, - {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, - {"matrix": [3, 13], "x": 14, "y": 3}, - {"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, "w": 1.25}, - {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, - {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, - {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25}, - {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 12], "x": 14, "y": 4}, - {"matrix": [4, 13], "x": 15, "y": 4} - ] - }, - "LAYOUT_65_iso_cb_blocker": { - "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, "w": 2}, - - {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, - {"matrix": [1, 1], "x": 1.5, "y": 1}, - {"matrix": [1, 2], "x": 2.5, "y": 1}, - {"matrix": [1, 3], "x": 3.5, "y": 1}, - {"matrix": [1, 4], "x": 4.5, "y": 1}, - {"matrix": [1, 5], "x": 5.5, "y": 1}, - {"matrix": [1, 6], "x": 6.5, "y": 1}, - {"matrix": [1, 7], "x": 7.5, "y": 1}, - {"matrix": [1, 8], "x": 8.5, "y": 1}, - {"matrix": [1, 9], "x": 9.5, "y": 1}, - {"matrix": [1, 10], "x": 10.5, "y": 1}, - {"matrix": [1, 11], "x": 11.5, "y": 1}, - {"matrix": [1, 12], "x": 12.5, "y": 1}, - {"matrix": [1, 14], "x": 15, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, - {"matrix": [2, 1], "x": 1.75, "y": 2}, - {"matrix": [2, 2], "x": 2.75, "y": 2}, - {"matrix": [2, 3], "x": 3.75, "y": 2}, - {"matrix": [2, 4], "x": 4.75, "y": 2}, - {"matrix": [2, 5], "x": 5.75, "y": 2}, - {"matrix": [2, 6], "x": 6.75, "y": 2}, - {"matrix": [2, 7], "x": 7.75, "y": 2}, - {"matrix": [2, 8], "x": 8.75, "y": 2}, - {"matrix": [2, 9], "x": 9.75, "y": 2}, - {"matrix": [2, 10], "x": 10.75, "y": 2}, - {"matrix": [2, 11], "x": 11.75, "y": 2}, - {"matrix": [2, 12], "x": 12.75, "y": 2}, - {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, - {"matrix": [2, 14], "x": 15, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, - {"matrix": [3, 1], "x": 1.25, "y": 3}, - {"matrix": [3, 2], "x": 2.25, "y": 3}, - {"matrix": [3, 3], "x": 3.25, "y": 3}, - {"matrix": [3, 4], "x": 4.25, "y": 3}, - {"matrix": [3, 5], "x": 5.25, "y": 3}, - {"matrix": [3, 6], "x": 6.25, "y": 3}, - {"matrix": [3, 7], "x": 7.25, "y": 3}, - {"matrix": [3, 8], "x": 8.25, "y": 3}, - {"matrix": [3, 9], "x": 9.25, "y": 3}, - {"matrix": [3, 10], "x": 10.25, "y": 3}, - {"matrix": [3, 11], "x": 11.25, "y": 3}, - {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, - {"matrix": [3, 13], "x": 14, "y": 3}, - {"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, "w": 1.25}, - {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, - {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, - {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25}, - {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 12], "x": 14, "y": 4}, - {"matrix": [4, 13], "x": 15, "y": 4} - ] - }, - "LAYOUT_65_iso_blocker": { - "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, "w": 2}, - {"matrix": [4, 14], "x": 15, "y": 0}, - - {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, - {"matrix": [1, 1], "x": 1.5, "y": 1}, - {"matrix": [1, 2], "x": 2.5, "y": 1}, - {"matrix": [1, 3], "x": 3.5, "y": 1}, - {"matrix": [1, 4], "x": 4.5, "y": 1}, - {"matrix": [1, 5], "x": 5.5, "y": 1}, - {"matrix": [1, 6], "x": 6.5, "y": 1}, - {"matrix": [1, 7], "x": 7.5, "y": 1}, - {"matrix": [1, 8], "x": 8.5, "y": 1}, - {"matrix": [1, 9], "x": 9.5, "y": 1}, - {"matrix": [1, 10], "x": 10.5, "y": 1}, - {"matrix": [1, 11], "x": 11.5, "y": 1}, - {"matrix": [1, 12], "x": 12.5, "y": 1}, - {"matrix": [1, 14], "x": 15, "y": 1}, - - {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, - {"matrix": [2, 1], "x": 1.75, "y": 2}, - {"matrix": [2, 2], "x": 2.75, "y": 2}, - {"matrix": [2, 3], "x": 3.75, "y": 2}, - {"matrix": [2, 4], "x": 4.75, "y": 2}, - {"matrix": [2, 5], "x": 5.75, "y": 2}, - {"matrix": [2, 6], "x": 6.75, "y": 2}, - {"matrix": [2, 7], "x": 7.75, "y": 2}, - {"matrix": [2, 8], "x": 8.75, "y": 2}, - {"matrix": [2, 9], "x": 9.75, "y": 2}, - {"matrix": [2, 10], "x": 10.75, "y": 2}, - {"matrix": [2, 11], "x": 11.75, "y": 2}, - {"matrix": [2, 12], "x": 12.75, "y": 2}, - {"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, - {"matrix": [2, 14], "x": 15, "y": 2}, - - {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, - {"matrix": [3, 1], "x": 1.25, "y": 3}, - {"matrix": [3, 2], "x": 2.25, "y": 3}, - {"matrix": [3, 3], "x": 3.25, "y": 3}, - {"matrix": [3, 4], "x": 4.25, "y": 3}, - {"matrix": [3, 5], "x": 5.25, "y": 3}, - {"matrix": [3, 6], "x": 6.25, "y": 3}, - {"matrix": [3, 7], "x": 7.25, "y": 3}, - {"matrix": [3, 8], "x": 8.25, "y": 3}, - {"matrix": [3, 9], "x": 9.25, "y": 3}, - {"matrix": [3, 10], "x": 10.25, "y": 3}, - {"matrix": [3, 11], "x": 11.25, "y": 3}, - {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, - {"matrix": [3, 13], "x": 14, "y": 3}, - {"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, "w": 1.25}, - {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, - {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, - {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25}, - {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 12], "x": 14, "y": 4}, - {"matrix": [4, 13], "x": 15, "y": 4} - ] - } - } -} diff --git a/keyboards/smithrune/iron165r2/keymaps/default/keymap.c b/keyboards/smithrune/iron165r2/keymaps/default/keymap.c deleted file mode 100644 index a9b88a29a0e..00000000000 --- a/keyboards/smithrune/iron165r2/keymaps/default/keymap.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Copyright 2020 Gondolindrim - * - * 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 . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT_all( /* Base */ - QK_GESC, 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_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_N, KC_M, KC_COMM, KC_DOT , KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT -), -[1] = LAYOUT_all( - QK_BOOT, 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -), -[2] = 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -), -[3] = 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -), -}; diff --git a/keyboards/smithrune/iron165r2/keymaps/via/keymap.c b/keyboards/smithrune/iron165r2/keymaps/via/keymap.c deleted file mode 100644 index a9b88a29a0e..00000000000 --- a/keyboards/smithrune/iron165r2/keymaps/via/keymap.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Copyright 2020 Gondolindrim - * - * 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 . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT_all( /* Base */ - QK_GESC, 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_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_N, KC_M, KC_COMM, KC_DOT , KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT -), -[1] = LAYOUT_all( - QK_BOOT, 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -), -[2] = 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -), -[3] = 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -), -}; diff --git a/keyboards/smithrune/iron165r2_h/config.h b/keyboards/smithrune/iron165r2_h/config.h new file mode 100644 index 00000000000..90f283c3d73 --- /dev/null +++ b/keyboards/smithrune/iron165r2_h/config.h @@ -0,0 +1,37 @@ +/* Copyright 2023 Gondolindrim + +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 . +*/ + +#pragma once + +//#define ALL_RGBS // Define the RGB option here +//#define LINE_RGBS +//#define RUNE_RGBS +#define LUKE_RGBS + +#define RGBLIGHT_LED_MAP {16 , 0 , 1 , 2 , 3 , 17 , 19 , 15 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 18 , 11 , 12 , 13 , 14 , 20} +// D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D58, D59, D60, D61, D62, D63, D64, D65, D66, D67 + +#ifdef RUNE_RGBS +# undef RGBLIGHT_LED_MAP +# define RGBLIGHT_LED_MAP {1 , 6 , 7 , 8 , 9 , 2 , 5 , 0 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 3 , 4 , 17 , 18 , 19 , 20 } +// D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D58, D59, D60, D61, D62, D63, D64, D65, D66, D67 +#endif + +#ifdef LUKE_RGBS +# undef RGBLIGHT_LED_MAP +# define RGBLIGHT_LED_MAP {20 , 2 , 3 , 4 , 5 , 1 , 19 , 0 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 18 , 13 , 14 , 15 , 16 , 17 } +// D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D58, D59, D60, D61, D62, D63, D64, D65, D66, D67 +#endif diff --git a/keyboards/smithrune/iron165r2_h/halconf.h b/keyboards/smithrune/iron165r2_h/halconf.h new file mode 100644 index 00000000000..6cfd7363a86 --- /dev/null +++ b/keyboards/smithrune/iron165r2_h/halconf.h @@ -0,0 +1,21 @@ +/* Copyright 2023 Gondolindrim + * + * 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 . + */ + +#pragma once + +#define HAL_USE_SPI TRUE + +#include_next diff --git a/keyboards/smithrune/iron165r2_h/info.json b/keyboards/smithrune/iron165r2_h/info.json new file mode 100644 index 00000000000..3080d2a4a9f --- /dev/null +++ b/keyboards/smithrune/iron165r2_h/info.json @@ -0,0 +1,123 @@ +{ + "keyboard_name": "Iron165R2-H", + "manufacturer": "SmithRune", + "url": "", + "maintainer": "Gondolindrim", + "usb": { + "vid": "0x8384", + "pid": "0x1654", + "device_version": "0.0.1" + }, + "processor": "STM32F072", + "bootloader": "stm32-dfu", + "matrix_pins": { + "cols": ["A3" , "B8" , "B9" , "B12", "B10", "B5" , "B4" , "B3" , "A15", "A8" , "A1" , "A0" , "C15" , "C14" , "C13"], + "rows": ["B14", "A10", "A5" , "A2" , "A4"] + }, + "features": { + "audio": false, + "backlight": false, + "bootmagic": true, + "command": false, + "console": false, + "encoder": false, + "extrakey": true, + "lto": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, + "ws2812": { + "pin": "B15" + }, + "rgblight": { + "led_count": 21, + "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 + }, + "sleep": true + }, + "diode_direction": "COL2ROW", + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"~", "matrix":[ 0, 0], "x":0, "y":0 }, + {"label":"1!", "matrix":[ 0, 1], "x":1, "y":0 }, + {"label":"2@", "matrix":[ 0, 2], "x":2, "y":0 }, + {"label":"3#", "matrix":[ 0, 3], "x":3, "y":0 }, + {"label":"4$", "matrix":[ 0, 4], "x":4, "y":0 }, + {"label":"5%", "matrix":[ 0, 5], "x":5, "y":0 }, + {"label":"6^", "matrix":[ 0, 6], "x":6, "y":0 }, + {"label":"7&", "matrix":[ 0, 7], "x":7, "y":0 }, + {"label":"8*", "matrix":[ 0, 8], "x":8, "y":0 }, + {"label":"9(", "matrix":[ 0, 9], "x":9, "y":0 }, + {"label":"0)", "matrix":[ 0,10], "x":10, "y":0 }, + {"label":"-_", "matrix":[ 0,11], "x":11, "y":0 }, + {"label":"=+", "matrix":[ 0,12], "x":12, "y":0 }, + {"label":"Backspace", "matrix":[ 0,13], "x":13, "y":0 }, + {"label":"Backspace", "matrix":[ 0,14], "x":14, "y":0 }, + {"label":"Del", "matrix":[ 4,14], "x":15, "y":0 } + {"label":"Tab", "matrix":[ 1, 0], "x":0, "y":1, "w":1.5 }, + {"label":"Q", "matrix":[ 1, 1], "x":1.5, "y":1 }, + {"label":"W", "matrix":[ 1, 2], "x":2.5, "y":1 }, + {"label":"E", "matrix":[ 1, 3], "x":3.5, "y":1 }, + {"label":"R", "matrix":[ 1, 4], "x":4.5, "y":1 }, + {"label":"T", "matrix":[ 1, 5], "x":5.5, "y":1 }, + {"label":"Y", "matrix":[ 1, 6], "x":6.5, "y":1 }, + {"label":"U", "matrix":[ 1, 7], "x":7.5, "y":1 }, + {"label":"I", "matrix":[ 1, 8], "x":8.5, "y":1 }, + {"label":"O", "matrix":[ 1, 9], "x":9.5, "y":1 }, + {"label":"P", "matrix":[ 1,10], "x":10.5, "y":1 }, + {"label":"{", "matrix":[ 1,11], "x":11.5, "y":1 }, + {"label":"}", "matrix":[ 1,12], "x":12.5, "y":1 }, + {"label":"|", "matrix":[ 1,13], "x":13.5, "y":1, "w":1.5 }, + {"label":"Page Up", "matrix":[ 1,14], "x":15, "y":1 }, + {"label":"Caps Lock", "matrix":[ 2, 0], "x":0, "y":2, "w":1.75}, + {"label":"A", "matrix":[ 2, 1], "x":1.75, "y":2 }, + {"label":"S", "matrix":[ 2, 2], "x":2.75, "y":2 }, + {"label":"D", "matrix":[ 2, 3], "x":3.75, "y":2 }, + {"label":"F", "matrix":[ 2, 4], "x":4.75, "y":2 }, + {"label":"G", "matrix":[ 2, 5], "x":5.75, "y":2 }, + {"label":"H", "matrix":[ 2, 6], "x":6.75, "y":2 }, + {"label":"J", "matrix":[ 2, 7], "x":7.75, "y":2 }, + {"label":"K", "matrix":[ 2, 8], "x":8.75, "y":2 }, + {"label":"L", "matrix":[ 2, 9], "x":9.75, "y":2 }, + {"label":":", "matrix":[ 2,10], "x":10.75, "y":2 }, + {"label":"\"", "matrix":[ 2,11], "x":11.75, "y":2 }, + {"label":"Enter", "matrix":[ 2,13], "x":12.75, "y":2, "w":2.25}, + {"label":"Page Down", "matrix":[ 2,14], "x":15, "y":2 }, + {"label":"Shift", "matrix":[ 3, 0], "x":0, "y":3, "w":2.25}, + {"label":"Z", "matrix":[ 3, 2], "x":2.25, "y":3 }, + {"label":"X", "matrix":[ 3, 3], "x":3.25, "y":3 }, + {"label":"C", "matrix":[ 3, 4], "x":4.25, "y":3 }, + {"label":"V", "matrix":[ 3, 5], "x":5.25, "y":3 }, + {"label":"B", "matrix":[ 3, 6], "x":6.25, "y":3 }, + {"label":"N", "matrix":[ 3, 7], "x":7.25, "y":3 }, + {"label":"M", "matrix":[ 3, 8], "x":8.25, "y":3 }, + {"label":"<", "matrix":[ 3, 9], "x":9.25, "y":3 }, + {"label":">", "matrix":[ 3,10], "x":10.25, "y":3 }, + {"label":"?", "matrix":[ 3,11], "x":11.25, "y":3 }, + {"label":"Shift", "matrix":[ 3,12], "x":12.25, "y":3, "w":1.75}, + {"label":"Up", "matrix":[ 3,13], "x":14, "y":3 }, + {"label":"End", "matrix":[ 3,14], "x":15, "y":3 }, + {"label":"Ctrl", "matrix":[ 4, 0], "x":0, "y":4, "w":1.5 }, + {"label":"Win", "matrix":[ 4, 1], "x":1.5, "y":4 }, + {"label":"Alt", "matrix":[ 4, 2], "x":2.5, "y":4, "w":1.5 }, + {"label":"Space", "matrix":[ 4, 6], "x":4, "y":4, "w":7 }, + {"label":"Alt", "matrix":[ 4,10], "x":11, "y":4, "w":1.5 }, + {"label":"Left", "matrix":[ 4,11], "x":13, "y":4 }, + {"label":"Down", "matrix":[ 4,12], "x":14, "y":4 }, + {"label":"Right", "matrix":[ 4,13], "x":15, "y":4 }, + ] + } + } +} diff --git a/keyboards/smithrune/iron165r2_h/iron165r2_h.c b/keyboards/smithrune/iron165r2_h/iron165r2_h.c new file mode 100644 index 00000000000..0c9c7c420ac --- /dev/null +++ b/keyboards/smithrune/iron165r2_h/iron165r2_h.c @@ -0,0 +1,27 @@ +/* Copyright 2023 Gondolindrim + +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 . +*/ + +#include "quantum.h" + +void keyboard_post_init_kb(void) { +#if defined (LINE_RGBS) + rgblight_set_effect_range(0,15); +#elif defined (RUNE_RGBS) + rgblight_set_effect_range(0,5); +#elif defined (LUKE_RGBS) + rgblight_set_effect_range(0,2); +#endif +} diff --git a/keyboards/smithrune/iron165r2_h/keymaps/default/keymap.c b/keyboards/smithrune/iron165r2_h/keymaps/default/keymap.c new file mode 100755 index 00000000000..fc83c1a411b --- /dev/null +++ b/keyboards/smithrune/iron165r2_h/keymaps/default/keymap.c @@ -0,0 +1,35 @@ +/* +Copyright 2023 Gondolindrim + +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 . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + QK_GESC, 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_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_ENT , KC_PGDN, + 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_LCTL, KC_LWIN, KC_LALT, KC_SPC , KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/smithrune/iron165r2_h/keymaps/via/keymap.c b/keyboards/smithrune/iron165r2_h/keymaps/via/keymap.c new file mode 100755 index 00000000000..fc83c1a411b --- /dev/null +++ b/keyboards/smithrune/iron165r2_h/keymaps/via/keymap.c @@ -0,0 +1,35 @@ +/* +Copyright 2023 Gondolindrim + +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 . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + QK_GESC, 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_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_ENT , KC_PGDN, + 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_LCTL, KC_LWIN, KC_LALT, KC_SPC , KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/smithrune/iron165r2/keymaps/via/rules.mk b/keyboards/smithrune/iron165r2_h/keymaps/via/rules.mk similarity index 100% rename from keyboards/smithrune/iron165r2/keymaps/via/rules.mk rename to keyboards/smithrune/iron165r2_h/keymaps/via/rules.mk diff --git a/keyboards/smithrune/iron165r2/f072/config.h b/keyboards/smithrune/iron165r2_h/mcuconf.h similarity index 82% rename from keyboards/smithrune/iron165r2/f072/config.h rename to keyboards/smithrune/iron165r2_h/mcuconf.h index e53468c2a75..1445e74af3b 100644 --- a/keyboards/smithrune/iron165r2/f072/config.h +++ b/keyboards/smithrune/iron165r2_h/mcuconf.h @@ -1,5 +1,4 @@ -/* -Copyright 2020 Gondolindrim +/* Copyright 2023 Gondolindrim 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 @@ -17,6 +16,7 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_PWM_DRIVER PWMD3 -#define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_PAL_MODE 1 \ No newline at end of file +#include_next + +#undef STM32_SPI_USE_SPI2 +#define STM32_SPI_USE_SPI2 TRUE diff --git a/keyboards/smithrune/iron165r2_h/rules.mk b/keyboards/smithrune/iron165r2_h/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/smithrune/iron165r2_h/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/smithrune/iron165r2/config.h b/keyboards/smithrune/iron165r2_s/config.h similarity index 92% rename from keyboards/smithrune/iron165r2/config.h rename to keyboards/smithrune/iron165r2_s/config.h index 9749d68d72d..476a2310768 100644 --- a/keyboards/smithrune/iron165r2/config.h +++ b/keyboards/smithrune/iron165r2_s/config.h @@ -1,5 +1,5 @@ /* -Copyright 2022 Gondolindrim +Copyright 2023 Gondolindrim 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 @@ -17,6 +17,10 @@ along with this program. If not, see . #pragma once +#define BACKLIGHT_PWM_DRIVER PWMD3 +#define BACKLIGHT_PWM_CHANNEL 1 +#define BACKLIGHT_PAL_MODE 1 + #define LOCKING_SUPPORT_ENABLE #define LOCKING_RESYNC_ENABLE @@ -39,5 +43,3 @@ along with this program. If not, see . # define RGBLIGHT_LED_MAP {21 , 2 , 3 , 4 , 5 , 1 , 20 , 0 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 19 , 14 , 15 , 16 , 17 , 18 } // D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D29, D60, D61, D62, D63, D64, D65, D66, D67, D68, D69} #endif - -#define RGBLIGHT_DEFAULT_VAL 0 diff --git a/keyboards/smithrune/iron165r2/f072/halconf.h b/keyboards/smithrune/iron165r2_s/f072/halconf.h similarity index 96% rename from keyboards/smithrune/iron165r2/f072/halconf.h rename to keyboards/smithrune/iron165r2_s/f072/halconf.h index 22478d7bc9f..4583e284b5a 100644 --- a/keyboards/smithrune/iron165r2/f072/halconf.h +++ b/keyboards/smithrune/iron165r2_s/f072/halconf.h @@ -1,4 +1,4 @@ -/* Copyright 2022 QMK +/* Copyright 2023 Gondolindrim * * 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 diff --git a/keyboards/smithrune/iron165r2_s/f072/info.json b/keyboards/smithrune/iron165r2_s/f072/info.json new file mode 100644 index 00000000000..8bba6f5d5da --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/f072/info.json @@ -0,0 +1,4 @@ +{ + "processor": "STM32F072", + "bootloader": "stm32-dfu" +} diff --git a/keyboards/smithrune/iron165r2/f072/mcuconf.h b/keyboards/smithrune/iron165r2_s/f072/mcuconf.h similarity index 96% rename from keyboards/smithrune/iron165r2/f072/mcuconf.h rename to keyboards/smithrune/iron165r2_s/f072/mcuconf.h index d712a1e5a7b..be530dd2879 100644 --- a/keyboards/smithrune/iron165r2/f072/mcuconf.h +++ b/keyboards/smithrune/iron165r2_s/f072/mcuconf.h @@ -1,4 +1,4 @@ -/* Copyright 2020 QMK +/* Copyright 2023 Gondolindrim * * 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 diff --git a/keyboards/smithrune/iron165r2_s/f072/rules.mk b/keyboards/smithrune/iron165r2_s/f072/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/f072/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2_s/f411/config.h similarity index 88% rename from keyboards/smithrune/iron165r2/f411/config.h rename to keyboards/smithrune/iron165r2_s/f411/config.h index 8ed73d3ff48..cb0d656ee2b 100644 --- a/keyboards/smithrune/iron165r2/f411/config.h +++ b/keyboards/smithrune/iron165r2_s/f411/config.h @@ -1,5 +1,4 @@ -/* -Copyright 2022 Gondolindrim +/* Copyright 2023 Gondolindrim 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 @@ -17,9 +16,6 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_PWM_DRIVER PWMD3 -#define BACKLIGHT_PWM_CHANNEL 1 - #define WS2812_PWM_COMPLEMENTARY_OUTPUT #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 diff --git a/keyboards/smithrune/iron165r2/f411/halconf.h b/keyboards/smithrune/iron165r2_s/f411/halconf.h similarity index 92% rename from keyboards/smithrune/iron165r2/f411/halconf.h rename to keyboards/smithrune/iron165r2_s/f411/halconf.h index ebdb4954a17..383815f17ac 100644 --- a/keyboards/smithrune/iron165r2/f411/halconf.h +++ b/keyboards/smithrune/iron165r2_s/f411/halconf.h @@ -1,5 +1,4 @@ -/* Copyright 2020 QMK - * +/* Copyright 2023 Gondolindrim * 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 @@ -19,6 +18,4 @@ #define HAL_USE_PWM TRUE #define HAL_USE_PAL TRUE -#define HAL_USE_I2C TRUE - #include_next diff --git a/keyboards/smithrune/iron165r2_s/f411/info.json b/keyboards/smithrune/iron165r2_s/f411/info.json new file mode 100644 index 00000000000..34802b593e3 --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/f411/info.json @@ -0,0 +1,7 @@ +{ + "processor": "STM32F411", + "bootloader": "stm32-dfu" + "ws2812": { + "driver": "pwm" + } +} diff --git a/keyboards/smithrune/iron165r2/f411/mcuconf.h b/keyboards/smithrune/iron165r2_s/f411/mcuconf.h similarity index 91% rename from keyboards/smithrune/iron165r2/f411/mcuconf.h rename to keyboards/smithrune/iron165r2_s/f411/mcuconf.h index 63f1e30e641..8f4541a8c39 100644 --- a/keyboards/smithrune/iron165r2/f411/mcuconf.h +++ b/keyboards/smithrune/iron165r2_s/f411/mcuconf.h @@ -1,4 +1,4 @@ -/* Copyright 2020 QMK +/* Copyright 2023 Gondolindrim * * 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 @@ -18,9 +18,6 @@ #include_next -#undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE - #undef STM32_PWM_USE_ADVANCED #define STM32_PWM_USE_ADVANCED TRUE diff --git a/keyboards/smithrune/iron165r2_s/f411/rules.mk b/keyboards/smithrune/iron165r2_s/f411/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/f411/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/smithrune/iron165r2_s/info.json b/keyboards/smithrune/iron165r2_s/info.json new file mode 100644 index 00000000000..bb0e065d196 --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/info.json @@ -0,0 +1,133 @@ +{ + "keyboard_name": "Iron165R2-S", + "manufacturer": "SmithRune", + "url": "", + "maintainer": "Gondolindrim", + "usb": { + "vid": "0x8384", + "pid": "0x1652", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A3" , "B8" , "B9" , "B1" , "B0" , "B5" , "B4" , "B3" , "A15", "A8" , "A1" , "A0" , "C15" , "C14" , "C13"], + "rows": ["B10", "A10", "A2" , "A5" , "A7"] + }, + "features": { + "audio": false, + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "encoder": false, + "extrakey": true, + "lto": true, + "mousekey": false, + "nkro": true, + "rgblight": true + }, + "ws2812": { + "pin": "B15" + }, + "rgblight": { + "led_count": 22, + "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 + }, + "sleep": true + }, + "backlight": { + "breathing": true, + "breathing_period": 10, + "levels": 20, + "pin": "A6" + }, + "indicators": { + "caps_lock": "A4" + }, + "diode_direction": "COL2ROW", + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"~", "matrix":[ 0, 0], "x":0, "y":0 }, + {"label":"1!", "matrix":[ 0, 1], "x":1, "y":0 }, + {"label":"2@", "matrix":[ 0, 2], "x":2, "y":0 }, + {"label":"3#", "matrix":[ 0, 3], "x":3, "y":0 }, + {"label":"4$", "matrix":[ 0, 4], "x":4, "y":0 }, + {"label":"5%", "matrix":[ 0, 5], "x":5, "y":0 }, + {"label":"6^", "matrix":[ 0, 6], "x":6, "y":0 }, + {"label":"7&", "matrix":[ 0, 7], "x":7, "y":0 }, + {"label":"8*", "matrix":[ 0, 8], "x":8, "y":0 }, + {"label":"9(", "matrix":[ 0, 9], "x":9, "y":0 }, + {"label":"0)", "matrix":[ 0,10], "x":10, "y":0 }, + {"label":"-_", "matrix":[ 0,11], "x":11, "y":0 }, + {"label":"=+", "matrix":[ 0,12], "x":12, "y":0 }, + {"label":"Backspace", "matrix":[ 0,13], "x":13, "y":0 }, + {"label":"Backspace", "matrix":[ 0,14], "x":14, "y":0 }, + {"label":"Del", "matrix":[ 4,14], "x":15, "y":0 } + {"label":"Tab", "matrix":[ 1, 0], "x":0, "y":1, "w":1.5 }, + {"label":"Q", "matrix":[ 1, 1], "x":1.5, "y":1 }, + {"label":"W", "matrix":[ 1, 2], "x":2.5, "y":1 }, + {"label":"E", "matrix":[ 1, 3], "x":3.5, "y":1 }, + {"label":"R", "matrix":[ 1, 4], "x":4.5, "y":1 }, + {"label":"T", "matrix":[ 1, 5], "x":5.5, "y":1 }, + {"label":"Y", "matrix":[ 1, 6], "x":6.5, "y":1 }, + {"label":"U", "matrix":[ 1, 7], "x":7.5, "y":1 }, + {"label":"I", "matrix":[ 1, 8], "x":8.5, "y":1 }, + {"label":"O", "matrix":[ 1, 9], "x":9.5, "y":1 }, + {"label":"P", "matrix":[ 1,10], "x":10.5, "y":1 }, + {"label":"{", "matrix":[ 1,11], "x":11.5, "y":1 }, + {"label":"}", "matrix":[ 1,12], "x":12.5, "y":1 }, + {"label":"|", "matrix":[ 1,13], "x":13.5, "y":1, "w":1.5 }, + {"label":"Page Up", "matrix":[ 1,14], "x":15, "y":1 }, + {"label":"Caps Lock", "matrix":[ 2, 0], "x":0, "y":2, "w":1.75}, + {"label":"A", "matrix":[ 2, 1], "x":1.75, "y":2 }, + {"label":"S", "matrix":[ 2, 2], "x":2.75, "y":2 }, + {"label":"D", "matrix":[ 2, 3], "x":3.75, "y":2 }, + {"label":"F", "matrix":[ 2, 4], "x":4.75, "y":2 }, + {"label":"G", "matrix":[ 2, 5], "x":5.75, "y":2 }, + {"label":"H", "matrix":[ 2, 6], "x":6.75, "y":2 }, + {"label":"J", "matrix":[ 2, 7], "x":7.75, "y":2 }, + {"label":"K", "matrix":[ 2, 8], "x":8.75, "y":2 }, + {"label":"L", "matrix":[ 2, 9], "x":9.75, "y":2 }, + {"label":":", "matrix":[ 2,10], "x":10.75, "y":2 }, + {"label":"\"", "matrix":[ 2,11], "x":11.75, "y":2 }, + {"label":"~#", "matrix":[ 2,12], "x":12.75, "y":2 }, + {"label":"Enter", "matrix":[ 2,13], "x":13.75, "y":2, "w":1.25}, + {"label":"Page Down", "matrix":[ 2,14], "x":15, "y":2 }, + {"label":"Shift", "matrix":[ 3, 0], "x":0, "y":3, "w":1.25}, + {"label":"\\|", "matrix":[ 3, 1], "x":1.25, "y":3 }, + {"label":"Z", "matrix":[ 3, 2], "x":2.25, "y":3 }, + {"label":"X", "matrix":[ 3, 3], "x":3.25, "y":3 }, + {"label":"C", "matrix":[ 3, 4], "x":4.25, "y":3 }, + {"label":"V", "matrix":[ 3, 5], "x":5.25, "y":3 }, + {"label":"B", "matrix":[ 3, 6], "x":6.25, "y":3 }, + {"label":"N", "matrix":[ 3, 7], "x":7.25, "y":3 }, + {"label":"M", "matrix":[ 3, 8], "x":8.25, "y":3 }, + {"label":"<", "matrix":[ 3, 9], "x":9.25, "y":3 }, + {"label":">", "matrix":[ 3,10], "x":10.25, "y":3 }, + {"label":"?", "matrix":[ 3,11], "x":11.25, "y":3 }, + {"label":"Shift", "matrix":[ 3,12], "x":12.25, "y":3, "w":1.75}, + {"label":"Up", "matrix":[ 3,13], "x":14, "y":3 }, + {"label":"End", "matrix":[ 3,14], "x":15, "y":3 }, + {"label":"Ctrl", "matrix":[ 4, 0], "x":0, "y":4, "w":1.25}, + {"label":"Win", "matrix":[ 4, 1], "x":1.25, "y":4, "w":1.25}, + {"label":"Alt", "matrix":[ 4, 2], "x":2.5, "y":4, "w":1.25}, + {"label":"Space", "matrix":[ 4, 6], "x":3.75, "y":4, "w":6.25}, + {"label":"Alt", "matrix":[ 4, 9], "x":10, "y":4, "w":1.25}, + {"label":"Win", "matrix":[ 4,10], "x":11.25, "y":4, "w":1.25}, + {"label":"Left", "matrix":[ 4,11], "x":13, "y":4 }, + {"label":"Down", "matrix":[ 4,12], "x":14, "y":4 }, + {"label":"Right", "matrix":[ 4,13], "x":15, "y":4 }, + ] + } + } +} diff --git a/keyboards/smithrune/iron165r2/iron165r2.c b/keyboards/smithrune/iron165r2_s/iron165r2_s.c similarity index 77% rename from keyboards/smithrune/iron165r2/iron165r2.c rename to keyboards/smithrune/iron165r2_s/iron165r2_s.c index 6f1606f89d3..bbd2f4e6da6 100644 --- a/keyboards/smithrune/iron165r2/iron165r2.c +++ b/keyboards/smithrune/iron165r2_s/iron165r2_s.c @@ -1,4 +1,4 @@ -/* Copyright 2020 Gondolindrim +/* Copyright 2023 Gondolindrim * * 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 @@ -16,9 +16,7 @@ #include "quantum.h" -void board_init(void) { - setPinInput(B6); - setPinInput(B7); +void keyboard_post_init_kb(void) { #if defined (LINE_RGBS) rgblight_set_effect_range(0,16); #elif defined (RUNE_RGBS) @@ -27,9 +25,3 @@ void board_init(void) { rgblight_set_effect_range(0,2); #endif } - -bool led_update_kb(led_t led_state) { - bool res = led_update_user(led_state); - if(res) writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock); - return res; -} diff --git a/keyboards/smithrune/iron165r2_s/keymaps/default/keymap.c b/keyboards/smithrune/iron165r2_s/keymaps/default/keymap.c new file mode 100644 index 00000000000..5108a87bff1 --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/keymaps/default/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2023 Gondolindrim + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT( /* Base */ + QK_GESC, 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_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_ENTER,KC_PGDN, + 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_LCTL , KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT +), +[1] = LAYOUT( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ +) +}; diff --git a/keyboards/smithrune/iron165r2_s/keymaps/via/keymap.c b/keyboards/smithrune/iron165r2_s/keymaps/via/keymap.c new file mode 100644 index 00000000000..5108a87bff1 --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/keymaps/via/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2023 Gondolindrim + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT( /* Base */ + QK_GESC, 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_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_ENTER,KC_PGDN, + 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_LCTL , KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT +), +[1] = LAYOUT( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ +) +}; diff --git a/keyboards/smithrune/iron165r2_s/keymaps/via/rules.mk b/keyboards/smithrune/iron165r2_s/keymaps/via/rules.mk new file mode 100644 index 00000000000..1e5b99807cb --- /dev/null +++ b/keyboards/smithrune/iron165r2_s/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/smithrune/iron165r2/readme.md b/keyboards/smithrune/iron165r2_s/readme.md similarity index 100% rename from keyboards/smithrune/iron165r2/readme.md rename to keyboards/smithrune/iron165r2_s/readme.md