diff --git a/.github/workflows/ci_build_major_branch.yml b/.github/workflows/ci_build_major_branch.yml
index c37e1377b1..6cefd58901 100644
--- a/.github/workflows/ci_build_major_branch.yml
+++ b/.github/workflows/ci_build_major_branch.yml
@@ -87,7 +87,7 @@ jobs:
fetch-depth: 0
- name: Download firmwares
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
pattern: firmware-*
path: .
diff --git a/.github/workflows/ci_build_major_branch_keymap.yml b/.github/workflows/ci_build_major_branch_keymap.yml
index 1a0b44b908..f5533cf07a 100644
--- a/.github/workflows/ci_build_major_branch_keymap.yml
+++ b/.github/workflows/ci_build_major_branch_keymap.yml
@@ -62,7 +62,7 @@ jobs:
echo "targets=$(jq -c 'keys' targets.json)" >> $GITHUB_OUTPUT
- name: Upload targets json
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: targets-${{ inputs.keymap }}
path: targets.json
@@ -92,7 +92,7 @@ jobs:
uses: actions/checkout@v5
- name: Get target definitions
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
name: targets-${{ inputs.keymap }}
path: .
@@ -112,7 +112,7 @@ jobs:
qmk mass-compile -t -j $NCPUS -e DUMP_CI_METADATA=yes $(jq -r '.["${{ matrix.target }}"].targets' targets.json) || touch .failed
- name: Upload binaries
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: firmware-${{ inputs.keymap }}-${{ matrix.target }}
if-no-files-found: ignore
@@ -139,14 +139,14 @@ jobs:
uses: actions/checkout@v5
- name: Download firmwares
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
pattern: firmware-${{ inputs.keymap }}-*
path: .
merge-multiple: true
- name: Upload all firmwares
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: firmware-${{ inputs.keymap }}
if-no-files-found: ignore
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 275e2b2483..fe5d6027e2 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -56,7 +56,7 @@ jobs:
- name: Deploy
if: ${{ github.event_name == 'push' && github.repository == 'qmk/qmk_firmware' }}
- uses: JamesIves/github-pages-deploy-action@v4.7.3
+ uses: JamesIves/github-pages-deploy-action@v4.7.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
diff --git a/.gitignore b/.gitignore
index 5886640d68..6ec26d3876 100644
--- a/.gitignore
+++ b/.gitignore
@@ -95,6 +95,11 @@ tags
*.mpeg
*.ttf
*.otf
+# Un-ignore limited image file formats in docs
+!docs/public/**.gif
+!docs/public/**.jpg
+!docs/public/**.jpeg
+!docs/public/**.png
# Things Travis sees
/.vs
diff --git a/docs/driver_installation_zadig.md b/docs/driver_installation_zadig.md
index 1a5bd1cc34..6fbcfa3bff 100644
--- a/docs/driver_installation_zadig.md
+++ b/docs/driver_installation_zadig.md
@@ -22,7 +22,7 @@ If Zadig lists one or more devices with the `HidUsb` driver, your keyboard is pr
If the arrow appears green, select the driver, and click **Install Driver**. See the [list of known bootloaders](#list-of-known-bootloaders) for the correct driver to install.
-
+
Finally, unplug and replug the keyboard to make sure the new driver has been loaded. If you are using the QMK Toolbox to flash, exit and restart it too, as it can sometimes fail to recognize the driver change.
@@ -30,15 +30,15 @@ Finally, unplug and replug the keyboard to make sure the new driver has been loa
If you find that you can no longer type with the keyboard, you may have accidentally replaced the driver for the keyboard itself instead of for the bootloader. This can happen when the keyboard is not in the bootloader mode. You can easily confirm this in Zadig - a healthy keyboard has the `HidUsb` driver installed on all of its interfaces:
-
+
Open the Device Manager, select **View → Devices by container**, and look for an entry with your keyboard's name.
-
+
Right-click each entry and hit **Uninstall device**. Make sure to tick **Delete the driver software for this device** first if it appears.
-
+
Click **Action → Scan for hardware changes**. At this point, you should be able to type again. Double check in Zadig that the keyboard device(s) are using the `HidUsb` driver. If so, you're all done, and your board should be functional again! Otherwise, repeat this process until Zadig reports the correct driver.
@@ -54,11 +54,11 @@ Open the Device Manager, select **View → Devices by container**, and look for
Find the `Inf name` value in the Details tab of the device properties. This should generally be something like `oemXX.inf`:
-
+
Then, open a new Command Prompt window as an Administrator (type in `cmd` into the Start menu and press Ctrl+Shift+Enter). Run `pnputil /enum-drivers` to verify the `Inf name` matches the `Published Name` field of one of the entries:
-
+
Run `pnputil /delete-driver oemXX.inf /uninstall`. This will delete the driver and remove it from any devices using it. Note that this will not uninstall the device itself.
diff --git a/docs/easy_maker.md b/docs/easy_maker.md
index e94477322b..4a6aa1cb61 100644
--- a/docs/easy_maker.md
+++ b/docs/easy_maker.md
@@ -24,7 +24,7 @@ As its name implies Direct Pin works by connecting one switch per pin. The other
Here is a schematic showing how we connect a single button to pin A3 on a ProMicro:
-
+
Once you have wired your switches you can assign keycodes to each pin and build a firmware by selecting the MCU you are using from the Keyboard dropdown. Use this link to show only Easy Maker Direct Pin:
diff --git a/docs/faq_keymap.md b/docs/faq_keymap.md
index 05bd4fed3e..dbaf7de991 100644
--- a/docs/faq_keymap.md
+++ b/docs/faq_keymap.md
@@ -13,7 +13,7 @@ Keycodes are actually defined in [quantum/keycode.h](https://github.com/qmk/qmk_
There are 3 standard keyboard layouts in use around the world- ANSI, ISO, and JIS. North America primarily uses ANSI, Europe and Africa primarily use ISO, and Japan uses JIS. Regions not mentioned typically use either ANSI or ISO. The keycodes corresponding to these layouts are shown here:
-
+
## How Can I Make Custom Names For Complex Keycodes?
diff --git a/docs/features/autocorrect.md b/docs/features/autocorrect.md
index df3f2e0fd8..57024f2cd2 100644
--- a/docs/features/autocorrect.md
+++ b/docs/features/autocorrect.md
@@ -8,7 +8,7 @@ The feature maintains a small buffer of recent key presses. On each key press, i
The tricky part is how to efficiently check the buffer for typos. We don’t want to spend too much memory or time on storing or searching the typos. A good solution is to represent the typos with a trie data structure. A trie is a tree data structure where each node is a letter, and words are formed by following a path to one of the leaves.
-
+
Since we search whether the buffer ends in a typo, we store the trie writing in reverse. The trie is queried starting from the last letter, then second to last letter, and so on, until either a letter doesn’t match or we reach a leaf, meaning a typo was found.
@@ -279,7 +279,7 @@ All autocorrection data is stored in a single flat array autocorrect_data. Each
* 01 ⇒ branching node: a trie node with multiple children.
* 10 ⇒ leaf node: a leaf, corresponding to a typo and storing its correction.
-
+
**Branching node**. Each branch is encoded with one byte for the keycode (KC_A–KC_Z) followed by a link to the child node. Links between nodes are 16-bit byte offsets relative to the beginning of the array, serialized in little endian order.
diff --git a/docs/features/backlight.md b/docs/features/backlight.md
index 20f84ac6b5..87d5a36c00 100644
--- a/docs/features/backlight.md
+++ b/docs/features/backlight.md
@@ -227,7 +227,7 @@ In this typical example, the backlight LEDs are all connected in parallel toward
A pulldown resistor is also placed between the gate pin and ground to keep it at a defined state when it is not otherwise being driven by the MCU.
The values of these resistors are not critical - see [this Electronics StackExchange question](https://electronics.stackexchange.com/q/68748) for more information.
-
+
## API {#api}
diff --git a/docs/features/layer_lock.md b/docs/features/layer_lock.md
index aaf323accc..27856ada26 100644
--- a/docs/features/layer_lock.md
+++ b/docs/features/layer_lock.md
@@ -35,12 +35,12 @@ layer.
Consider a keymap with the following base layer.
-
+
The highlighted key is a momentary layer switch `MO(NAV)`. Holding it accesses a
navigation layer.
-
+
Holding the NAV key is fine for brief use, but awkward to continue holding when
diff --git a/docs/features/rgblight.md b/docs/features/rgblight.md
index 43e3781f8d..20d32c4f5a 100644
--- a/docs/features/rgblight.md
+++ b/docs/features/rgblight.md
@@ -55,7 +55,7 @@ Changing the **Hue** cycles around the circle.
Changing the **Saturation** moves between the inner and outer sections of the wheel, affecting the intensity of the color.
Changing the **Value** sets the overall brightness.
-
+
## Keycodes
diff --git a/docs/features/split_keyboard.md b/docs/features/split_keyboard.md
index 4b299b14f8..a6fbad1c8f 100644
--- a/docs/features/split_keyboard.md
+++ b/docs/features/split_keyboard.md
@@ -91,11 +91,11 @@ SPLIT_TRANSPORT = custom
Configuring your layout in a split keyboard works slightly differently to a non-split keyboard. Take for example the following layout. The top left numbers refer to the matrix row and column, and the bottom right are the order of the keys in the layout:
-
+
Since the matrix scanning procedure operates on entire rows, it first populates the left half's rows, then the right half's. Thus, the matrix as QMK views it has double the rows instead of double the columns:
-
+
### Setting Handedness
@@ -497,7 +497,7 @@ Once you have done that, you will want to solder the diode from the 5V pad to th
You may need to use the 5V pad from the regulator block above as the pads were too small and placed too closely together to place the Schottky diode properly.
-
+
## Additional Resources
diff --git a/docs/getting_started_github.md b/docs/getting_started_github.md
index b8587dbb13..4cc9978d3d 100644
--- a/docs/getting_started_github.md
+++ b/docs/getting_started_github.md
@@ -8,15 +8,15 @@ This guide assumes you're somewhat comfortable with running things at the comman
Start on the [QMK GitHub page](https://github.com/qmk/qmk_firmware), and you'll see a button in the upper right that says "Fork":
-
+
If you're a part of an organization, you'll need to choose which account to fork it to. In most circumstances, you'll want to fork it to your personal account. Once your fork is completed (sometimes this takes a little while), click the "Clone or Download" button:
-
+
And be sure to select "HTTPS", and select the link and copy it:
-
+
From here, enter `git clone --recurse-submodules ` into the command line, and then paste your link:
@@ -57,10 +57,10 @@ To https://github.com/whoeveryouare/qmk_firmware.git
Your changes now exist on your fork on GitHub - if you go back there (`https://github.com//qmk_firmware`), you can create a "New Pull Request" by clicking this button:
-
+
Here you'll be able to see exactly what you've committed - if it all looks good, you can finalize it by clicking "Create Pull Request":
-
+
After submitting, we may talk to you about your changes, ask that you make changes, and eventually accept it! Thanks for contributing to QMK :)
diff --git a/docs/hand_wire.md b/docs/hand_wire.md
index 492ca384b1..25be46fdb7 100644
--- a/docs/hand_wire.md
+++ b/docs/hand_wire.md
@@ -36,12 +36,12 @@ What you want to achieve is one leg from each switch being attached to the corre
It is fairly simple to plan for an ortholinear keyboard (like a Planck).
-
+
Image from [RoastPotatoes' "How to hand wire a Planck"](https://blog.roastpotatoes.co/guide/2015/11/04/how-to-handwire-a-planck/)
But the larger and more complicated your keyboard, the more complex the matrix. [Keyboard Firmware Builder](https://kbfirmware.com/) can help you plan your matrix layout (shown here with a basic fullsize ISO keyboard imported from [Keyboard Layout Editor](https://www.keyboard-layout-editor.com).
-
+
Bear in mind that the number of rows plus the number of columns can not exceed the number of I/O pins on your controller. So the fullsize matrix shown above would be possible on a Proton C or Teensy++, but not on a regular Teensy or Pro Micro.
@@ -51,14 +51,14 @@ Bear in mind that the number of rows plus the number of columns can not exceed t
| :------------ |:-------------:| ------:| ------ |
| Pro Micro* | ATmega32u4 | 20 | [link](https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/hardware-overview-pro-micro#Teensy++_2.0) |
| Teensy 2.0 | ATmega32u4 | 25 | [link](https://www.pjrc.com/teensy/pinout.html) |
-| [QMK Proton C](https://qmk.fm/proton-c/) | STM32F303xC | 36 | [link 1](https://i.imgur.com/RhtrAlc.png), [2](https://deskthority.net/wiki/QMK_Proton_C) |
+| [QMK Proton C](https://qmk.fm/proton-c/) | STM32F303xC | 36 | [link 1](https://qmk.fm/proton-c-pinout.jpg), [2](https://deskthority.net/wiki/QMK_Proton_C) |
| Teensy++ 2.0 | AT90USB1286 | 46 | [link](https://www.pjrc.com/teensy/pinout.html#Teensy_2.0) |
*Elite C is essentially the same as a Pro Micro with a USB-C instead of Micro-USB
There are also a number of boards designed specifically for handwiring that mount directly to a small number of switches and offer pinouts for the rest. Though these are generally more expensive and may be more difficult to get hold of.
-
+
| Board | Controller | # I/O |
| :------------ |:-------------:| ------:|
@@ -74,13 +74,13 @@ Established materials and techniques include:
| Technique | Examples | Pros | Cons | Image
| :-----------| :------- | :------ | :--- | :---
-| Lengths of wire with stripped segments | [Sasha Solomon's Dactyl](https://medium.com/@sachee/building-my-first-keyboard-and-you-can-too-512c0f8a4c5f) and [Cribbit's modern hand wire](https://geekhack.org/index.php?topic=87689.0) | Neat and tidy | Some effort in stripping the wire | 
-| Short lengths of wire | [u/xicolinguada's ortho build](https://www.reddit.com/r/MechanicalKeyboards/comments/c39k4f/my_first_hand_wired_keyboard_its_not_perfect_but/) | Easier to strip the wire | More difficult to place | 
-| Magnet/Enamelled wire | [fknraiden's custom board](https://geekhack.org/index.php?topic=74223.0) | Can be directly soldered onto (insulation burns off with heat) | Appearance? | 
-| Bending the legs of the diodes for the rows | [Matt3o's Brownfox](https://deskthority.net/viewtopic.php?f=7&t=6050) | Fewer solder joints required | Uninsulated | 
-| Using rigid wiring (e.g. brass tube) | [u/d_stilgar's invisible hardline](https://www.reddit.com/r/MechanicalKeyboards/comments/8aw5j2/invisible_hardline_keyboard_progress_update_april/) and [u/jonasfasler's first attempt](https://www.reddit.com/r/MechanicalKeyboards/comments/de1jyv/my_first_attempt_at_handwiring_a_keyboard/) | Very pretty | More difficult. No physical insulation | 
-| Bare wire with insulation added after (e.g. kapton tape) | [Matt3o's 65% on his website](https://matt3o.com/hand-wiring-a-custom-keyboard/) | Easier (no wire stripping required) | Not as attractive | 
-| Copper tape | [ManuForm Dactyl](https://github.com/tshort/dactyl-keyboard) | Very easy | Only really works when your plate/case aligns with the bottom of your switches | 
+| Lengths of wire with stripped segments | [Sasha Solomon's Dactyl](https://medium.com/@sachee/building-my-first-keyboard-and-you-can-too-512c0f8a4c5f) and [Cribbit's modern hand wire](https://geekhack.org/index.php?topic=87689.0) | Neat and tidy | Some effort in stripping the wire | 
+| Short lengths of wire | [u/xicolinguada's ortho build](https://www.reddit.com/r/MechanicalKeyboards/comments/c39k4f/my_first_hand_wired_keyboard_its_not_perfect_but/) | Easier to strip the wire | More difficult to place | 
+| Magnet/Enamelled wire | [fknraiden's custom board](https://geekhack.org/index.php?topic=74223.0) | Can be directly soldered onto (insulation burns off with heat) | Appearance? | 
+| Bending the legs of the diodes for the rows | [Matt3o's Brownfox](https://deskthority.net/viewtopic.php?f=7&t=6050) | Fewer solder joints required | Uninsulated | 
+| Using rigid wiring (e.g. brass tube) | [u/d_stilgar's invisible hardline](https://www.reddit.com/r/MechanicalKeyboards/comments/8aw5j2/invisible_hardline_keyboard_progress_update_april/) and [u/jonasfasler's first attempt](https://www.reddit.com/r/MechanicalKeyboards/comments/de1jyv/my_first_attempt_at_handwiring_a_keyboard/) | Very pretty | More difficult. No physical insulation | 
+| Bare wire with insulation added after (e.g. kapton tape) | [Matt3o's 65% on his website](https://matt3o.com/hand-wiring-a-custom-keyboard/) | Easier (no wire stripping required) | Not as attractive | 
+| Copper tape | [ManuForm Dactyl](https://github.com/tshort/dactyl-keyboard) | Very easy | Only really works when your plate/case aligns with the bottom of your switches | 
Note that these methods can be combined. Prepare your lengths of wire before moving on to soldering.
@@ -97,11 +97,11 @@ There are a lot of soldering guides and tips available elsewhere but here are so
To ensure a strong solder joint you want a good amount of contact between the solder and the two pieces of metal you are connecting. A good way of doing this (though not required) is looping around pins or twisting wires together before applying solder.
-
+
If your diodes are on a packaging strip and need a bend in them (either the start of a loop or for connecting to its neighbour) this can easily done by bending it over something straight like the edge of a box, table, or ruler. This also helps keep track of the direction of the diode as all the bends will be on the same side.
-
+
If your iron has temperature control, set it to 315ºC (600ºF).
@@ -164,7 +164,7 @@ Cut wires to the length of the distance from the a point on each column/row to t
Ribbon cable can be used to keep this extra tidy. You may also want to consider routing the wires beneath the existing columns/rows.
-
+
As you solder the wires to the controller make a note of which row/column is going to which pin on the controller as we'll use this data to setup the matrix when we create the firmware.
diff --git a/docs/newbs_building_firmware_configurator.md b/docs/newbs_building_firmware_configurator.md
index 85522e405c..6d441311dc 100644
--- a/docs/newbs_building_firmware_configurator.md
+++ b/docs/newbs_building_firmware_configurator.md
@@ -1,6 +1,6 @@
# QMK Configurator
-[](https://config.qmk.fm/)
+[](https://config.qmk.fm/)
The [QMK Configurator](https://config.qmk.fm) is an online graphical user interface that generates QMK Firmware `.hex` or `.bin` files.
diff --git a/docs/newbs_external_userspace.md b/docs/newbs_external_userspace.md
index fdc998c37a..9f818f46f9 100644
--- a/docs/newbs_external_userspace.md
+++ b/docs/newbs_external_userspace.md
@@ -32,11 +32,11 @@ Building locally has a much shorter turnaround time than waiting for GitHub Acti
A basic skeleton External Userspace repository can be found [here](https://github.com/qmk/qmk_userspace). If you wish to keep your keymaps on GitHub (strongly recommended!), you can fork the repository and use it as a base:
-
+
Going ahead with your fork will copy it to your account, at which point you can clone it to your local machine and begin adding your keymaps:
-
+
```sh
cd $HOME
@@ -99,8 +99,8 @@ All firmware builds you've added to the External Userspace build targets will be
GitHub Actions can be used to automatically build your keymaps whenever you push changes to your External Userspace repository. If you have set up your list of build targets, this is as simple as enabling workflows in the GitHub repository settings:
-
+
Any push will result in compilation of all configured builds, and once completed a new release containing the newly-minted firmware files will be created on GitHub, which you can subsequently download and flash to your keyboard:
-
+
diff --git a/docs/other_eclipse.md b/docs/other_eclipse.md
index 5a0228efce..1745f08932 100644
--- a/docs/other_eclipse.md
+++ b/docs/other_eclipse.md
@@ -66,7 +66,7 @@ Once both plugins are installed, restart Eclipse as prompted.
* Select the _AVR-GCC Toolchain_;
* Keep the rest as-is and click Finish
- 
+ 
3. The project will now be loaded and indexed. Its files can be browsed easily through the _Project Explorer_ on the left.
diff --git a/docs/other_vscode.md b/docs/other_vscode.md
index 0b39746a6e..3bd7e3f44f 100644
--- a/docs/other_vscode.md
+++ b/docs/other_vscode.md
@@ -174,7 +174,7 @@ You'll need to perform some modifications to the file above in order to target y
* `"armToolchainPath"`: _[Optional]_ The path to the ARM toolchain installation location on Windows -- under normal circumstances Linux/macOS will auto-detect this correctly and will not need to be specified.
::: warning
-Windows builds of QMK Firmware are generally compiled using QMK MSYS, and the path to gdb's location (`C:\\QMK_MSYS\\mingw64\\bin`) needs to be specified under `armToolchainPath` for it to be detected. You may also need to change the GDB path to point at `C:\\QMK_MSYS\\mingw64\\bin\\gdb-multiarch.exe` in the VSCode Cortex-Debug user settings: 
+Windows builds of QMK Firmware are generally compiled using QMK MSYS, and the path to gdb's location (`C:\\QMK_MSYS\\mingw64\\bin`) needs to be specified under `armToolchainPath` for it to be detected. You may also need to change the GDB path to point at `C:\\QMK_MSYS\\mingw64\\bin\\gdb-multiarch.exe` in the VSCode Cortex-Debug user settings: 
:::
The following modifications must be made to the keyboard's `rules.mk` file to enable debug information and disable optimisations -- this will ensure breakpoints and variable viewing works correctly:
diff --git a/docs/platformdev_blackpill_f4x1.md b/docs/platformdev_blackpill_f4x1.md
index a8d21c255c..e9af534e58 100644
--- a/docs/platformdev_blackpill_f4x1.md
+++ b/docs/platformdev_blackpill_f4x1.md
@@ -7,7 +7,7 @@ The WeAct Blackpill is a popular choice for handwired boards, as it offers a pow
* [WeAct GitHub for F4x1 Blackpill](https://github.com/WeActStudio/WeActStudio.MiniSTM32F4x1)
* Unfortunately, due to supply issues official WeAct F411 based blackpills may not be available.
-
+
## Pin Usage Limitations
diff --git a/docs/platformdev_proton_c.md b/docs/platformdev_proton_c.md
index 3afec893fa..16eeb7b28a 100644
--- a/docs/platformdev_proton_c.md
+++ b/docs/platformdev_proton_c.md
@@ -2,7 +2,7 @@
The Proton C is an Arm STM32F303xC based drop-in replacement for the Pro Micro.
-
+
#### Features
diff --git a/docs/platformdev_rp2040.md b/docs/platformdev_rp2040.md
index 1269ffeeb5..346cae58dc 100644
--- a/docs/platformdev_rp2040.md
+++ b/docs/platformdev_rp2040.md
@@ -17,8 +17,8 @@ The following table shows the current driver status for peripherals on RP2040 MC
## GPIO
-
-
+
+
::: warning
The GPIO pins of the RP2040 are not 5V tolerant!
diff --git a/docs/public/0GNIYY0.jpg b/docs/public/0GNIYY0.jpg
new file mode 100644
index 0000000000..ccf2f5dcbe
Binary files /dev/null and b/docs/public/0GNIYY0.jpg differ
diff --git a/docs/public/1TPAhrs.jpg b/docs/public/1TPAhrs.jpg
new file mode 100644
index 0000000000..1629c8f3a5
Binary files /dev/null and b/docs/public/1TPAhrs.jpg differ
diff --git a/docs/public/2wUZNWk.png b/docs/public/2wUZNWk.png
new file mode 100644
index 0000000000..a1e5355a4c
Binary files /dev/null and b/docs/public/2wUZNWk.png differ
diff --git a/docs/public/3RrSjzW.png b/docs/public/3RrSjzW.png
new file mode 100644
index 0000000000..af17f0c759
Binary files /dev/null and b/docs/public/3RrSjzW.png differ
diff --git a/docs/public/4wjJzBU.png b/docs/public/4wjJzBU.png
new file mode 100644
index 0000000000..c152bc0a23
Binary files /dev/null and b/docs/public/4wjJzBU.png differ
diff --git a/docs/public/5wsh5wM.png b/docs/public/5wsh5wM.png
new file mode 100644
index 0000000000..9242e0c4b0
Binary files /dev/null and b/docs/public/5wsh5wM.png differ
diff --git a/docs/public/8Toomz4.jpg b/docs/public/8Toomz4.jpg
new file mode 100644
index 0000000000..6099dd2b4b
Binary files /dev/null and b/docs/public/8Toomz4.jpg differ
diff --git a/docs/public/AvXZShD.jpg b/docs/public/AvXZShD.jpg
new file mode 100644
index 0000000000..fc7272e1d6
Binary files /dev/null and b/docs/public/AvXZShD.jpg differ
diff --git a/docs/public/BPEC5n5.jpg b/docs/public/BPEC5n5.jpg
new file mode 100644
index 0000000000..99f18115c1
Binary files /dev/null and b/docs/public/BPEC5n5.jpg differ
diff --git a/docs/public/BmAvoUC.png b/docs/public/BmAvoUC.png
new file mode 100644
index 0000000000..f44fd1ce5c
Binary files /dev/null and b/docs/public/BmAvoUC.png differ
diff --git a/docs/public/Bu4mk9m.png b/docs/public/Bu4mk9m.png
new file mode 100644
index 0000000000..e80e6b751e
Binary files /dev/null and b/docs/public/Bu4mk9m.png differ
diff --git a/docs/public/CWYmsk8.png b/docs/public/CWYmsk8.png
new file mode 100644
index 0000000000..2d1f186cef
Binary files /dev/null and b/docs/public/CWYmsk8.png differ
diff --git a/docs/public/CnASmPo.jpg b/docs/public/CnASmPo.jpg
new file mode 100644
index 0000000000..128cc806a1
Binary files /dev/null and b/docs/public/CnASmPo.jpg differ
diff --git a/docs/public/DkEhj9x.png b/docs/public/DkEhj9x.png
new file mode 100644
index 0000000000..6a31d1f1d2
Binary files /dev/null and b/docs/public/DkEhj9x.png differ
diff --git a/docs/public/DxMHpJ8.jpg b/docs/public/DxMHpJ8.jpg
new file mode 100644
index 0000000000..179c2b6b69
Binary files /dev/null and b/docs/public/DxMHpJ8.jpg differ
diff --git a/docs/public/EGrPM1L.png b/docs/public/EGrPM1L.png
new file mode 100644
index 0000000000..5b7bbd4ea7
Binary files /dev/null and b/docs/public/EGrPM1L.png differ
diff --git a/docs/public/EVkxOt1.png b/docs/public/EVkxOt1.png
new file mode 100644
index 0000000000..56f862ccb7
Binary files /dev/null and b/docs/public/EVkxOt1.png differ
diff --git a/docs/public/FRShcLD.png b/docs/public/FRShcLD.png
new file mode 100644
index 0000000000..6f91c1cff5
Binary files /dev/null and b/docs/public/FRShcLD.png differ
diff --git a/docs/public/HL5DP8H.png b/docs/public/HL5DP8H.png
new file mode 100644
index 0000000000..523d59f98d
Binary files /dev/null and b/docs/public/HL5DP8H.png differ
diff --git a/docs/public/Hx0E5kC.png b/docs/public/Hx0E5kC.png
new file mode 100644
index 0000000000..67717e1e89
Binary files /dev/null and b/docs/public/Hx0E5kC.png differ
diff --git a/docs/public/JKngtTw.png b/docs/public/JKngtTw.png
new file mode 100644
index 0000000000..5c38745181
Binary files /dev/null and b/docs/public/JKngtTw.png differ
diff --git a/docs/public/JcDhZll.png b/docs/public/JcDhZll.png
new file mode 100644
index 0000000000..8d4b74268a
Binary files /dev/null and b/docs/public/JcDhZll.png differ
diff --git a/docs/public/N1NYcSz.jpg b/docs/public/N1NYcSz.jpg
new file mode 100644
index 0000000000..f3e0c694e6
Binary files /dev/null and b/docs/public/N1NYcSz.jpg differ
diff --git a/docs/public/Ojydlaj.jpg b/docs/public/Ojydlaj.jpg
new file mode 100644
index 0000000000..989a611813
Binary files /dev/null and b/docs/public/Ojydlaj.jpg differ
diff --git a/docs/public/QeY6kMQ.png b/docs/public/QeY6kMQ.png
new file mode 100644
index 0000000000..b990847c1c
Binary files /dev/null and b/docs/public/QeY6kMQ.png differ
diff --git a/docs/public/QiA3ta6.jpg b/docs/public/QiA3ta6.jpg
new file mode 100644
index 0000000000..a10b4165c4
Binary files /dev/null and b/docs/public/QiA3ta6.jpg differ
diff --git a/docs/public/RFyNMlL.jpg b/docs/public/RFyNMlL.jpg
new file mode 100644
index 0000000000..1cfd86f6ef
Binary files /dev/null and b/docs/public/RFyNMlL.jpg differ
diff --git a/docs/public/UlJ4ZDP.png b/docs/public/UlJ4ZDP.png
new file mode 100644
index 0000000000..d38f40deed
Binary files /dev/null and b/docs/public/UlJ4ZDP.png differ
diff --git a/docs/public/aEs2RuA.png b/docs/public/aEs2RuA.png
new file mode 100644
index 0000000000..af3ad19053
Binary files /dev/null and b/docs/public/aEs2RuA.png differ
diff --git a/docs/public/aTnG8TV.jpg b/docs/public/aTnG8TV.jpg
new file mode 100644
index 0000000000..6337adf10e
Binary files /dev/null and b/docs/public/aTnG8TV.jpg differ
diff --git a/docs/public/anw9cOL.png b/docs/public/anw9cOL.png
new file mode 100644
index 0000000000..09740d1da5
Binary files /dev/null and b/docs/public/anw9cOL.png differ
diff --git a/docs/public/b4b7KDb.jpg b/docs/public/b4b7KDb.jpg
new file mode 100644
index 0000000000..76acd2cf5c
Binary files /dev/null and b/docs/public/b4b7KDb.jpg differ
diff --git a/docs/public/b8VgXzx.png b/docs/public/b8VgXzx.png
new file mode 100644
index 0000000000..9aa32c22dd
Binary files /dev/null and b/docs/public/b8VgXzx.png differ
diff --git a/docs/public/eGO0ohO.jpg b/docs/public/eGO0ohO.jpg
new file mode 100644
index 0000000000..d1c9b730a0
Binary files /dev/null and b/docs/public/eGO0ohO.jpg differ
diff --git a/docs/public/eHJjmnU.jpg b/docs/public/eHJjmnU.jpg
new file mode 100644
index 0000000000..aebbc9d200
Binary files /dev/null and b/docs/public/eHJjmnU.jpg differ
diff --git a/docs/public/fmDvDzR.png b/docs/public/fmDvDzR.png
new file mode 100644
index 0000000000..3284d2a8fc
Binary files /dev/null and b/docs/public/fmDvDzR.png differ
diff --git a/docs/public/hcegguh.png b/docs/public/hcegguh.png
new file mode 100644
index 0000000000..98ad8ff19c
Binary files /dev/null and b/docs/public/hcegguh.png differ
diff --git a/docs/public/mBe5vkL.jpg b/docs/public/mBe5vkL.jpg
new file mode 100644
index 0000000000..8174d8c080
Binary files /dev/null and b/docs/public/mBe5vkL.jpg differ
diff --git a/docs/public/nCgeolTh.png b/docs/public/nCgeolTh.png
new file mode 100644
index 0000000000..c92cbedb9f
Binary files /dev/null and b/docs/public/nCgeolTh.png differ
diff --git a/docs/public/nLaiYDE.jpg b/docs/public/nLaiYDE.jpg
new file mode 100644
index 0000000000..b31413693c
Binary files /dev/null and b/docs/public/nLaiYDE.jpg differ
diff --git a/docs/public/o7WLvBl.png b/docs/public/o7WLvBl.png
new file mode 100644
index 0000000000..abd42d8c05
Binary files /dev/null and b/docs/public/o7WLvBl.png differ
diff --git a/docs/public/oHYR1yW.png b/docs/public/oHYR1yW.png
new file mode 100644
index 0000000000..77bc73238d
Binary files /dev/null and b/docs/public/oHYR1yW.png differ
diff --git a/docs/public/oITudbX.jpg b/docs/public/oITudbX.jpg
new file mode 100644
index 0000000000..7edcb5781a
Binary files /dev/null and b/docs/public/oITudbX.jpg differ
diff --git a/docs/public/vkYVo66.jpg b/docs/public/vkYVo66.jpg
new file mode 100644
index 0000000000..fd77a22b25
Binary files /dev/null and b/docs/public/vkYVo66.jpg differ
diff --git a/docs/public/z2QlKfB.jpg b/docs/public/z2QlKfB.jpg
new file mode 100644
index 0000000000..59ca44303b
Binary files /dev/null and b/docs/public/z2QlKfB.jpg differ
diff --git a/docs/public/zmwOL5P.png b/docs/public/zmwOL5P.png
new file mode 100644
index 0000000000..0921dff37d
Binary files /dev/null and b/docs/public/zmwOL5P.png differ
diff --git a/docs/reference_configurator_support.md b/docs/reference_configurator_support.md
index d0824c7705..4f2ddfffe8 100644
--- a/docs/reference_configurator_support.md
+++ b/docs/reference_configurator_support.md
@@ -189,15 +189,25 @@ Currently, the Configurator does not support key rotation or non-rectangular key
For ISO Enter keys, QMK custom is to display it as a rectangular key, 1.25u wide and 2u high, aligned so its right edge is aligned with the right edge of the alphanumeric key block.
-
+
*A 60% keyboard in standard ISO layout, as rendered by QMK Configurator.*
#### Vertically-offset keys
For vertically-offset keys, place them in KLE as if they were not offset, then edit the Y-values as needed in the converted JSON file
-
+
*An 1800-layout keyboard as rendered in Keyboard Layout Editor, without the vertical offset applied to the arrow keys.*
-
-*A Unix diff file, showing the changes needed to vertically-offset the arrow keys in our keyboard's JSON file.*
+```diff
+-{"label": "\u2191", "x", 14.25, "y": 5},
++{"label": "\u2191", "x", 14.25, "y": 5.25},
+...
+-{"label": "\u2190", "x", 13.25, "y": 6},
+-{"label": "\u2193", "x", 14.25, "y": 6},
+-{"label": "\u2192", "x", 15.25, "y": 6},
++{"label": "\u2190", "x", 13.25, "y": 6.25},
++{"label": "\u2193", "x", 14.25, "y": 6.25},
++{"label": "\u2192", "x", 15.25, "y": 6.25},
+```
+*A diff showing the changes needed to vertically-offset the arrow keys in our keyboard's JSON file.*
diff --git a/docs/understanding_qmk.md b/docs/understanding_qmk.md
index ad5afdc56a..a47617c418 100644
--- a/docs/understanding_qmk.md
+++ b/docs/understanding_qmk.md
@@ -51,7 +51,7 @@ Matrix Scanning runs many times per second. The exact rate varies but typically
Once we know the state of every switch on our keyboard we have to map that to a keycode. In QMK this is done by making use of C macros to allow us to separate the definition of the physical layout from the definition of keycodes.
-At the keyboard level we define a C macro (typically named `LAYOUT()`) which maps our keyboard's matrix to physical keys. Sometimes the matrix does not have a switch in every location, and we can use this macro to pre-populate those with KC_NO, making the keymap definition easier to work with. Here's an example `LAYOUT()` macro for a numpad:
+At the keyboard level, QMK will generate a macro (typically named `LAYOUT()`) from our configuration file `info.json`, which then maps our keyboard's matrix to physical keys. Sometimes the matrix does not have a switch in every location, and QMK will use this macro to pre-populate those with KC_NO, making the keymap definition easier to work with. Here's an example `LAYOUT()` macro for a numpad:
```c
#define LAYOUT( \
@@ -71,7 +71,7 @@ At the keyboard level we define a C macro (typically named `LAYOUT()`) which map
Notice how the second block of our `LAYOUT()` macro matches the Matrix Scanning array above? This macro is what will map the matrix scanning array to keycodes. However, if you look at a 17 key numpad you'll notice that it has 3 places where the matrix could have a switch but doesn't, due to larger keys. We have populated those spaces with `KC_NO` so that our keymap definition doesn't have to.
-You can also use this macro to handle unusual matrix layouts, for example the [Alice](https://github.com/qmk/qmk_firmware/blob/325da02e57fe7374e77b82cb00360ba45167e25c/keyboards/sneakbox/aliceclone/aliceclone.h#L24). Explaining that is outside the scope of this document.
+This macro can handle unusual matrix layouts, for example the [Alice](https://github.com/qmk/qmk_firmware/blob/325da02e57fe7374e77b82cb00360ba45167e25c/keyboards/sneakbox/aliceclone/aliceclone.h#L24). Explaining that is outside the scope of this document.
##### Keycode Assignment
diff --git a/drivers/painter/comms/qp_comms_dummy.c b/drivers/painter/comms/qp_comms_dummy.c
index 2ed49d2232..7a2aef5d37 100644
--- a/drivers/painter/comms/qp_comms_dummy.c
+++ b/drivers/painter/comms/qp_comms_dummy.c
@@ -15,8 +15,9 @@ static bool dummy_comms_start(painter_device_t device) {
return true;
}
-static void dummy_comms_stop(painter_device_t device) {
+static bool dummy_comms_stop(painter_device_t device) {
// No-op.
+ return true;
}
uint32_t dummy_comms_send(painter_device_t device, const void *data, uint32_t byte_count) {
diff --git a/drivers/painter/comms/qp_comms_i2c.c b/drivers/painter/comms/qp_comms_i2c.c
index 93f503f3dd..f093c87ee4 100644
--- a/drivers/painter/comms/qp_comms_i2c.c
+++ b/drivers/painter/comms/qp_comms_i2c.c
@@ -35,7 +35,9 @@ uint32_t qp_comms_i2c_send_data(painter_device_t device, const void *data, uint3
return qp_comms_i2c_send_raw(device, data, byte_count);
}
-void qp_comms_i2c_stop(painter_device_t device) {}
+bool qp_comms_i2c_stop(painter_device_t device) {
+ return true;
+}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Command+Data I2C support
@@ -43,9 +45,9 @@ void qp_comms_i2c_stop(painter_device_t device) {}
static const uint8_t cmd_byte = 0x00;
static const uint8_t data_byte = 0x40;
-void qp_comms_i2c_cmddata_send_command(painter_device_t device, uint8_t cmd) {
+bool qp_comms_i2c_cmddata_send_command(painter_device_t device, uint8_t cmd) {
uint8_t buf[2] = {cmd_byte, cmd};
- qp_comms_i2c_send_raw(device, &buf, 2);
+ return qp_comms_i2c_send_raw(device, &buf, 2);
}
uint32_t qp_comms_i2c_cmddata_send_data(painter_device_t device, const void *data, uint32_t byte_count) {
@@ -58,7 +60,7 @@ uint32_t qp_comms_i2c_cmddata_send_data(painter_device_t device, const void *dat
return byte_count;
}
-void qp_comms_i2c_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
+bool qp_comms_i2c_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
uint8_t buf[32];
for (size_t i = 0; i < sequence_len;) {
uint8_t command = sequence[i];
@@ -67,12 +69,17 @@ void qp_comms_i2c_bulk_command_sequence(painter_device_t device, const uint8_t *
buf[0] = cmd_byte;
buf[1] = command;
memcpy(&buf[2], &sequence[i + 3], num_bytes);
- qp_comms_i2c_send_raw(device, buf, num_bytes + 2);
+ if (!qp_comms_i2c_send_raw(device, buf, num_bytes + 2)) {
+ return false;
+ }
+
if (delay > 0) {
wait_ms(delay);
}
i += (3 + num_bytes);
}
+
+ return true;
}
const painter_comms_with_command_vtable_t i2c_comms_cmddata_vtable = {
diff --git a/drivers/painter/comms/qp_comms_i2c.h b/drivers/painter/comms/qp_comms_i2c.h
index 70083d6526..06a284dc15 100644
--- a/drivers/painter/comms/qp_comms_i2c.h
+++ b/drivers/painter/comms/qp_comms_i2c.h
@@ -19,7 +19,7 @@ typedef struct qp_comms_i2c_config_t {
bool qp_comms_i2c_init(painter_device_t device);
bool qp_comms_i2c_start(painter_device_t device);
uint32_t qp_comms_i2c_send_data(painter_device_t device, const void* data, uint32_t byte_count);
-void qp_comms_i2c_stop(painter_device_t device);
+bool qp_comms_i2c_stop(painter_device_t device);
extern const painter_comms_with_command_vtable_t i2c_comms_cmddata_vtable;
diff --git a/drivers/painter/comms/qp_comms_spi.c b/drivers/painter/comms/qp_comms_spi.c
index 4e6067394b..31b68dfdf6 100644
--- a/drivers/painter/comms/qp_comms_spi.c
+++ b/drivers/painter/comms/qp_comms_spi.c
@@ -45,11 +45,12 @@ uint32_t qp_comms_spi_send_data(painter_device_t device, const void *data, uint3
return byte_count - bytes_remaining;
}
-void qp_comms_spi_stop(painter_device_t device) {
+bool qp_comms_spi_stop(painter_device_t device) {
painter_driver_t * driver = (painter_driver_t *)device;
qp_comms_spi_config_t *comms_config = (qp_comms_spi_config_t *)driver->comms_config;
spi_stop();
gpio_write_pin_high(comms_config->chip_select_pin);
+ return true;
}
const painter_comms_vtable_t spi_comms_vtable = {
@@ -97,14 +98,15 @@ uint32_t qp_comms_spi_dc_reset_send_data(painter_device_t device, const void *da
return qp_comms_spi_send_data(device, data, byte_count);
}
-void qp_comms_spi_dc_reset_send_command(painter_device_t device, uint8_t cmd) {
+bool qp_comms_spi_dc_reset_send_command(painter_device_t device, uint8_t cmd) {
painter_driver_t * driver = (painter_driver_t *)device;
qp_comms_spi_dc_reset_config_t *comms_config = (qp_comms_spi_dc_reset_config_t *)driver->comms_config;
gpio_write_pin_low(comms_config->dc_pin);
spi_write(cmd);
+ return true;
}
-void qp_comms_spi_dc_reset_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
+bool qp_comms_spi_dc_reset_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
painter_driver_t * driver = (painter_driver_t *)device;
qp_comms_spi_dc_reset_config_t *comms_config = (qp_comms_spi_dc_reset_config_t *)driver->comms_config;
for (size_t i = 0; i < sequence_len;) {
@@ -126,6 +128,8 @@ void qp_comms_spi_dc_reset_bulk_command_sequence(painter_device_t device, const
}
i += (3 + num_bytes);
}
+
+ return true;
}
const painter_comms_with_command_vtable_t spi_comms_with_dc_vtable = {
diff --git a/drivers/painter/comms/qp_comms_spi.h b/drivers/painter/comms/qp_comms_spi.h
index c39ea95f72..bb1a841519 100644
--- a/drivers/painter/comms/qp_comms_spi.h
+++ b/drivers/painter/comms/qp_comms_spi.h
@@ -22,7 +22,7 @@ typedef struct qp_comms_spi_config_t {
bool qp_comms_spi_init(painter_device_t device);
bool qp_comms_spi_start(painter_device_t device);
uint32_t qp_comms_spi_send_data(painter_device_t device, const void* data, uint32_t byte_count);
-void qp_comms_spi_stop(painter_device_t device);
+bool qp_comms_spi_stop(painter_device_t device);
extern const painter_comms_vtable_t spi_comms_vtable;
@@ -39,9 +39,9 @@ typedef struct qp_comms_spi_dc_reset_config_t {
} qp_comms_spi_dc_reset_config_t;
bool qp_comms_spi_dc_reset_init(painter_device_t device);
-void qp_comms_spi_dc_reset_send_command(painter_device_t device, uint8_t cmd);
+bool qp_comms_spi_dc_reset_send_command(painter_device_t device, uint8_t cmd);
uint32_t qp_comms_spi_dc_reset_send_data(painter_device_t device, const void* data, uint32_t byte_count);
-void qp_comms_spi_dc_reset_bulk_command_sequence(painter_device_t device, const uint8_t* sequence, size_t sequence_len);
+bool qp_comms_spi_dc_reset_bulk_command_sequence(painter_device_t device, const uint8_t* sequence, size_t sequence_len);
extern const painter_comms_with_command_vtable_t spi_comms_with_dc_vtable;
diff --git a/drivers/painter/gc9xxx/qp_gc9107.c b/drivers/painter/gc9xxx/qp_gc9107.c
index 108344da4f..f0eb24d0cd 100644
--- a/drivers/painter/gc9xxx/qp_gc9107.c
+++ b/drivers/painter/gc9xxx/qp_gc9107.c
@@ -32,7 +32,9 @@ __attribute__((weak)) bool qp_gc9107_init(painter_device_t device, painter_rotat
};
// clang-format on
- qp_comms_bulk_command_sequence(device, gc9107_init_sequence, sizeof(gc9107_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, gc9107_init_sequence, sizeof(gc9107_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -41,9 +43,7 @@ __attribute__((weak)) bool qp_gc9107_init(painter_device_t device, painter_rotat
[QP_ROTATION_180] = GC9XXX_MADCTL_BGR | GC9XXX_MADCTL_MX | GC9XXX_MADCTL_MY,
[QP_ROTATION_270] = GC9XXX_MADCTL_BGR | GC9XXX_MADCTL_MV | GC9XXX_MADCTL_MY,
};
- qp_comms_command_databyte(device, GC9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
-
- return true;
+ return qp_comms_command_databyte(device, GC9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/drivers/painter/gc9xxx/qp_gc9a01.c b/drivers/painter/gc9xxx/qp_gc9a01.c
index f037a4cc87..a9b5e4b057 100644
--- a/drivers/painter/gc9xxx/qp_gc9a01.c
+++ b/drivers/painter/gc9xxx/qp_gc9a01.c
@@ -45,7 +45,9 @@ __attribute__((weak)) bool qp_gc9a01_init(painter_device_t device, painter_rotat
};
// clang-format on
- qp_comms_bulk_command_sequence(device, gc9a01_init_sequence, sizeof(gc9a01_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, gc9a01_init_sequence, sizeof(gc9a01_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -54,9 +56,7 @@ __attribute__((weak)) bool qp_gc9a01_init(painter_device_t device, painter_rotat
[QP_ROTATION_180] = GC9XXX_MADCTL_BGR | GC9XXX_MADCTL_MX | GC9XXX_MADCTL_MY,
[QP_ROTATION_270] = GC9XXX_MADCTL_BGR | GC9XXX_MADCTL_MV | GC9XXX_MADCTL_MY,
};
- qp_comms_command_databyte(device, GC9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
-
- return true;
+ return qp_comms_command_databyte(device, GC9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/drivers/painter/ili9xxx/qp_ili9163.c b/drivers/painter/ili9xxx/qp_ili9163.c
index 7f439dc317..74c5cb28ee 100644
--- a/drivers/painter/ili9xxx/qp_ili9163.c
+++ b/drivers/painter/ili9xxx/qp_ili9163.c
@@ -41,7 +41,9 @@ __attribute__((weak)) bool qp_ili9163_init(painter_device_t device, painter_rota
ILI9XXX_CMD_DISPLAY_ON, 20, 0
};
// clang-format on
- qp_comms_bulk_command_sequence(device, ili9163_init_sequence, sizeof(ili9163_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, ili9163_init_sequence, sizeof(ili9163_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -50,9 +52,7 @@ __attribute__((weak)) bool qp_ili9163_init(painter_device_t device, painter_rota
[QP_ROTATION_180] = ILI9XXX_MADCTL_BGR | ILI9XXX_MADCTL_MX | ILI9XXX_MADCTL_MY,
[QP_ROTATION_270] = ILI9XXX_MADCTL_BGR | ILI9XXX_MADCTL_MV | ILI9XXX_MADCTL_MY,
};
- qp_comms_command_databyte(device, ILI9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
-
- return true;
+ return qp_comms_command_databyte(device, ILI9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/drivers/painter/ili9xxx/qp_ili9341.c b/drivers/painter/ili9xxx/qp_ili9341.c
index a101b292aa..4ca22d8a73 100644
--- a/drivers/painter/ili9xxx/qp_ili9341.c
+++ b/drivers/painter/ili9xxx/qp_ili9341.c
@@ -48,7 +48,9 @@ __attribute__((weak)) bool qp_ili9341_init(painter_device_t device, painter_rota
ILI9XXX_CMD_DISPLAY_ON, 20, 0
};
// clang-format on
- qp_comms_bulk_command_sequence(device, ili9341_init_sequence, sizeof(ili9341_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, ili9341_init_sequence, sizeof(ili9341_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -57,9 +59,7 @@ __attribute__((weak)) bool qp_ili9341_init(painter_device_t device, painter_rota
[QP_ROTATION_180] = ILI9XXX_MADCTL_BGR | ILI9XXX_MADCTL_MX | ILI9XXX_MADCTL_MY,
[QP_ROTATION_270] = ILI9XXX_MADCTL_BGR | ILI9XXX_MADCTL_MV | ILI9XXX_MADCTL_MY,
};
- qp_comms_command_databyte(device, ILI9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
-
- return true;
+ return qp_comms_command_databyte(device, ILI9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/drivers/painter/ili9xxx/qp_ili9486.c b/drivers/painter/ili9xxx/qp_ili9486.c
index 48db779c04..df2d084aa3 100644
--- a/drivers/painter/ili9xxx/qp_ili9486.c
+++ b/drivers/painter/ili9xxx/qp_ili9486.c
@@ -37,7 +37,9 @@ bool qp_ili9486_init(painter_device_t device, painter_rotation_t rotation) {
ILI9XXX_SET_INVERSION_CTL, 0, 1, 0x02,
};
// clang-format on
- qp_comms_bulk_command_sequence(device, ili9486_init_sequence, sizeof(ili9486_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, ili9486_init_sequence, sizeof(ili9486_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -62,22 +64,22 @@ bool qp_ili9486_init(painter_device_t device, painter_rotation_t rotation) {
ILI9XXX_CMD_DISPLAY_ON, 5, 0,
};
// clang-format on
- qp_comms_bulk_command_sequence(device, rotation_sequence, sizeof(rotation_sequence));
-
- return true;
+ return qp_comms_bulk_command_sequence(device, rotation_sequence, sizeof(rotation_sequence));
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Driver vtable
// waveshare variant needs some tweaks due to shift registers
-static void qp_comms_spi_dc_reset_send_command_odd_cs_pulse(painter_device_t device, uint8_t cmd) {
+static bool qp_comms_spi_dc_reset_send_command_odd_cs_pulse(painter_device_t device, uint8_t cmd) {
painter_driver_t * driver = (painter_driver_t *)device;
qp_comms_spi_dc_reset_config_t *comms_config = (qp_comms_spi_dc_reset_config_t *)driver->comms_config;
gpio_write_pin_low(comms_config->spi_config.chip_select_pin);
qp_comms_spi_dc_reset_send_command(device, cmd);
gpio_write_pin_high(comms_config->spi_config.chip_select_pin);
+
+ return true;
}
static uint32_t qp_comms_spi_send_data_odd_cs_pulse(painter_device_t device, const void *data, uint32_t byte_count) {
@@ -124,7 +126,7 @@ static uint32_t qp_ili9486_send_data_toggling(painter_device_t device, const uin
return ret;
}
-static void qp_comms_spi_send_command_sequence_odd_cs_pulse(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
+static bool qp_comms_spi_send_command_sequence_odd_cs_pulse(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
for (size_t i = 0; i < sequence_len;) {
uint8_t command = sequence[i];
uint8_t delay = sequence[i + 1];
@@ -140,6 +142,8 @@ static void qp_comms_spi_send_command_sequence_odd_cs_pulse(painter_device_t dev
}
i += (3 + num_bytes);
}
+
+ return true;
}
static bool qp_ili9486_viewport(painter_device_t device, uint16_t left, uint16_t top, uint16_t right, uint16_t bottom) {
diff --git a/drivers/painter/ili9xxx/qp_ili9488.c b/drivers/painter/ili9xxx/qp_ili9488.c
index 63deaf5f2e..fd05db8751 100644
--- a/drivers/painter/ili9xxx/qp_ili9488.c
+++ b/drivers/painter/ili9xxx/qp_ili9488.c
@@ -41,7 +41,9 @@ __attribute__((weak)) bool qp_ili9488_init(painter_device_t device, painter_rota
ILI9XXX_CMD_DISPLAY_ON, 20, 0
};
// clang-format on
- qp_comms_bulk_command_sequence(device, ili9488_init_sequence, sizeof(ili9488_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, ili9488_init_sequence, sizeof(ili9488_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -50,9 +52,7 @@ __attribute__((weak)) bool qp_ili9488_init(painter_device_t device, painter_rota
[QP_ROTATION_180] = ILI9XXX_MADCTL_BGR | ILI9XXX_MADCTL_MX,
[QP_ROTATION_270] = ILI9XXX_MADCTL_BGR | ILI9XXX_MADCTL_MV,
};
- qp_comms_command_databyte(device, ILI9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
-
- return true;
+ return qp_comms_command_databyte(device, ILI9XXX_SET_MEM_ACS_CTL, madctl[rotation]);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/drivers/painter/ld7032/qp_ld7032.c b/drivers/painter/ld7032/qp_ld7032.c
index f43ae8e60d..d73430cc75 100644
--- a/drivers/painter/ld7032/qp_ld7032.c
+++ b/drivers/painter/ld7032/qp_ld7032.c
@@ -10,7 +10,7 @@
#include "qp_surface.h"
#include "qp_surface_internal.h"
-typedef void (*ld7032_driver_comms_send_command_and_data_func)(painter_device_t device, uint8_t cmd, uint8_t data);
+typedef bool (*ld7032_driver_comms_send_command_and_data_func)(painter_device_t device, uint8_t cmd, uint8_t data);
typedef uint32_t (*ld7032_driver_comms_send_command_and_databuf_func)(painter_device_t device, uint8_t cmd, const void *data, uint32_t byte_count);
typedef struct ld7032_comms_with_command_vtable_t {
@@ -25,12 +25,13 @@ typedef struct ld7032_comms_with_command_vtable_t {
// LD7032 Internal API
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-void ld7032_comms_i2c_send_command_and_data(painter_device_t device, uint8_t cmd, uint8_t data) {
+#ifdef QUANTUM_PAINTER_LD7032_I2C_ENABLE
+bool ld7032_comms_i2c_send_command_and_data(painter_device_t device, uint8_t cmd, uint8_t data) {
uint8_t buf[2] = {cmd, data};
- qp_comms_i2c_send_data(device, buf, 2);
+ return qp_comms_i2c_send_data(device, buf, 2);
}
-void ld7032_comms_i2c_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
+bool ld7032_comms_i2c_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
uint8_t buf[32];
for (size_t i = 0; i < sequence_len;) {
uint8_t command = sequence[i];
@@ -38,12 +39,16 @@ void ld7032_comms_i2c_bulk_command_sequence(painter_device_t device, const uint8
uint8_t num_bytes = sequence[i + 2];
buf[0] = command;
memcpy(&buf[1], &sequence[i + 3], num_bytes);
- qp_comms_i2c_send_data(device, buf, num_bytes + 1);
+ if (!qp_comms_i2c_send_data(device, buf, num_bytes + 1)) {
+ return false;
+ }
if (delay > 0) {
wait_ms(delay);
}
i += (3 + num_bytes);
}
+
+ return true;
}
uint32_t ld7032_comms_i2c_send_command_and_databuf(painter_device_t device, uint8_t cmd, const void *data, uint32_t byte_count) {
@@ -53,6 +58,7 @@ uint32_t ld7032_comms_i2c_send_command_and_databuf(painter_device_t device, uint
memcpy(&buf[1], data, byte_count);
return qp_comms_send(device, buf, byte_count + 1);
}
+#endif // QUANTUM_PAINTER_LD7032_I2C_ENABLE
// Power control
bool qp_ld7032_power(painter_device_t device, bool power_on) {
@@ -201,7 +207,9 @@ __attribute__((weak)) bool qp_ld7032_init(painter_device_t device, painter_rotat
};
// clang-format on
- qp_comms_bulk_command_sequence(device, ld7032_init_sequence, sizeof(ld7032_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, ld7032_init_sequence, sizeof(ld7032_init_sequence))) {
+ return false;
+ }
uint8_t display_y_start = 40 - driver->oled.base.panel_height;
uint8_t display_x_start = (128 - driver->oled.base.panel_width) / 2;
@@ -223,7 +231,9 @@ __attribute__((weak)) bool qp_ld7032_init(painter_device_t device, painter_rotat
ld7032_memory_setup[13] = ld7032_memory_setup[4] + 1;
ld7032_memory_setup[17] = driver->oled.base.panel_height;
- qp_comms_bulk_command_sequence(device, ld7032_memory_setup, sizeof(ld7032_memory_setup));
+ if (!qp_comms_bulk_command_sequence(device, ld7032_memory_setup, sizeof(ld7032_memory_setup))) {
+ return false;
+ }
uint8_t write_direction = 0;
switch (rotation) {
@@ -245,7 +255,9 @@ __attribute__((weak)) bool qp_ld7032_init(painter_device_t device, painter_rotat
painter_driver_t * pdriver = (painter_driver_t *)device;
ld7032_comms_with_command_vtable_t *comms_vtable = (ld7032_comms_with_command_vtable_t *)pdriver->comms_vtable;
- comms_vtable->send_command_data(device, LD7032_WRITE_DIRECTION, write_direction);
+ if (!comms_vtable->send_command_data(device, LD7032_WRITE_DIRECTION, write_direction)) {
+ return false;
+ }
qp_ld7032_power(device, true);
diff --git a/drivers/painter/sh1106/qp_sh1106.c b/drivers/painter/sh1106/qp_sh1106.c
index 4117115aec..85da4a973a 100644
--- a/drivers/painter/sh1106/qp_sh1106.c
+++ b/drivers/painter/sh1106/qp_sh1106.c
@@ -71,8 +71,7 @@ __attribute__((weak)) bool qp_sh1106_init(painter_device_t device, painter_rotat
sh1106_init_sequence[20] = 0x02;
}
- qp_comms_bulk_command_sequence(device, sh1106_init_sequence, sizeof(sh1106_init_sequence));
- return true;
+ return qp_comms_bulk_command_sequence(device, sh1106_init_sequence, sizeof(sh1106_init_sequence));
}
// Screen flush
diff --git a/drivers/painter/sh1107/qp_sh1107.c b/drivers/painter/sh1107/qp_sh1107.c
index f4cbd49e40..0b48690803 100644
--- a/drivers/painter/sh1107/qp_sh1107.c
+++ b/drivers/painter/sh1107/qp_sh1107.c
@@ -73,8 +73,7 @@ __attribute__((weak)) bool qp_sh1107_init(painter_device_t device, painter_rotat
sh1107_init_sequence[20] = 0x02;
}
- qp_comms_bulk_command_sequence(device, sh1107_init_sequence, sizeof(sh1107_init_sequence));
- return true;
+ return qp_comms_bulk_command_sequence(device, sh1107_init_sequence, sizeof(sh1107_init_sequence));
}
// Screen flush
diff --git a/drivers/painter/ssd1351/qp_ssd1351.c b/drivers/painter/ssd1351/qp_ssd1351.c
index 3270a362c2..3f652e674e 100644
--- a/drivers/painter/ssd1351/qp_ssd1351.c
+++ b/drivers/painter/ssd1351/qp_ssd1351.c
@@ -44,7 +44,9 @@ __attribute__((weak)) bool qp_ssd1351_init(painter_device_t device, painter_rota
SSD1351_DISPLAYON, 5, 0,
};
// clang-format on
- qp_comms_bulk_command_sequence(device, ssd1351_init_sequence, sizeof(ssd1351_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, ssd1351_init_sequence, sizeof(ssd1351_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -53,10 +55,10 @@ __attribute__((weak)) bool qp_ssd1351_init(painter_device_t device, painter_rota
[QP_ROTATION_180] = SSD1351_MADCTL_BGR | SSD1351_MADCTL_MX,
[QP_ROTATION_270] = SSD1351_MADCTL_BGR | SSD1351_MADCTL_MV,
};
- qp_comms_command_databyte(device, SSD1351_SETREMAP, madctl[rotation]);
- qp_comms_command_databyte(device, SSD1351_STARTLINE, (rotation == QP_ROTATION_0 || rotation == QP_ROTATION_90) ? driver->base.panel_height : 0);
-
- return true;
+ if (!qp_comms_command_databyte(device, SSD1351_SETREMAP, madctl[rotation])) {
+ return false;
+ }
+ return qp_comms_command_databyte(device, SSD1351_STARTLINE, (rotation == QP_ROTATION_0 || rotation == QP_ROTATION_90) ? driver->base.panel_height : 0);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/drivers/painter/st77xx/qp_st7735.c b/drivers/painter/st77xx/qp_st7735.c
index 1db0d01dcb..9e3df477c8 100644
--- a/drivers/painter/st77xx/qp_st7735.c
+++ b/drivers/painter/st77xx/qp_st7735.c
@@ -63,7 +63,9 @@ __attribute__((weak)) bool qp_st7735_init(painter_device_t device, painter_rotat
ST77XX_CMD_DISPLAY_ON, 20, 0
};
// clang-format on
- qp_comms_bulk_command_sequence(device, st7735_init_sequence, sizeof(st7735_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, st7735_init_sequence, sizeof(st7735_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -72,7 +74,9 @@ __attribute__((weak)) bool qp_st7735_init(painter_device_t device, painter_rotat
[QP_ROTATION_180] = ST77XX_MADCTL_BGR | ST77XX_MADCTL_MX | ST77XX_MADCTL_MY,
[QP_ROTATION_270] = ST77XX_MADCTL_BGR | ST77XX_MADCTL_MV | ST77XX_MADCTL_MY,
};
- qp_comms_command_databyte(device, ST77XX_SET_MADCTL, madctl[rotation]);
+ if (!qp_comms_command_databyte(device, ST77XX_SET_MADCTL, madctl[rotation])) {
+ return false;
+ }
#ifndef ST7735_NO_AUTOMATIC_VIEWPORT_OFFSETS
st7735_automatic_viewport_offsets(device, rotation);
diff --git a/drivers/painter/st77xx/qp_st7789.c b/drivers/painter/st77xx/qp_st7789.c
index 855a9cc0c8..b4e24886da 100644
--- a/drivers/painter/st77xx/qp_st7789.c
+++ b/drivers/painter/st77xx/qp_st7789.c
@@ -60,7 +60,9 @@ __attribute__((weak)) bool qp_st7789_init(painter_device_t device, painter_rotat
ST77XX_CMD_DISPLAY_ON, 20, 0
};
// clang-format on
- qp_comms_bulk_command_sequence(device, st7789_init_sequence, sizeof(st7789_init_sequence));
+ if (!qp_comms_bulk_command_sequence(device, st7789_init_sequence, sizeof(st7789_init_sequence))) {
+ return false;
+ }
// Configure the rotation (i.e. the ordering and direction of memory writes in GRAM)
const uint8_t madctl[] = {
@@ -69,7 +71,9 @@ __attribute__((weak)) bool qp_st7789_init(painter_device_t device, painter_rotat
[QP_ROTATION_180] = ST77XX_MADCTL_RGB | ST77XX_MADCTL_MX | ST77XX_MADCTL_MY,
[QP_ROTATION_270] = ST77XX_MADCTL_RGB | ST77XX_MADCTL_MV | ST77XX_MADCTL_MY,
};
- qp_comms_command_databyte(device, ST77XX_SET_MADCTL, madctl[rotation]);
+ if (!qp_comms_command_databyte(device, ST77XX_SET_MADCTL, madctl[rotation])) {
+ return false;
+ }
#ifndef ST7789_NO_AUTOMATIC_VIEWPORT_OFFSETS
st7789_automatic_viewport_offsets(device, rotation);
diff --git a/drivers/sensors/pmw33xx_common.c b/drivers/sensors/pmw33xx_common.c
index 61e309ea27..95d0fe6b4b 100644
--- a/drivers/sensors/pmw33xx_common.c
+++ b/drivers/sensors/pmw33xx_common.c
@@ -108,7 +108,7 @@ __attribute__((weak)) bool pmw33xx_check_signature(uint8_t sensor) {
pmw33xx_read(sensor, REG_Inverse_Product_ID),
};
- return memcmp(pmw33xx_firmware_signature, signature_dump, sizeof(signature_dump)) == 0;
+ return memcmp_P(signature_dump, pmw33xx_firmware_signature, sizeof(signature_dump)) == 0;
}
bool pmw33xx_upload_firmware(uint8_t sensor) {
diff --git a/keyboards/cornifi/config.h b/keyboards/cornifi/config.h
new file mode 100644
index 0000000000..36750714de
--- /dev/null
+++ b/keyboards/cornifi/config.h
@@ -0,0 +1,14 @@
+// Copyright 2024-2025 QMK
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#define SERIAL_USART_FULL_DUPLEX
+#define SERIAL_USART_TX_PIN GP12
+#define SERIAL_USART_RX_PIN GP13
+#define USB_VBUS_PIN GP24
+
+/* RP2040- and hardware-specific config */
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
+#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
diff --git a/keyboards/cornifi/keyboard.json b/keyboards/cornifi/keyboard.json
new file mode 100644
index 0000000000..68e062ad33
--- /dev/null
+++ b/keyboards/cornifi/keyboard.json
@@ -0,0 +1,96 @@
+{
+ "manufacturer": "v3lmx",
+ "keyboard_name": "cornifi",
+ "maintainer": "v3lmx",
+ "bootloader": "rp2040",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
+ "matrix_pins": {
+ "direct": [
+ ["GP21", "GP25", "GP26", "GP28", "GP29", "GP5"],
+ ["GP20", "GP22", "GP27", "GP2", "GP3", "GP8"],
+ ["GP19", "GP23", "GP1", "GP0", "GP4", null],
+ [null, null, "GP16", "GP17", "GP18", null]
+ ]
+ },
+ "processor": "RP2040",
+ "split": {
+ "bootmagic": {
+ "matrix": [4, 0]
+ },
+ "enabled": true,
+ "matrix_pins": {
+ "right": {
+ "direct": [
+ ["GP9", "GP8", "GP4", "GP3", "GP2", "GP25"],
+ ["GP10", "GP6", "GP1", "GP28", "GP27", "GP21"],
+ ["GP11", "GP5", "GP0", "GP29", "GP26", null],
+ [null, null, "GP16", "GP17", "GP18", null]
+ ]
+ }
+ },
+ "serial": {
+ "driver": "vendor"
+ }
+ },
+ "url": "https://github.com/v3lmx/cornifi",
+ "usb": {
+ "device_version": "1.0.0",
+ "pid": "0x0000",
+ "vid": "0xFEED"
+ },
+ "layout_aliases": {
+ "LAYOUT": "LAYOUT_split_3x5_3_ex2"
+ },
+ "layouts": {
+ "LAYOUT_split_3x5_3_ex2": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0.9},
+ {"matrix": [0, 1], "x": 1, "y": 0.3},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0.35},
+ {"matrix": [0, 4], "x": 4, "y": 0.45},
+ {"matrix": [0, 5], "x": 5, "y": 0.7},
+ {"matrix": [4, 5], "x": 8, "y": 0.7},
+ {"matrix": [4, 4], "x": 9, "y": 0.45},
+ {"matrix": [4, 3], "x": 10, "y": 0.35},
+ {"matrix": [4, 2], "x": 11, "y": 0},
+ {"matrix": [4, 1], "x": 12, "y": 0.3},
+ {"matrix": [4, 0], "x": 13, "y": 0.9},
+ {"matrix": [1, 0], "x": 0, "y": 1.9},
+ {"matrix": [1, 1], "x": 1, "y": 1.3},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1.35},
+ {"matrix": [1, 4], "x": 4, "y": 1.45},
+ {"matrix": [1, 5], "x": 5, "y": 1.7},
+ {"matrix": [5, 5], "x": 8, "y": 1.7},
+ {"matrix": [5, 4], "x": 9, "y": 1.45},
+ {"matrix": [5, 3], "x": 10, "y": 1.35},
+ {"matrix": [5, 2], "x": 11, "y": 1},
+ {"matrix": [5, 1], "x": 12, "y": 1.3},
+ {"matrix": [5, 0], "x": 13, "y": 1.9},
+ {"matrix": [2, 0], "x": 0, "y": 2.9},
+ {"matrix": [2, 1], "x": 1, "y": 2.3},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2.35},
+ {"matrix": [2, 4], "x": 4, "y": 2.45},
+ {"matrix": [6, 4], "x": 9, "y": 2.45},
+ {"matrix": [6, 3], "x": 10, "y": 2.35},
+ {"matrix": [6, 2], "x": 11, "y": 2},
+ {"matrix": [6, 1], "x": 12, "y": 2.3},
+ {"matrix": [6, 0], "x": 13, "y": 2.9},
+ {"matrix": [3, 2], "x": 3, "y": 3.7},
+ {"matrix": [3, 3], "x": 4, "y": 3.7},
+ {"matrix": [3, 4], "x": 5, "y": 3.2, "h": 1.5},
+ {"matrix": [7, 4], "x": 8, "y": 3.2, "h": 1.5},
+ {"matrix": [7, 3], "x": 9, "y": 3.7},
+ {"matrix": [7, 2], "x": 10, "y": 3.7}
+ ]
+ }
+ }
+}
diff --git a/keyboards/cornifi/keymaps/default/keymap.c b/keyboards/cornifi/keymaps/default/keymap.c
new file mode 100644
index 0000000000..207db11738
--- /dev/null
+++ b/keyboards/cornifi/keymaps/default/keymap.c
@@ -0,0 +1,27 @@
+// Copyright 2025 @v3lmx
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ // clang-format off
+ [0] = LAYOUT_split_3x5_3_ex2(
+ KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P,
+ KC_A, KC_S, KC_D, KC_F, KC_G, XXXXXXX, XXXXXXX, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,
+ KC_ESC, MO(1), KC_TAB, KC_ENT, MO(2), KC_BSPC
+ ),
+ [1] = LAYOUT_split_3x5_3_ex2(
+ KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0,
+ XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,_______, _______, KC_LEFT,KC_DOWN,KC_UP, KC_RIGHT,XXXXXXX,
+ XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
+ KC_LGUI,_______,KC_SPC, KC_ENT, XXXXXXX, KC_RALT
+ ),
+ [2] = LAYOUT_split_3x5_3_ex2(
+ KC_EXLM, KC_AT,KC_HASH, KC_DLR, KC_PERC,_______, _______, KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN,
+ XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,_______, _______, KC_MINS,KC_EQL, KC_LBRC,KC_RBRC,KC_BSLS,
+ XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, KC_UNDS,KC_PLUS,KC_LCBR,KC_RCBR,KC_PIPE,
+ KC_LGUI,XXXXXXX, KC_SPC, KC_ENT, _______,KC_RALT
+ )
+ // clang-format on
+};
diff --git a/keyboards/cornifi/readme.md b/keyboards/cornifi/readme.md
new file mode 100644
index 0000000000..3c4022e5ac
--- /dev/null
+++ b/keyboards/cornifi/readme.md
@@ -0,0 +1,32 @@
+# cornifi
+
+
+
+The cornifi keyboard is a split keyboard based on the [corne](https://github.com/foostan/crkbd) with the physical layout of the [fifi](https://github.com/raychengy/fifi_split_keeb).
+
+* Keyboard Maintainer: [v3lmx (github)](https://github.com/v3lmx)
+* Hardware Availability: [v3lmx/cornifi (github)](https://github.com/v3lmx/cornifi)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make cornifi:default
+
+Flashing example for this keyboard:
+
+ make cornifi:default:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
+* **Physical reset button**: Hold down the `boot` button and press the `reset` button
+* **Keycode in layout**: Press the key mapped to `TD_BOOT` twice if it is available
+
+## Keymap
+
+It is recommended to make your own keymap using the [external userspace feature(https://docs.qmk.fm/newbs_external_userspace).
+
+You can find an example here: [v3lmx qmk userspace](https://github.com/v3lmx/qmk_userspace)
diff --git a/keyboards/mkbd65/README.md b/keyboards/mkbd65/README.md
new file mode 100644
index 0000000000..817bde28b3
--- /dev/null
+++ b/keyboards/mkbd65/README.md
@@ -0,0 +1,41 @@
+
+
+# mkbd65
+
+A mobile keyboard addon for modern smartphones.
+
+- Keyboard Maintainer: [XenGi](https://xengi.de)
+- Hardware Supported: [mkbd65 PCB](https://gitlab.com/mkbd65/pcb)
+- Hardware Availability: -
+
+Flashing this keyboard with `en-us-intl` layout (after setting up your build environment):
+
+```
+qmk flash -kb mkbd65:rev1 -km en-us-intl
+```
+
+Available layouts:
+
+ - en-us-intl (ansi)
+ - de (iso)
+
+You can find community provided layouts here: https://gitlab.com/mkbd65/community
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+---
+
+Copyright 2023 XenGi mkbd65@xengi.de @XenGi
+
+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 .
diff --git a/keyboards/mkbd65/config.h b/keyboards/mkbd65/config.h
new file mode 100644
index 0000000000..4b3907c132
--- /dev/null
+++ b/keyboards/mkbd65/config.h
@@ -0,0 +1,12 @@
+// Copyright 2023 XenGi
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+// optimize firmware
+#undef LOCKING_SUPPORT_ENABLE
+#undef LOCKING_RESYNC_ENABLE
+#define LAYER_STATE_8BIT
+
+// disable features to save on code size
+#define NO_ACTION_TAPPING
+#define NO_ACTION_ONESHOT
+
diff --git a/keyboards/mkbd65/keymaps/ansi/README.md b/keyboards/mkbd65/keymaps/ansi/README.md
new file mode 100644
index 0000000000..f68aaf41fc
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/ansi/README.md
@@ -0,0 +1,59 @@
+# The English US International keymap for mkbd65 rev0 by XenGi
+
+This is the default layout for the mkbd65 keyboard. You can use it as a reference for other layouts.
+
+It is based on the "English (intl., with AltGr dead keys)" layout.
+
+This is the key matrix (no label means the key from layer 0 will be used):
+
+```
+0: no mod
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║ 0 ║Backspace║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ q ║ w ║ e ║ r ║ t ║ y ║ u ║ i ║ o ║ p ║ [ ║ ] ║ \ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ a ║ s ║ d ║ f ║ g ║ h ║ j ║ k ║ l ║ ; ║ ' ║ Return ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ z ║ x ║ c ║ v ║ b ║ n ║ m ║ , ║ . ║ / ║ ▲ ║ Shift ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║Ctrl║ Fn ║Shft║AltG║ Space ║ - ║ = ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+1: mod shift
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ~ ║ ! ║ @ ║ # ║ $ ║ % ║ ^ ║ & ║ * ║ ( ║ ) ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ Q ║ W ║ E ║ R ║ T ║ Y ║ U ║ I ║ O ║ P ║ { ║ } ║ | ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ A ║ S ║ D ║ F ║ G ║ H ║ J ║ K ║ L ║ : ║ " ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ Z ║ X ║ C ║ V ║ B ║ N ║ M ║ < ║ > ║ ? ║ ║░░░░░░░░░║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║░░░░║ ║ ║ _ ║ + ║ ║ ║ ║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+2: mod altgr
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ║ ¹ ║ ² ║ ³ ║ ║ € ║ ║ ║ ║ ║ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ ä ║ ║ ║ ║ ║ ü ║ ║ ║ ║ ö ║ « ║ » ║ ¬ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ ║ ß ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ ║ ║ ║ ║ ║ ║ µ ║ ║ ║ ¿ ║ ║ ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║ ║░░░░║ ║ ║ ║ ║ ║ ║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+3: mod fn
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ F1 ║ F2 ║ F3 ║ F4 ║ F5 ║ F6 ║ F7 ║ F8 ║ F9 ║ F10║ Delete ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ F11║ F12║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ` ║ Super ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║PgUp║ ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║ ║░░░░║ ║ ║ Tab ║ ║ ║Pos1║PgDn║ End║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+```
+
diff --git a/keyboards/mkbd65/keymaps/ansi/keymap.c b/keyboards/mkbd65/keymaps/ansi/keymap.c
new file mode 100644
index 0000000000..b023feab91
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/ansi/keymap.c
@@ -0,0 +1,23 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+#include "quantum.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_ansi( /* Base layer */
+ QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
+ 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_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT,
+ KC_LCTL, MO(1), KC_LSFT, OSM(MOD_RALT), KC_SPC, KC_MINS, KC_EQL, KC_LEFT, KC_DOWN, KC_RGHT, KC_RCTL
+ ),
+
+ [1] = LAYOUT_ansi( /* Function layer */
+ QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, KC_APP,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_GRV, KC_LGUI,
+ _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PGUP, _______,
+ _______, _______, _______, _______, KC_TAB, _______, _______, KC_HOME, KC_PGDN, KC_END, _______
+ )
+};
diff --git a/keyboards/mkbd65/keymaps/de/README.md b/keyboards/mkbd65/keymaps/de/README.md
new file mode 100644
index 0000000000..c37325f914
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/de/README.md
@@ -0,0 +1,57 @@
+# The German keymap for mkbd65 rev1 by XenGi
+
+This is the german layout for the mkbd65 keyboard. You can use it as a reference for other ISO based layouts.
+
+This is the key matrix (no label means the key from layer 0 will be used):
+
+```
+0: no mod
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║ 0 ║Backspace║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ q ║ w ║ e ║ r ║ t ║ z ║ u ║ i ║ o ║ p ║ ü ║ + ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ Ret║
+║ a ║ s ║ d ║ f ║ g ║ h ║ j ║ k ║ l ║ ö ║ ä ║ # ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣
+║ y ║ x ║ c ║ v ║ b ║ n ║ m ║ , ║ . ║ - ║ ▲ ║ < ║Shft║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╬════╣
+║Ctrl║ Fn ║Shft║AltG║ Space ║ ß ║ ´ ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+1: mod shift
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ° ║ ! ║ " ║ § ║ $ ║ % ║ & ║ / ║ ( ║ ) ║ = ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ Q ║ W ║ E ║ R ║ T ║ Y ║ U ║ I ║ O ║ P ║ Ü ║ * ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ ║
+║ A ║ S ║ D ║ F ║ G ║ H ║ J ║ K ║ L ║ Ö ║ Ä ║ ' ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣
+║ Z ║ X ║ C ║ V ║ B ║ N ║ M ║ ; ║ : ║ _ ║ ║ > ║░░░░║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╬════╣
+║ ║ ║░░░░║ ║ ║ ? ║ ` ║ ║ ║ ║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+2: mod altgr
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ║ ¹ ║ ² ║ ³ ║ ║ ║ ║ { ║ [ ║ ] ║ } ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ @ ║ ║ € ║ ║ ║ ║ ║ ║ ║ ║ ║ ~ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ ║
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣
+║ ║ ║ ║ ║ ║ ║ µ ║ ║ ║ ║ ║ | ║ ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╬════╣
+║ ║ ║ ║░░░░║ ║ \ ║ ║ ║ ║ ║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+3: mod fn
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ F1 ║ F2 ║ F3 ║ F4 ║ F5 ║ F6 ║ F7 ║ F8 ║ F9 ║ F10║ Delete ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ F11║ F12║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣Supr║
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ^ ║ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║PgUp║ ║ ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╬════╣
+║ ║░░░░║ ║ ║ Tab ║ ║ ║Pos1║PgDn║ End║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+```
+
diff --git a/keyboards/mkbd65/keymaps/de/keymap.c b/keyboards/mkbd65/keymaps/de/keymap.c
new file mode 100644
index 0000000000..6ba90e876f
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/de/keymap.c
@@ -0,0 +1,23 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+#include "keymap_german.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT( /* Base layer */
+ QK_GESC, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, KC_BSPC, KC_BSPC,
+ DE_Q, DE_W, DE_E, DE_R, DE_T, DE_Z, DE_U, DE_I, DE_O, DE_P, DE_UDIA, DE_PLUS, KC_ENT,
+ DE_A, DE_S, DE_D, DE_F, DE_G, DE_H, DE_J, DE_K, DE_L, DE_ODIA, DE_ADIA, DE_HASH, KC_ENT,
+ DE_Y, DE_X, DE_C, DE_V, DE_B, DE_N, DE_M, DE_COMM, DE_DOT, DE_MINS, KC_UP, DE_LABK, KC_RSFT,
+ KC_LCTL, MO(1), KC_LSFT, OSM(MOD_RALT), KC_SPC, KC_SPC, KC_SPC, DE_SS, DE_ACUT, KC_LEFT, KC_DOWN, KC_RGHT, KC_RCTL
+ ),
+
+ [1] = LAYOUT( /* Function layer */
+ QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, KC_DEL,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, KC_APP,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_GRV, KC_LGUI, KC_LGUI,
+ _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PGUP, _______, _______,
+ _______, _______, _______, _______, KC_TAB, KC_TAB, KC_TAB, _______, _______, KC_HOME, KC_PGDN, KC_END, _______
+ )
+};
diff --git a/keyboards/mkbd65/keymaps/en_us_intl/README.md b/keyboards/mkbd65/keymaps/en_us_intl/README.md
new file mode 100644
index 0000000000..f68aaf41fc
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/en_us_intl/README.md
@@ -0,0 +1,59 @@
+# The English US International keymap for mkbd65 rev0 by XenGi
+
+This is the default layout for the mkbd65 keyboard. You can use it as a reference for other layouts.
+
+It is based on the "English (intl., with AltGr dead keys)" layout.
+
+This is the key matrix (no label means the key from layer 0 will be used):
+
+```
+0: no mod
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║ 0 ║Backspace║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ q ║ w ║ e ║ r ║ t ║ y ║ u ║ i ║ o ║ p ║ [ ║ ] ║ \ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ a ║ s ║ d ║ f ║ g ║ h ║ j ║ k ║ l ║ ; ║ ' ║ Return ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ z ║ x ║ c ║ v ║ b ║ n ║ m ║ , ║ . ║ / ║ ▲ ║ Shift ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║Ctrl║ Fn ║Shft║AltG║ Space ║ - ║ = ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+1: mod shift
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ~ ║ ! ║ @ ║ # ║ $ ║ % ║ ^ ║ & ║ * ║ ( ║ ) ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ Q ║ W ║ E ║ R ║ T ║ Y ║ U ║ I ║ O ║ P ║ { ║ } ║ | ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ A ║ S ║ D ║ F ║ G ║ H ║ J ║ K ║ L ║ : ║ " ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ Z ║ X ║ C ║ V ║ B ║ N ║ M ║ < ║ > ║ ? ║ ║░░░░░░░░░║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║░░░░║ ║ ║ _ ║ + ║ ║ ║ ║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+2: mod altgr
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ║ ¹ ║ ² ║ ³ ║ ║ € ║ ║ ║ ║ ║ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ ä ║ ║ ║ ║ ║ ü ║ ║ ║ ║ ö ║ « ║ » ║ ¬ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ ║ ß ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ ║ ║ ║ ║ ║ ║ µ ║ ║ ║ ¿ ║ ║ ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║ ║░░░░║ ║ ║ ║ ║ ║ ║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+3: mod fn
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ F1 ║ F2 ║ F3 ║ F4 ║ F5 ║ F6 ║ F7 ║ F8 ║ F9 ║ F10║ Delete ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ F11║ F12║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ` ║ Super ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬═════════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║PgUp║ ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║ ║░░░░║ ║ ║ Tab ║ ║ ║Pos1║PgDn║ End║ ║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+```
+
diff --git a/keyboards/mkbd65/keymaps/en_us_intl/keymap.c b/keyboards/mkbd65/keymaps/en_us_intl/keymap.c
new file mode 100644
index 0000000000..96d7855ff8
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/en_us_intl/keymap.c
@@ -0,0 +1,22 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_all( /* Base layer */
+ QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, KC_BSPC,
+ 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_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_ENT,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT, KC_RSFT,
+ KC_LCTL, MO(1), KC_LSFT, OSM(MOD_RALT), KC_SPC, KC_SPC, KC_SPC, KC_MINS, KC_EQL, KC_LEFT, KC_DOWN, KC_RGHT, KC_RCTL
+ ),
+
+ [1] = LAYOUT_all( /* Function layer */
+ QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, KC_DEL,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, KC_APP,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_GRV, KC_LGUI, KC_LGUI,
+ _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PGUP, _______, _______,
+ _______, _______, _______, _______, KC_TAB, KC_TAB, KC_TAB, _______, _______, KC_HOME, KC_PGDN, KC_END, _______
+ )
+};
diff --git a/keyboards/mkbd65/keymaps/iso/README.md b/keyboards/mkbd65/keymaps/iso/README.md
new file mode 100644
index 0000000000..9a5f9b176f
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/iso/README.md
@@ -0,0 +1,55 @@
+# The iso-like keymap for mkbd65 rev0
+
+It's actually just ANSI but with an upright `Enter` key.
+
+```
+0: no mod
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ 1 ║ 2 ║ 3 ║ 4 ║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║ 0 ║Backspace║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ q ║ w ║ e ║ r ║ t ║ y ║ u ║ i ║ o ║ p ║ [ ║ ] ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ Ret║
+║ a ║ s ║ d ║ f ║ g ║ h ║ j ║ k ║ l ║ ; ║ ' ║ \ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ z ║ x ║ c ║ v ║ b ║ n ║ m ║ , ║ . ║ / ║ ▲ ║ Shift ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║Ctrl║ Fn ║Shft║AltG║ SPACE ║ - ║ = ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+1: mod shift
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ~ ║ ! ║ @ ║ # ║ $ ║ % ║ ^ ║ & ║ * ║ ( ║ ) ║Backspace║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ Q ║ W ║ E ║ R ║ T ║ Y ║ U ║ I ║ O ║ P ║ { ║ } ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ Ret║
+║ A ║ S ║ D ║ F ║ G ║ H ║ J ║ K ║ L ║ : ║ " ║ | ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ Z ║ X ║ C ║ V ║ B ║ N ║ M ║ < ║ > ║ ? ║ ▲ ║░░░░░░░░░║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║Ctrl║ Fn ║░░░░║AltG║ SPACE ║ _ ║ + ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+2: mod alt
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ ║ ¹ ║ ² ║ ³ ║ ║ € ║ ║ ║ ║ ║ ║Backspace║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ ä ║ ║ ║ ║ ║ ü ║ ║ ║ ║ ö ║ « ║ » ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣ Ret║
+║ ║ ß ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ¬ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ ║ ║ ║ ║ ║ ║ µ ║ ║ ║ ¿ ║ ▲ ║ Shift ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║Ctrl║ Fn ║Shft║░░░░║ SPACE ║ ║ ║ ◀ ║ ▼ ║ ▶ ║Ctrl║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+3: mod fn
+╔════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦════╦═════════╗
+║ Esc║ F1 ║ F2 ║ F3 ║ F4 ║ F5 ║ F6 ║ F7 ║ F8 ║ F9 ║ F10║ Delete ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╦════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ F11║ F12║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╣Supr║
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║
+╠════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╬════╩════╣
+║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║PgUp║ Shift ║
+╠════╬════╬════╬════╬════╩════╩════╬════╬════╬════╬════╬════╦════╣
+║Ctrl║░░░░║Shft║AltG║ Tab ║ ║ ` ║Pos1║PgDn║ End║Ctrl║
+╚════╩════╩════╩════╩══════════════╩════╩════╩════╩════╩════╩════╝
+```
+
diff --git a/keyboards/mkbd65/keymaps/iso/keymap.c b/keyboards/mkbd65/keymaps/iso/keymap.c
new file mode 100644
index 0000000000..a7dd99463e
--- /dev/null
+++ b/keyboards/mkbd65/keymaps/iso/keymap.c
@@ -0,0 +1,22 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_iso( /* Base layer */
+ QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
+ 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_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT,
+ KC_LCTL, MO(1), KC_LSFT, OSM(MOD_RALT), KC_SPC, KC_MINS, KC_EQL, KC_LEFT, KC_DOWN, KC_RGHT, KC_RCTL
+ ),
+
+ [1] = LAYOUT_iso( /* Function layer */
+ QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_GRV, KC_APP, KC_LGUI,
+ _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PGUP, _______,
+ _______, _______, _______, _______, KC_TAB, _______, _______, KC_HOME, KC_PGDN, KC_END, _______
+ ),
+};
diff --git a/keyboards/mkbd65/mkbd65.png b/keyboards/mkbd65/mkbd65.png
new file mode 100644
index 0000000000..b873771c74
Binary files /dev/null and b/keyboards/mkbd65/mkbd65.png differ
diff --git a/keyboards/mkbd65/rev0/keyboard.json b/keyboards/mkbd65/rev0/keyboard.json
new file mode 100644
index 0000000000..35269aaa5c
--- /dev/null
+++ b/keyboards/mkbd65/rev0/keyboard.json
@@ -0,0 +1,174 @@
+{
+ "manufacturer": "XenGi",
+ "keyboard_name": "mkbd65",
+ "maintainer": "XenGi",
+ "bootloader": "atmel-dfu",
+ "bootloader_instructions": "Press the button marked RESET on the back of the PCB",
+ "bootmagic": {
+ "enabled": true,
+ "matrix": [0, 0]
+ },
+ "build": {
+ "lto": true
+ },
+ "debounce": 5,
+ "diode_direction": "ROW2COL",
+ "encoder": {
+ "enabled": false
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgb_matrix": false,
+ "rgblight": false
+ },
+ "matrix_pins": {
+ "cols": ["D4", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
+ "rows": ["D5", "D3", "D2", "D1", "D0"]
+ },
+ "processor": "atmega32u4",
+ "split": {
+ "enabled": false
+ },
+ "tags": ["mobile", "65%"],
+ "url": "https://mkbd65.xengi.de",
+ "usb": {
+ "device_version": "0.0.1",
+ "pid": "0x4803",
+ "vid": "0x1209"
+ },
+ "layouts": {
+ "LAYOUT_ansi": {
+ "layout": [
+ {"label": "Esc", "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": "Backspace", "matrix": [0, 11], "x": 11, "y": 0, "w": 2},
+ {"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
+ {"label": "W", "matrix": [1, 1], "x": 1, "y": 1},
+ {"label": "E", "matrix": [1, 2], "x": 1, "y": 2},
+ {"label": "R", "matrix": [1, 3], "x": 1, "y": 3},
+ {"label": "T", "matrix": [1, 4], "x": 1, "y": 4},
+ {"label": "Y", "matrix": [1, 5], "x": 1, "y": 5},
+ {"label": "U", "matrix": [1, 6], "x": 1, "y": 6},
+ {"label": "I", "matrix": [1, 7], "x": 1, "y": 7},
+ {"label": "O", "matrix": [1, 8], "x": 1, "y": 8},
+ {"label": "P", "matrix": [1, 9], "x": 1, "y": 9},
+ {"label": "[", "matrix": [1, 10], "x": 1, "y": 10},
+ {"label": "]", "matrix": [1, 11], "x": 1, "y": 11},
+ {"label": "\\", "matrix": [1, 12], "x": 1, "y": 12},
+ {"label": "A", "matrix": [2, 0], "x": 2, "y": 0},
+ {"label": "S", "matrix": [2, 1], "x": 2, "y": 1},
+ {"label": "D", "matrix": [2, 2], "x": 2, "y": 2},
+ {"label": "F", "matrix": [2, 3], "x": 2, "y": 3},
+ {"label": "G", "matrix": [2, 4], "x": 2, "y": 4},
+ {"label": "H", "matrix": [2, 5], "x": 2, "y": 5},
+ {"label": "J", "matrix": [2, 6], "x": 2, "y": 6},
+ {"label": "K", "matrix": [2, 7], "x": 2, "y": 7},
+ {"label": "L", "matrix": [2, 8], "x": 2, "y": 8},
+ {"label": ";", "matrix": [2, 9], "x": 2, "y": 9},
+ {"label": "'", "matrix": [2, 10], "x": 2, "y": 10},
+ {"label": "Enter", "matrix": [2, 11], "x": 2, "y": 11, "w": 2},
+ {"label": "Z", "matrix": [3, 0], "x": 3, "y": 0},
+ {"label": "X", "matrix": [3, 1], "x": 3, "y": 1},
+ {"label": "C", "matrix": [3, 2], "x": 3, "y": 2},
+ {"label": "V", "matrix": [3, 3], "x": 3, "y": 3},
+ {"label": "B", "matrix": [3, 4], "x": 3, "y": 4},
+ {"label": "N", "matrix": [3, 5], "x": 3, "y": 5},
+ {"label": "M", "matrix": [3, 6], "x": 3, "y": 6},
+ {"label": ",", "matrix": [3, 7], "x": 3, "y": 7},
+ {"label": ".", "matrix": [3, 8], "x": 3, "y": 8},
+ {"label": "/", "matrix": [3, 9], "x": 3, "y": 9},
+ {"label": "Up", "matrix": [3, 10], "x": 3, "y": 10},
+ {"label": "ShiftR", "matrix": [3, 11], "x": 3, "y": 11, "w": 2},
+ {"label": "CtrlL", "matrix": [4, 0], "x": 4, "y": 0},
+ {"label": "Fn", "matrix": [4, 1], "x": 4, "y": 1},
+ {"label": "ShiftL", "matrix": [4, 2], "x": 4, "y": 2},
+ {"label": "Alt", "matrix": [4, 3], "x": 4, "y": 3},
+ {"label": "Space", "matrix": [4, 4], "x": 4, "y": 4, "w": 3},
+ {"label": "-", "matrix": [4, 7], "x": 4, "y": 7},
+ {"label": "=", "matrix": [4, 8], "x": 4, "y": 8},
+ {"label": "Left", "matrix": [4, 9], "x": 4, "y": 9},
+ {"label": "Down", "matrix": [4, 10], "x": 4, "y": 10},
+ {"label": "Right", "matrix": [4, 11], "x": 4, "y": 11},
+ {"label": "CtrlR", "matrix": [4, 12], "x": 4, "y": 12}
+ ]
+ },
+ "LAYOUT_iso": {
+ "layout": [
+ {"label": "Esc", "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": "Backspace", "matrix": [0, 11], "x": 11, "y": 0, "w": 2},
+ {"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
+ {"label": "W", "matrix": [1, 1], "x": 1, "y": 1},
+ {"label": "E", "matrix": [1, 2], "x": 1, "y": 2},
+ {"label": "R", "matrix": [1, 3], "x": 1, "y": 3},
+ {"label": "T", "matrix": [1, 4], "x": 1, "y": 4},
+ {"label": "Y", "matrix": [1, 5], "x": 1, "y": 5},
+ {"label": "U", "matrix": [1, 6], "x": 1, "y": 6},
+ {"label": "I", "matrix": [1, 7], "x": 1, "y": 7},
+ {"label": "O", "matrix": [1, 8], "x": 1, "y": 8},
+ {"label": "P", "matrix": [1, 9], "x": 1, "y": 9},
+ {"label": "[", "matrix": [1, 10], "x": 1, "y": 10},
+ {"label": "]", "matrix": [1, 11], "x": 1, "y": 11},
+ {"label": "A", "matrix": [2, 0], "x": 2, "y": 0},
+ {"label": "S", "matrix": [2, 1], "x": 2, "y": 1},
+ {"label": "D", "matrix": [2, 2], "x": 2, "y": 2},
+ {"label": "F", "matrix": [2, 3], "x": 2, "y": 3},
+ {"label": "G", "matrix": [2, 4], "x": 2, "y": 4},
+ {"label": "H", "matrix": [2, 5], "x": 2, "y": 5},
+ {"label": "J", "matrix": [2, 6], "x": 2, "y": 6},
+ {"label": "K", "matrix": [2, 7], "x": 2, "y": 7},
+ {"label": "L", "matrix": [2, 8], "x": 2, "y": 8},
+ {"label": ";", "matrix": [2, 9], "x": 2, "y": 9},
+ {"label": "'", "matrix": [2, 10], "x": 2, "y": 10},
+ {"label": "\\", "matrix": [2, 11], "x": 2, "y": 11},
+ {"label": "Enter", "matrix": [1, 12], "x": 1, "y": 12, "h": 2},
+ {"label": "Z", "matrix": [3, 0], "x": 3, "y": 0},
+ {"label": "X", "matrix": [3, 1], "x": 3, "y": 1},
+ {"label": "C", "matrix": [3, 2], "x": 3, "y": 2},
+ {"label": "V", "matrix": [3, 3], "x": 3, "y": 3},
+ {"label": "B", "matrix": [3, 4], "x": 3, "y": 4},
+ {"label": "N", "matrix": [3, 5], "x": 3, "y": 5},
+ {"label": "M", "matrix": [3, 6], "x": 3, "y": 6},
+ {"label": ",", "matrix": [3, 7], "x": 3, "y": 7},
+ {"label": ".", "matrix": [3, 8], "x": 3, "y": 8},
+ {"label": "/", "matrix": [3, 9], "x": 3, "y": 9},
+ {"label": "Up", "matrix": [3, 10], "x": 3, "y": 10},
+ {"label": "ShiftR", "matrix": [3, 11], "x": 3, "y": 11, "w": 2},
+ {"label": "CtrlL", "matrix": [4, 0], "x": 4, "y": 0},
+ {"label": "Fn", "matrix": [4, 1], "x": 4, "y": 1},
+ {"label": "ShiftL", "matrix": [4, 2], "x": 4, "y": 2},
+ {"label": "Alt", "matrix": [4, 3], "x": 4, "y": 3},
+ {"label": "Space", "matrix": [4, 4], "x": 4, "y": 4, "w": 3},
+ {"label": "-", "matrix": [4, 7], "x": 4, "y": 7},
+ {"label": "=", "matrix": [4, 8], "x": 4, "y": 8},
+ {"label": "Left", "matrix": [4, 9], "x": 4, "y": 9},
+ {"label": "Down", "matrix": [4, 10], "x": 4, "y": 10},
+ {"label": "Right", "matrix": [4, 11], "x": 4, "y": 11},
+ {"label": "CtrlR", "matrix": [4, 12], "x": 4, "y": 12}
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/keyboards/mkbd65/rev0/mkbd65.c b/keyboards/mkbd65/rev0/mkbd65.c
new file mode 100644
index 0000000000..2cde260fa0
--- /dev/null
+++ b/keyboards/mkbd65/rev0/mkbd65.c
@@ -0,0 +1,6 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "mkbd65.h"
+#include "quantum.h"
+
diff --git a/keyboards/mkbd65/rev0/mkbd65.h b/keyboards/mkbd65/rev0/mkbd65.h
new file mode 100644
index 0000000000..798a87ce44
--- /dev/null
+++ b/keyboards/mkbd65/rev0/mkbd65.h
@@ -0,0 +1,70 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#ifndef MKBD65_H
+#define MKBD65_H
+
+/* LAYOUT_ansi
+ * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
+ * │ │ │ │ │ │ │ │ │ │ │ │ 2.0U │
+ * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┬───┤
+ * │ │ │ │ │ │ │ │ │ │ │ │ │ │
+ * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┤
+ * │ │ │ │ │ │ │ │ │ │ │ │ 2.0U │
+ * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───────┤
+ * │ │ │ │ │ │ │ │ │ │ │ │ 2.0U │
+ * ├───┼───┼───┼───┼───┴───┴───┼───┼───┼───┼───┼───┬───┤
+ * │ │ │ │ │ 3.0U │ │ │ │ │ │ │
+ * └───┴───┴───┴───┴───────────┴───┴───┴───┴───┴───┴───┘
+ * This is a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+#define LAYOUT_ansi( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, \
+ K40, K41, K42, K43, K44, K47, K48, K49, K410, K411, K412 \
+) \
+{ \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, KC_NO }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112 }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, KC_NO }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, KC_NO }, \
+ { K40, K41, K42, K43, K44, KC_NO, KC_NO, K47, K48, K49, K410, K411, K412 } \
+}
+
+/* LAYOUT_iso
+ * ╔═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══════╗
+ * ║ │ │ │ │ │ │ │ │ │ │ │ 2.0U ║
+ * ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┬───╢
+ * ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
+ * ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ ║
+ * ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
+ * ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───╢
+ * ║ │ │ │ │ │ │ │ │ │ │ │ 2.0U ║
+ * ╟───┼───┼───┼───┼───┴───┴───┼───┼───┼───┼───┼───┬───╢
+ * ║ │ │ │ │ 3.0U │ │ │ │ │ │ ║
+ * ╚═══╧═══╧═══╧═══╧═══════════╧═══╧═══╧═══╧═══╧═══╧═══╝
+ */
+#define LAYOUT_iso( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, \
+ K40, K41, K42, K43, K44, K47, K48, K49, K410, K411, K412 \
+) \
+{ \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, KC_NO }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, KC_NO }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212 }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, KC_NO }, \
+ { K40, K41, K42, K43, K44, KC_NO, KC_NO, K47, K48, K49, K410, K411, K412 } \
+}
+
+#endif
diff --git a/keyboards/mkbd65/rev0/rules.mk b/keyboards/mkbd65/rev0/rules.mk
new file mode 100644
index 0000000000..de2da8afe1
--- /dev/null
+++ b/keyboards/mkbd65/rev0/rules.mk
@@ -0,0 +1,4 @@
+F_CPU = 16000000
+ARCH = AVR8
+F_USB = $(F_CPU)
+OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
diff --git a/keyboards/mkbd65/rev1/keyboard.json b/keyboards/mkbd65/rev1/keyboard.json
new file mode 100644
index 0000000000..2329e8bc52
--- /dev/null
+++ b/keyboards/mkbd65/rev1/keyboard.json
@@ -0,0 +1,187 @@
+{
+ "manufacturer": "XenGi",
+ "keyboard_name": "mkbd65",
+ "maintainer": "XenGi",
+ "bootloader": "atmel-dfu",
+ "diode_direction": "ROW2COL",
+ "debounce": 5,
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgb_matrix": false,
+ "rgblight": false
+ },
+ "bootmagic": {
+ "enabled": true,
+ "matrix": [0, 0]
+ },
+ "matrix_pins": {
+ "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11"],
+ "rows": ["B12", "B13", "B14", "B15", "A8"]
+ },
+ "processor": "atmega32u4",
+ "url": "https://mkbd65.xengi.de",
+ "bootloader_instructions": "Press the button marked RESET on the back of the PCB",
+ "tags": ["mobile", "65%"],
+ "usb": {
+ "device_version": "1.0.0",
+ "pid": "0x4803",
+ "vid": "0x1209"
+ },
+ "build": {
+ "lto": true
+ },
+ "layouts": {
+ "LAYOUT_ansi": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0, "label": "Esc" },
+ { "matrix": [0, 1], "x": 1, "y": 0, "label": "1" },
+ { "matrix": [0, 2], "x": 2, "y": 0, "label": "2" },
+ { "matrix": [0, 3], "x": 3, "y": 0, "label": "3" },
+ { "matrix": [0, 4], "x": 4, "y": 0, "label": "4" },
+ { "matrix": [0, 5], "x": 5, "y": 0, "label": "5" },
+ { "matrix": [0, 6], "x": 6, "y": 0, "label": "6" },
+ { "matrix": [0, 7], "x": 7, "y": 0, "label": "7" },
+ { "matrix": [0, 8], "x": 8, "y": 0, "label": "8" },
+ { "matrix": [0, 9], "x": 9, "y": 0, "label": "9" },
+ { "matrix": [0, 10], "x": 10, "y": 0, "label": "0" },
+ { "matrix": [0, 11], "x": 11, "y": 0, "label": "Backspace" },
+ { "matrix": [0, 12], "x": 12, "y": 0, "label": "Backspace" },
+
+ { "matrix": [1, 0], "x": 1, "y": 0, "label": "Q" },
+ { "matrix": [1, 1], "x": 1, "y": 1, "label": "W" },
+ { "matrix": [1, 2], "x": 1, "y": 2, "label": "E" },
+ { "matrix": [1, 3], "x": 1, "y": 3, "label": "R" },
+ { "matrix": [1, 4], "x": 1, "y": 4, "label": "T" },
+ { "matrix": [1, 5], "x": 1, "y": 5, "label": "Y" },
+ { "matrix": [1, 6], "x": 1, "y": 6, "label": "U" },
+ { "matrix": [1, 7], "x": 1, "y": 7, "label": "I" },
+ { "matrix": [1, 8], "x": 1, "y": 8, "label": "O" },
+ { "matrix": [1, 9], "x": 1, "y": 9, "label": "P" },
+ { "matrix": [1, 10], "x": 1, "y": 10, "label": "[" },
+ { "matrix": [1, 11], "x": 1, "y": 11, "label": "]" },
+ { "matrix": [1, 12], "x": 1, "y": 12, "label": "\\" },
+
+ { "matrix": [2, 0], "x": 2, "y": 0, "label": "A" },
+ { "matrix": [2, 1], "x": 2, "y": 1, "label": "S" },
+ { "matrix": [2, 2], "x": 2, "y": 2, "label": "D" },
+ { "matrix": [2, 3], "x": 2, "y": 3, "label": "F" },
+ { "matrix": [2, 4], "x": 2, "y": 4, "label": "G" },
+ { "matrix": [2, 5], "x": 2, "y": 5, "label": "H" },
+ { "matrix": [2, 6], "x": 2, "y": 6, "label": "J" },
+ { "matrix": [2, 7], "x": 2, "y": 7, "label": "K" },
+ { "matrix": [2, 8], "x": 2, "y": 8, "label": "L" },
+ { "matrix": [2, 9], "x": 2, "y": 9, "label": ";" },
+ { "matrix": [2, 10], "x": 2, "y": 10, "label": "'" },
+ { "matrix": [2, 11], "x": 2, "y": 11, "label": "Enter" },
+ { "matrix": [2, 12], "x": 2, "y": 12, "label": "Enter" },
+
+ { "matrix": [3, 0], "x": 3, "y": 0, "label": "Z" },
+ { "matrix": [3, 1], "x": 3, "y": 1, "label": "X" },
+ { "matrix": [3, 2], "x": 3, "y": 2, "label": "C" },
+ { "matrix": [3, 3], "x": 3, "y": 3, "label": "V" },
+ { "matrix": [3, 4], "x": 3, "y": 4, "label": "B" },
+ { "matrix": [3, 5], "x": 3, "y": 5, "label": "N" },
+ { "matrix": [3, 6], "x": 3, "y": 6, "label": "M" },
+ { "matrix": [3, 7], "x": 3, "y": 7, "label": "," },
+ { "matrix": [3, 8], "x": 3, "y": 8, "label": "." },
+ { "matrix": [3, 9], "x": 3, "y": 9, "label": "/" },
+ { "matrix": [3, 10], "x": 3, "y": 10, "label": "Up" },
+ { "matrix": [3, 11], "x": 3, "y": 11, "w": 2, "label": "RShift" },
+ { "matrix": [3, 12], "x": 3, "y": 11, "w": 2, "label": "RShift" },
+
+ { "matrix": [4, 0], "x": 4, "y": 0, "label": "LCtrl" },
+ { "matrix": [4, 1], "x": 4, "y": 1, "label": "Fn" },
+ { "matrix": [4, 2], "x": 4, "y": 2, "label": "LShift" },
+ { "matrix": [4, 3], "x": 4, "y": 3, "label": "Alt" },
+ { "matrix": [4, 4], "x": 4, "y": 4, "label": "Space" },
+ { "matrix": [4, 5], "x": 4, "y": 5, "label": "Space" },
+ { "matrix": [4, 6], "x": 4, "y": 6, "label": "Space" },
+ { "matrix": [4, 7], "x": 4, "y": 7, "label": "-" },
+ { "matrix": [4, 8], "x": 4, "y": 8, "label": "=" },
+ { "matrix": [4, 9], "x": 4, "y": 9, "label": "Left" },
+ { "matrix": [4, 10], "x": 4, "y": 10, "label": "Down" },
+ { "matrix": [4, 11], "x": 4, "y": 11, "label": "Right" },
+ { "matrix": [4, 12], "x": 4, "y": 12, "label": "RCtrl" }
+ ]
+ },
+ "LAYOUT_iso": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0, "label": "Esc" },
+ { "matrix": [0, 1], "x": 1, "y": 0, "label": "1" },
+ { "matrix": [0, 2], "x": 2, "y": 0, "label": "2" },
+ { "matrix": [0, 3], "x": 3, "y": 0, "label": "3" },
+ { "matrix": [0, 4], "x": 4, "y": 0, "label": "4" },
+ { "matrix": [0, 5], "x": 5, "y": 0, "label": "5" },
+ { "matrix": [0, 6], "x": 6, "y": 0, "label": "6" },
+ { "matrix": [0, 7], "x": 7, "y": 0, "label": "7" },
+ { "matrix": [0, 8], "x": 8, "y": 0, "label": "8" },
+ { "matrix": [0, 9], "x": 9, "y": 0, "label": "9" },
+ { "matrix": [0, 10], "x": 10, "y": 0, "label": "0" },
+ { "matrix": [0, 11], "x": 11, "y": 0, "label": "Backspace" },
+ { "matrix": [0, 12], "x": 12, "y": 0, "label": "Backspace" },
+
+ { "matrix": [1, 0], "x": 1, "y": 0, "label": "Q" },
+ { "matrix": [1, 1], "x": 1, "y": 1, "label": "W" },
+ { "matrix": [1, 2], "x": 1, "y": 2, "label": "E" },
+ { "matrix": [1, 3], "x": 1, "y": 3, "label": "R" },
+ { "matrix": [1, 4], "x": 1, "y": 4, "label": "T" },
+ { "matrix": [1, 5], "x": 1, "y": 5, "label": "Y" },
+ { "matrix": [1, 6], "x": 1, "y": 6, "label": "U" },
+ { "matrix": [1, 7], "x": 1, "y": 7, "label": "I" },
+ { "matrix": [1, 8], "x": 1, "y": 8, "label": "O" },
+ { "matrix": [1, 9], "x": 1, "y": 9, "label": "P" },
+ { "matrix": [1, 10], "x": 1, "y": 10, "label": "[" },
+ { "matrix": [1, 11], "x": 1, "y": 11, "label": "]" },
+ { "matrix": [1, 12], "x": 1, "y": 12, "label": "Enter" },
+
+ { "matrix": [2, 0], "x": 2, "y": 0, "label": "A" },
+ { "matrix": [2, 1], "x": 2, "y": 1, "label": "S" },
+ { "matrix": [2, 2], "x": 2, "y": 2, "label": "D" },
+ { "matrix": [2, 3], "x": 2, "y": 3, "label": "F" },
+ { "matrix": [2, 4], "x": 2, "y": 4, "label": "G" },
+ { "matrix": [2, 5], "x": 2, "y": 5, "label": "H" },
+ { "matrix": [2, 6], "x": 2, "y": 6, "label": "J" },
+ { "matrix": [2, 7], "x": 2, "y": 7, "label": "K" },
+ { "matrix": [2, 8], "x": 2, "y": 8, "label": "L" },
+ { "matrix": [2, 9], "x": 2, "y": 9, "label": ";" },
+ { "matrix": [2, 10], "x": 2, "y": 10, "label": "'" },
+ { "matrix": [2, 11], "x": 2, "y": 11, "label": "\\" },
+ { "matrix": [2, 12], "x": 2, "y": 12, "label": "Enter" },
+
+ { "matrix": [3, 0], "x": 3, "y": 0, "label": "Z" },
+ { "matrix": [3, 1], "x": 3, "y": 1, "label": "X" },
+ { "matrix": [3, 2], "x": 3, "y": 2, "label": "C" },
+ { "matrix": [3, 3], "x": 3, "y": 3, "label": "V" },
+ { "matrix": [3, 4], "x": 3, "y": 4, "label": "B" },
+ { "matrix": [3, 5], "x": 3, "y": 5, "label": "N" },
+ { "matrix": [3, 6], "x": 3, "y": 6, "label": "M" },
+ { "matrix": [3, 7], "x": 3, "y": 7, "label": "," },
+ { "matrix": [3, 8], "x": 3, "y": 8, "label": "." },
+ { "matrix": [3, 9], "x": 3, "y": 9, "label": "/" },
+ { "matrix": [3, 10], "x": 3, "y": 10, "label": "Up" },
+ { "matrix": [3, 11], "x": 3, "y": 11, "label": "RShift" },
+ { "matrix": [3, 12], "x": 3, "y": 12, "label": "RShift" },
+
+ { "matrix": [4, 0], "x": 4, "y": 0, "label": "LCtrl" },
+ { "matrix": [4, 1], "x": 4, "y": 1, "label": "Fn" },
+ { "matrix": [4, 2], "x": 4, "y": 2, "label": "LShift" },
+ { "matrix": [4, 3], "x": 4, "y": 3, "label": "Alt" },
+ { "matrix": [4, 4], "x": 4, "y": 4, "label": "Space" },
+ { "matrix": [4, 5], "x": 4, "y": 5, "label": "Space" },
+ { "matrix": [4, 6], "x": 4, "y": 6, "label": "Space" },
+ { "matrix": [4, 7], "x": 4, "y": 7, "label": "-" },
+ { "matrix": [4, 8], "x": 4, "y": 8, "label": "=" },
+ { "matrix": [4, 9], "x": 4, "y": 9, "label": "Left" },
+ { "matrix": [4, 10], "x": 4, "y": 10, "label": "Down" },
+ { "matrix": [4, 11], "x": 4, "y": 11, "label": "Right" },
+ { "matrix": [4, 12], "x": 4, "y": 12, "label": "RCtrl" }
+ ]
+ }
+ }
+}
+
diff --git a/keyboards/mkbd65/rev1/mkbd65.c b/keyboards/mkbd65/rev1/mkbd65.c
new file mode 100644
index 0000000000..baca6508d4
--- /dev/null
+++ b/keyboards/mkbd65/rev1/mkbd65.c
@@ -0,0 +1,4 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "mkbd65.h"
diff --git a/keyboards/mkbd65/rev1/mkbd65.h b/keyboards/mkbd65/rev1/mkbd65.h
new file mode 100644
index 0000000000..759166bbcf
--- /dev/null
+++ b/keyboards/mkbd65/rev1/mkbd65.h
@@ -0,0 +1,44 @@
+// Copyright 2023 XenGi (@XenGi)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#ifndef MKBD65_H
+#define MKBD65_H
+
+#include "quantum.h"
+
+/* LAYOUT
+ * ╔═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╤═══╗
+ * ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
+ * ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
+ * ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
+ * ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
+ * ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
+ * ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
+ * ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
+ * ╟───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───╢
+ * ║ │ │ │ │ │ │ │ │ │ │ │ │ ║
+ * ╚═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╧═══╝
+ * This is a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+#define LAYOUT_all( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312, \
+ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412 \
+) \
+{ \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012 }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112 }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212 }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312 }, \
+ { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412 } \
+}
+
+#endif
diff --git a/keyboards/mkbd65/rev1/rules.mk b/keyboards/mkbd65/rev1/rules.mk
new file mode 100644
index 0000000000..e5116166cc
--- /dev/null
+++ b/keyboards/mkbd65/rev1/rules.mk
@@ -0,0 +1,2 @@
+MCU = STM32F072
+BOOTLOADER = stm32-dfu
diff --git a/keyboards/mkbd65/rules.mk b/keyboards/mkbd65/rules.mk
new file mode 100644
index 0000000000..3287da9fbd
--- /dev/null
+++ b/keyboards/mkbd65/rules.mk
@@ -0,0 +1,19 @@
+# AVR MCU Options
+F_CPU = 16000000
+ARCH = AVR8
+F_USB = $(F_CPU)
+OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
+
+# Feature Options
+MAGIC_ENABLE = no
+AUDIO_ENABLE = no
+KEY_OVERRIDE_ENABLE = no
+LEADER_ENABLE = no
+MIDI_ENABLE = no
+UNICODE_ENABLE = no
+BLUETOOTH_ENABLE = no
+MUSIC_ENABLE = no
+SPACE_CADET_ENABLE = no
+GRAVE_ESC_ENABLE = yes
+AVR_USE_MINIMAL_PRINTF = yes
+
diff --git a/keyboards/sneakbox/m4m5/keyboard.json b/keyboards/sneakbox/m4m5/keyboard.json
new file mode 100644
index 0000000000..ba56a6c85d
--- /dev/null
+++ b/keyboards/sneakbox/m4m5/keyboard.json
@@ -0,0 +1,203 @@
+{
+ "manufacturer": "Sneakbox",
+ "keyboard_name": "M4 & M5",
+ "maintainer": "mujimanic",
+ "bootloader": "atmel-dfu",
+ "bootmagic": {
+ "matrix": [2, 0]
+ },
+ "build": {
+ "lto": true
+ },
+ "diode_direction": "COL2ROW",
+ "encoder": {
+ "rotary": [
+ {"pin_a": "D3", "pin_b": "D2"}
+ ]
+ },
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
+ "indicators": {
+ "caps_lock": "D6",
+ "num_lock": "D4",
+ "scroll_lock": "D7"
+ },
+ "matrix_pins": {
+ "cols": ["F0", "D0", "C7", "C6", "B6", "B5", "B4", "D1"],
+ "rows": ["F1", "E6", "F4", "B1", "F5", "B2", "F6", "B3", "F7", "B7"]
+ },
+ "processor": "atmega32u4",
+ "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
+ },
+ "led_count": 16
+ },
+ "url": "https://sneakbox.design",
+ "usb": {
+ "device_version": "0.0.1",
+ "pid": "0x0005",
+ "vid": "0x5342"
+ },
+ "ws2812": {
+ "pin": "D5"
+ },
+ "layouts": {
+ "LAYOUT_alice": {
+ "layout": [
+ {"matrix": [2, 0], "x": 0, "y": 0},
+ {"matrix": [0, 0], "x": 1.25, "y": 0},
+ {"matrix": [0, 1], "x": 2.25, "y": 0},
+ {"matrix": [0, 2], "x": 3.25, "y": 0},
+ {"matrix": [0, 3], "x": 4.25, "y": 0},
+ {"matrix": [0, 4], "x": 5.25, "y": 0},
+ {"matrix": [0, 5], "x": 6.25, "y": 0},
+ {"matrix": [0, 6], "x": 7.25, "y": 0},
+ {"matrix": [1, 0], "x": 10.25, "y": 0},
+ {"matrix": [1, 1], "x": 11.25, "y": 0},
+ {"matrix": [1, 2], "x": 12.25, "y": 0},
+ {"matrix": [1, 3], "x": 13.25, "y": 0},
+ {"matrix": [1, 4], "x": 14.25, "y": 0},
+ {"matrix": [1, 5], "x": 15.25, "y": 0},
+ {"matrix": [1, 6], "x": 16.25, "y": 0, "w": 2},
+ {"matrix": [4, 0], "x": 0, "y": 1},
+ {"matrix": [2, 1], "x": 1.25, "y": 1, "w": 1.5},
+ {"matrix": [2, 2], "x": 2.75, "y": 1},
+ {"matrix": [2, 3], "x": 3.75, "y": 1},
+ {"matrix": [2, 4], "x": 4.75, "y": 1},
+ {"matrix": [2, 5], "x": 5.75, "y": 1},
+ {"matrix": [2, 6], "x": 6.75, "y": 1},
+ {"matrix": [3, 0], "x": 9.75, "y": 1},
+ {"matrix": [3, 1], "x": 10.75, "y": 1},
+ {"matrix": [3, 2], "x": 11.75, "y": 1},
+ {"matrix": [3, 3], "x": 12.75, "y": 1},
+ {"matrix": [3, 4], "x": 13.75, "y": 1},
+ {"matrix": [3, 5], "x": 14.75, "y": 1},
+ {"matrix": [3, 6], "x": 15.75, "y": 1},
+ {"matrix": [3, 7], "x": 16.75, "y": 1, "w": 1.5},
+ {"matrix": [6, 0], "x": 0, "y": 2},
+ {"matrix": [4, 1], "x": 1.25, "y": 2, "w": 1.75},
+ {"matrix": [4, 2], "x": 3, "y": 2},
+ {"matrix": [4, 3], "x": 4, "y": 2},
+ {"matrix": [4, 4], "x": 5, "y": 2},
+ {"matrix": [4, 5], "x": 6, "y": 2},
+ {"matrix": [4, 6], "x": 7, "y": 2},
+ {"matrix": [5, 0], "x": 10, "y": 2},
+ {"matrix": [5, 1], "x": 11, "y": 2},
+ {"matrix": [5, 2], "x": 12, "y": 2},
+ {"matrix": [5, 3], "x": 13, "y": 2},
+ {"matrix": [5, 4], "x": 14, "y": 2},
+ {"matrix": [5, 5], "x": 15, "y": 2},
+ {"matrix": [5, 6], "x": 16, "y": 2, "w": 2.25},
+ {"matrix": [6, 1], "x": 1.25, "y": 3, "w": 2.25},
+ {"matrix": [6, 2], "x": 3.5, "y": 3},
+ {"matrix": [6, 3], "x": 4.5, "y": 3},
+ {"matrix": [6, 4], "x": 5.5, "y": 3},
+ {"matrix": [6, 5], "x": 6.5, "y": 3},
+ {"matrix": [6, 6], "x": 7.5, "y": 3},
+ {"matrix": [7, 0], "x": 9.5, "y": 3},
+ {"matrix": [7, 1], "x": 10.5, "y": 3},
+ {"matrix": [7, 2], "x": 11.5, "y": 3},
+ {"matrix": [7, 3], "x": 12.5, "y": 3},
+ {"matrix": [7, 4], "x": 13.5, "y": 3},
+ {"matrix": [7, 5], "x": 14.5, "y": 3},
+ {"matrix": [7, 6], "x": 15.5, "y": 3, "w": 1.75},
+ {"matrix": [7, 7], "x": 17.25, "y": 3},
+ {"matrix": [8, 1], "x": 1.25, "y": 4, "w": 1.5},
+ {"matrix": [8, 3], "x": 4, "y": 4, "w": 1.5},
+ {"matrix": [8, 5], "x": 5.5, "y": 4, "w": 2.25},
+ {"matrix": [8, 6], "x": 7.75, "y": 4},
+ {"matrix": [9, 1], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [9, 2], "x": 11, "y": 4, "w": 1.5},
+ {"matrix": [9, 3], "x": 12.5, "y": 4, "w": 1.5},
+ {"matrix": [9, 7], "x": 16.75, "y": 4, "w": 1.5}
+ ]
+ },
+ "LAYOUT_alice_split_bs": {
+ "layout": [
+ {"matrix": [2, 0], "x": 0, "y": 0},
+ {"matrix": [0, 0], "x": 1.25, "y": 0},
+ {"matrix": [0, 1], "x": 2.25, "y": 0},
+ {"matrix": [0, 2], "x": 3.25, "y": 0},
+ {"matrix": [0, 3], "x": 4.25, "y": 0},
+ {"matrix": [0, 4], "x": 5.25, "y": 0},
+ {"matrix": [0, 5], "x": 6.25, "y": 0},
+ {"matrix": [0, 6], "x": 7.25, "y": 0},
+ {"matrix": [1, 0], "x": 10.25, "y": 0},
+ {"matrix": [1, 1], "x": 11.25, "y": 0},
+ {"matrix": [1, 2], "x": 12.25, "y": 0},
+ {"matrix": [1, 3], "x": 13.25, "y": 0},
+ {"matrix": [1, 4], "x": 14.25, "y": 0},
+ {"matrix": [1, 5], "x": 15.25, "y": 0},
+ {"matrix": [1, 6], "x": 16.25, "y": 0},
+ {"matrix": [1, 7], "x": 17.25, "y": 0},
+ {"matrix": [4, 0], "x": 0, "y": 1},
+ {"matrix": [2, 1], "x": 1.25, "y": 1, "w": 1.5},
+ {"matrix": [2, 2], "x": 2.75, "y": 1},
+ {"matrix": [2, 3], "x": 3.75, "y": 1},
+ {"matrix": [2, 4], "x": 4.75, "y": 1},
+ {"matrix": [2, 5], "x": 5.75, "y": 1},
+ {"matrix": [2, 6], "x": 6.75, "y": 1},
+ {"matrix": [3, 0], "x": 9.75, "y": 1},
+ {"matrix": [3, 1], "x": 10.75, "y": 1},
+ {"matrix": [3, 2], "x": 11.75, "y": 1},
+ {"matrix": [3, 3], "x": 12.75, "y": 1},
+ {"matrix": [3, 4], "x": 13.75, "y": 1},
+ {"matrix": [3, 5], "x": 14.75, "y": 1},
+ {"matrix": [3, 6], "x": 15.75, "y": 1},
+ {"matrix": [3, 7], "x": 16.75, "y": 1, "w": 1.5},
+ {"matrix": [6, 0], "x": 0, "y": 2},
+ {"matrix": [4, 1], "x": 1.25, "y": 2, "w": 1.75},
+ {"matrix": [4, 2], "x": 3, "y": 2},
+ {"matrix": [4, 3], "x": 4, "y": 2},
+ {"matrix": [4, 4], "x": 5, "y": 2},
+ {"matrix": [4, 5], "x": 6, "y": 2},
+ {"matrix": [4, 6], "x": 7, "y": 2},
+ {"matrix": [5, 0], "x": 10, "y": 2},
+ {"matrix": [5, 1], "x": 11, "y": 2},
+ {"matrix": [5, 2], "x": 12, "y": 2},
+ {"matrix": [5, 3], "x": 13, "y": 2},
+ {"matrix": [5, 4], "x": 14, "y": 2},
+ {"matrix": [5, 5], "x": 15, "y": 2},
+ {"matrix": [5, 6], "x": 16, "y": 2, "w": 2.25},
+ {"matrix": [6, 1], "x": 1.25, "y": 3, "w": 2.25},
+ {"matrix": [6, 2], "x": 3.5, "y": 3},
+ {"matrix": [6, 3], "x": 4.5, "y": 3},
+ {"matrix": [6, 4], "x": 5.5, "y": 3},
+ {"matrix": [6, 5], "x": 6.5, "y": 3},
+ {"matrix": [6, 6], "x": 7.5, "y": 3},
+ {"matrix": [7, 0], "x": 9.5, "y": 3},
+ {"matrix": [7, 1], "x": 10.5, "y": 3},
+ {"matrix": [7, 2], "x": 11.5, "y": 3},
+ {"matrix": [7, 3], "x": 12.5, "y": 3},
+ {"matrix": [7, 4], "x": 13.5, "y": 3},
+ {"matrix": [7, 5], "x": 14.5, "y": 3},
+ {"matrix": [7, 6], "x": 15.5, "y": 3, "w": 1.75},
+ {"matrix": [7, 7], "x": 17.25, "y": 3},
+ {"matrix": [8, 1], "x": 1.25, "y": 4, "w": 1.5},
+ {"matrix": [8, 3], "x": 4, "y": 4, "w": 1.5},
+ {"matrix": [8, 5], "x": 5.5, "y": 4, "w": 2.25},
+ {"matrix": [8, 6], "x": 7.75, "y": 4},
+ {"matrix": [9, 1], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [9, 2], "x": 11, "y": 4, "w": 1.5},
+ {"matrix": [9, 3], "x": 12.5, "y": 4, "w": 1.5},
+ {"matrix": [9, 7], "x": 16.75, "y": 4, "w": 1.5}
+ ]
+ }
+ }
+}
diff --git a/keyboards/sneakbox/m4m5/keymaps/alice/keymap.c b/keyboards/sneakbox/m4m5/keymaps/alice/keymap.c
new file mode 100644
index 0000000000..113ebfd8b6
--- /dev/null
+++ b/keyboards/sneakbox/m4m5/keymaps/alice/keymap.c
@@ -0,0 +1,32 @@
+// Copyright 2023 Bryan Ong
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+// Defines names for use in layer keycodes and the keymap
+enum layer_names {
+ _BASE,
+ _FN
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_BASE] = LAYOUT_alice(
+ KC_ESC, KC_GRV, 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_PGUP, 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_PGDN, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_LGUI,
+ KC_LCTL, KC_LALT, KC_SPC, LT(_FN, KC_SPC), KC_SPC, KC_SPC, KC_RALT, KC_RCTL),
+ [_FN] = LAYOUT_alice(
+ KC_TRNS, KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, UG_PREV, UG_NEXT, UG_TOGG,
+ QK_BOOT, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, UG_VALD, UG_VALU, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, UG_SATD, UG_SATU, KC_TRNS, UG_HUEU,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+ [_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
+ [_FN] = { ENCODER_CCW_CW(_______, _______)}
+};
+#endif
diff --git a/keyboards/sneakbox/m4m5/keymaps/default/keymap.c b/keyboards/sneakbox/m4m5/keymaps/default/keymap.c
new file mode 100644
index 0000000000..938f073837
--- /dev/null
+++ b/keyboards/sneakbox/m4m5/keymaps/default/keymap.c
@@ -0,0 +1,32 @@
+// Copyright 2023 Bryan Ong
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+// Defines names for use in layer keycodes and the keymap
+enum layer_names {
+ _BASE,
+ _FN
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_BASE] = LAYOUT_alice_split_bs(
+ KC_ESC, KC_GRV, 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_PGUP, 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_PGDN, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_LGUI,
+ KC_LCTL, KC_LALT, KC_SPC, LT(_FN, KC_SPC), KC_SPC, KC_SPC, KC_RALT, KC_RCTL),
+ [_FN] = LAYOUT_alice_split_bs(
+ KC_TRNS, KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, UG_PREV, UG_NEXT, UG_TOGG,
+ QK_BOOT, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, UG_VALD, UG_VALU, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, UG_SATD, UG_SATU, KC_TRNS, UG_HUEU,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+ [_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
+ [_FN] = { ENCODER_CCW_CW(_______, _______)}
+};
+#endif
diff --git a/keyboards/sneakbox/m4m5/readme.md b/keyboards/sneakbox/m4m5/readme.md
new file mode 100644
index 0000000000..4be06dbf98
--- /dev/null
+++ b/keyboards/sneakbox/m4m5/readme.md
@@ -0,0 +1,27 @@
+# Sneakbox M4 & M5 PCB
+
+
+
+An Alice-compatible PCB with hotswap with pushbutton rotary encoder socket placed at the top left key position. This PCB is the successor to the AliceCloneRGB PCB and features RGB underglow lighting along with revised hardware components such as an additional spacebar key in the right spacebar cluster. M4M5 firmware covers two physical PCBs for the MGA project (M4 PCB and M5 PCB) namely for the MGA V3 keyboard (which uses either PCB).
+
+* Keyboard Maintainer: [mujimanic](https://github.com/mujimanic)
+* Hardware Supported: Any Alice-layout case.
+* Hardware Availability: [sneakbox.design](https://sneakbox.com/products/m4-alice-pcbs-for-mga-cases)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make sneakbox/m4m5:default
+
+Flashing example for this keyboard:
+
+ make sneakbox/m4m5:default:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the top left key in the nevigation cluster (Escape key) and plug in the keyboard
+* **Physical reset button**: Briefly press the small metal button on the back of the PCB
+* **Keycode in layout**: Press and hold the key next to the right split spacebar (to the right of the spacebar) and then press the End key (located on the bottom of the three-key navigation cluster)
diff --git a/keyboards/sofle_pico/config.h b/keyboards/sofle_pico/config.h
new file mode 100644
index 0000000000..f4f34171fa
--- /dev/null
+++ b/keyboards/sofle_pico/config.h
@@ -0,0 +1,23 @@
+// Copyright 2024 Ryan Neff (@JellyTitan)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+/* Use full duplex communication (TRRS) */
+#define SERIAL_USART_FULL_DUPLEX
+#define SERIAL_USART_TX_PIN GP16
+#define SERIAL_USART_RX_PIN GP17
+/* Swap TX and RX pins if keyboard is master half. Only available on some MCU's. This _is_ available on the RP2040 */
+#define SERIAL_USART_PIN_SWAP
+
+/* I2C for OLEDs */
+#define I2C_DRIVER I2CD1
+#define I2C1_SDA_PIN GP6
+#define I2C1_SCL_PIN GP7
+
+#define OLED_DISPLAY_128X64
+#define OLED_TIMEOUT 30000
+
+#define ENCODER_MAP_KEY_DELAY 10
+
+#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50
diff --git a/keyboards/sofle_pico/halconf.h b/keyboards/sofle_pico/halconf.h
new file mode 100644
index 0000000000..ed969d9afc
--- /dev/null
+++ b/keyboards/sofle_pico/halconf.h
@@ -0,0 +1,7 @@
+// Copyright 2024 Ryan Neff (@JellyTitan)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define HAL_USE_I2C TRUE
+#include_next
diff --git a/keyboards/sofle_pico/keyboard.json b/keyboards/sofle_pico/keyboard.json
new file mode 100644
index 0000000000..c57c4e8f9e
--- /dev/null
+++ b/keyboards/sofle_pico/keyboard.json
@@ -0,0 +1,239 @@
+{
+ "manufacturer": "Ryan Neff",
+ "keyboard_name": "Sofle Pico",
+ "maintainer": "Ryan Neff ",
+ "bootloader": "rp2040",
+ "bootloader_instructions": "Hold the BOOT button while plugging in the usb cable",
+ "diode_direction": "COL2ROW",
+ "encoder": {
+ "rotary": [
+ {"pin_a": "GP14", "pin_b": "GP15"}
+ ]
+ },
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "oled": true,
+ "rgb_matrix": true
+ },
+ "matrix_pins": {
+ "cols": ["GP1", "GP2", "GP3", "GP4", "GP5", "GP8"],
+ "rows": ["GP9", "GP10", "GP11", "GP12", "GP13"]
+ },
+ "processor": "RP2040",
+ "rgb_matrix": {
+ "animations": {
+ "band_pinwheel_sat": true,
+ "band_pinwheel_val": true,
+ "band_sat": true,
+ "band_spiral_sat": true,
+ "band_spiral_val": true,
+ "band_val": true,
+ "breathing": true,
+ "cycle_all": true,
+ "cycle_left_right": true,
+ "cycle_out_in": true,
+ "cycle_out_in_dual": true,
+ "cycle_pinwheel": true,
+ "cycle_spiral": true,
+ "cycle_up_down": true,
+ "digital_rain": true,
+ "dual_beacon": true,
+ "gradient_left_right": true,
+ "gradient_up_down": true,
+ "hue_breathing": true,
+ "hue_pendulum": true,
+ "hue_wave": true,
+ "jellybean_raindrops": true,
+ "multisplash": true,
+ "pixel_flow": true,
+ "pixel_rain": true,
+ "rainbow_beacon": true,
+ "rainbow_moving_chevron": true,
+ "rainbow_pinwheels": true,
+ "raindrops": true,
+ "solid_multisplash": true,
+ "solid_reactive": true,
+ "solid_reactive_cross": true,
+ "solid_reactive_multicross": true,
+ "solid_reactive_multinexus": true,
+ "solid_reactive_multiwide": true,
+ "solid_reactive_nexus": true,
+ "solid_reactive_simple": true,
+ "solid_reactive_wide": true,
+ "solid_splash": true,
+ "splash": true,
+ "typing_heatmap": true
+ },
+ "default": {
+ "animation": "cycle_out_in_dual",
+ "speed": 16
+ },
+ "driver": "ws2812",
+ "layout": [
+ {"matrix": [0, 5], "x": 95, "y": 7, "flags": 4},
+ {"matrix": [1, 5], "x": 95, "y": 21, "flags": 4},
+ {"matrix": [2, 5], "x": 95, "y": 36, "flags": 4},
+ {"matrix": [3, 5], "x": 95, "y": 50, "flags": 4},
+ {"matrix": [4, 4], "x": 115, "y": 64, "flags": 4},
+ {"matrix": [4, 3], "x": 95, "y": 64, "flags": 4},
+ {"matrix": [4, 2], "x": 76, "y": 62, "flags": 4},
+ {"matrix": [3, 4], "x": 76, "y": 48, "flags": 4},
+ {"matrix": [2, 4], "x": 76, "y": 33, "flags": 4},
+ {"matrix": [1, 4], "x": 76, "y": 19, "flags": 4},
+ {"matrix": [0, 4], "x": 76, "y": 5, "flags": 4},
+ {"matrix": [0, 3], "x": 57, "y": 3, "flags": 4},
+ {"matrix": [1, 3], "x": 57, "y": 17, "flags": 4},
+ {"matrix": [2, 3], "x": 57, "y": 31, "flags": 4},
+ {"matrix": [3, 3], "x": 57, "y": 46, "flags": 4},
+ {"matrix": [4, 1], "x": 57, "y": 62, "flags": 4},
+ {"matrix": [4, 0], "x": 38, "y": 64, "flags": 4},
+ {"matrix": [3, 2], "x": 38, "y": 48, "flags": 4},
+ {"matrix": [2, 2], "x": 38, "y": 33, "flags": 4},
+ {"matrix": [1, 2], "x": 38, "y": 19, "flags": 4},
+ {"matrix": [0, 2], "x": 38, "y": 5, "flags": 4},
+ {"matrix": [0, 1], "x": 19, "y": 7, "flags": 4},
+ {"matrix": [1, 1], "x": 19, "y": 21, "flags": 4},
+ {"matrix": [2, 1], "x": 19, "y": 36, "flags": 4},
+ {"matrix": [3, 1], "x": 19, "y": 50, "flags": 4},
+ {"matrix": [3, 0], "x": 0, "y": 50, "flags": 4},
+ {"matrix": [2, 0], "x": 0, "y": 36, "flags": 4},
+ {"matrix": [1, 0], "x": 0, "y": 21, "flags": 4},
+ {"matrix": [0, 0], "x": 0, "y": 7, "flags": 4},
+ {"matrix": [5, 5], "x": 129, "y": 7, "flags": 4},
+ {"matrix": [6, 5], "x": 129, "y": 21, "flags": 4},
+ {"matrix": [7, 5], "x": 129, "y": 36, "flags": 4},
+ {"matrix": [8, 5], "x": 129, "y": 50, "flags": 4},
+ {"matrix": [9, 4], "x": 119, "y": 64, "flags": 4},
+ {"matrix": [9, 3], "x": 129, "y": 64, "flags": 4},
+ {"matrix": [9, 2], "x": 148, "y": 62, "flags": 4},
+ {"matrix": [8, 4], "x": 148, "y": 48, "flags": 4},
+ {"matrix": [7, 4], "x": 148, "y": 33, "flags": 4},
+ {"matrix": [6, 4], "x": 148, "y": 19, "flags": 4},
+ {"matrix": [5, 4], "x": 148, "y": 5, "flags": 4},
+ {"matrix": [5, 3], "x": 167, "y": 3, "flags": 4},
+ {"matrix": [6, 3], "x": 167, "y": 17, "flags": 4},
+ {"matrix": [7, 3], "x": 167, "y": 31, "flags": 4},
+ {"matrix": [8, 3], "x": 167, "y": 46, "flags": 4},
+ {"matrix": [9, 1], "x": 167, "y": 62, "flags": 4},
+ {"matrix": [9, 0], "x": 186, "y": 64, "flags": 4},
+ {"matrix": [8, 2], "x": 186, "y": 48, "flags": 4},
+ {"matrix": [7, 2], "x": 186, "y": 33, "flags": 4},
+ {"matrix": [6, 2], "x": 186, "y": 19, "flags": 4},
+ {"matrix": [5, 2], "x": 186, "y": 5, "flags": 4},
+ {"matrix": [5, 1], "x": 209, "y": 7, "flags": 4},
+ {"matrix": [6, 1], "x": 209, "y": 21, "flags": 4},
+ {"matrix": [7, 1], "x": 209, "y": 36, "flags": 4},
+ {"matrix": [8, 1], "x": 209, "y": 50, "flags": 4},
+ {"matrix": [8, 0], "x": 224, "y": 50, "flags": 4},
+ {"matrix": [7, 0], "x": 224, "y": 36, "flags": 4},
+ {"matrix": [6, 0], "x": 224, "y": 21, "flags": 4},
+ {"matrix": [5, 0], "x": 224, "y": 7, "flags": 4}
+ ],
+ "max_brightness": 127,
+ "sleep": true,
+ "split_count": [29, 29]
+ },
+ "split": {
+ "bootmagic": {
+ "matrix": [5, 0]
+ },
+ "enabled": true,
+ "encoder": {
+ "right": {
+ "rotary": [
+ {"pin_a": "GP14", "pin_b": "GP15"}
+ ]
+ }
+ },
+ "serial": {
+ "driver": "vendor"
+ },
+ "transport": {
+ "sync": {
+ "layer_state": true,
+ "matrix_state": true
+ }
+ }
+ },
+ "tags": ["ortho", "split", "rgb", "encoder", "OLED", "128x64", "tenting_puck"],
+ "url": "https://github.com/JellyTitan/Sofle-Pico",
+ "usb": {
+ "device_version": "3.5.4",
+ "pid": "0x5350",
+ "vid": "0x4A54"
+ },
+ "ws2812": {
+ "driver": "vendor",
+ "pin": "GP0"
+ },
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label": "`", "matrix": [0, 0], "x": 0, "y": 0.7},
+ {"label": "1", "matrix": [0, 1], "x": 1, "y": 0.7},
+ {"label": "2", "matrix": [0, 2], "x": 2, "y": 0.3},
+ {"label": "3", "matrix": [0, 3], "x": 3, "y": 0},
+ {"label": "4", "matrix": [0, 4], "x": 4, "y": 0.3},
+ {"label": "5", "matrix": [0, 5], "x": 5, "y": 0.45},
+ {"label": "6", "matrix": [5, 5], "x": 9, "y": 0.45},
+ {"label": "7", "matrix": [5, 4], "x": 10, "y": 0.3},
+ {"label": "8", "matrix": [5, 3], "x": 11, "y": 0},
+ {"label": "9", "matrix": [5, 2], "x": 12, "y": 0.3},
+ {"label": "0", "matrix": [5, 1], "x": 13, "y": 0.7},
+ {"label": "`", "matrix": [5, 0], "x": 14, "y": 0.7},
+ {"label": "Esc", "matrix": [1, 0], "x": 0, "y": 1.7},
+ {"label": "Q", "matrix": [1, 1], "x": 1, "y": 1.7},
+ {"label": "W", "matrix": [1, 2], "x": 2, "y": 1.3},
+ {"label": "E", "matrix": [1, 3], "x": 3, "y": 1},
+ {"label": "R", "matrix": [1, 4], "x": 4, "y": 1.3},
+ {"label": "T", "matrix": [1, 5], "x": 5, "y": 1.45},
+ {"label": "Y", "matrix": [6, 5], "x": 9, "y": 1.45},
+ {"label": "U", "matrix": [6, 4], "x": 10, "y": 1.3},
+ {"label": "I", "matrix": [6, 3], "x": 11, "y": 1},
+ {"label": "O", "matrix": [6, 2], "x": 12, "y": 1.3},
+ {"label": "P", "matrix": [6, 1], "x": 13, "y": 1.7},
+ {"label": "Bspc", "matrix": [6, 0], "x": 14, "y": 1.7},
+ {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 2.7},
+ {"label": "A", "matrix": [2, 1], "x": 1, "y": 2.7},
+ {"label": "S", "matrix": [2, 2], "x": 2, "y": 2.3},
+ {"label": "D", "matrix": [2, 3], "x": 3, "y": 2},
+ {"label": "F", "matrix": [2, 4], "x": 4, "y": 2.3},
+ {"label": "G", "matrix": [2, 5], "x": 5, "y": 2.45},
+ {"label": "H", "matrix": [7, 5], "x": 9, "y": 2.45},
+ {"label": "J", "matrix": [7, 4], "x": 10, "y": 2.3},
+ {"label": "K", "matrix": [7, 3], "x": 11, "y": 2},
+ {"label": "L", "matrix": [7, 2], "x": 12, "y": 2.3},
+ {"label": ";", "matrix": [7, 1], "x": 13, "y": 2.7},
+ {"label": "'", "matrix": [7, 0], "x": 14, "y": 2.7},
+ {"label": "LShift", "matrix": [3, 0], "x": 0, "y": 3.7},
+ {"label": "Z", "matrix": [3, 1], "x": 1, "y": 3.7},
+ {"label": "X", "matrix": [3, 2], "x": 2, "y": 3.3},
+ {"label": "C", "matrix": [3, 3], "x": 3, "y": 3},
+ {"label": "V", "matrix": [3, 4], "x": 4, "y": 3.3},
+ {"label": "B", "matrix": [3, 5], "x": 5, "y": 3.45},
+ {"label": "Mute", "matrix": [4, 5], "x": 6.2, "y": 3.45},
+ {"label": "Pause", "matrix": [9, 5], "x": 7.8, "y": 3.45},
+ {"label": "N", "matrix": [8, 5], "x": 9, "y": 3.45},
+ {"label": "M", "matrix": [8, 4], "x": 10, "y": 3.3},
+ {"label": ",", "matrix": [8, 3], "x": 11, "y": 3},
+ {"label": ".", "matrix": [8, 2], "x": 12, "y": 3.3},
+ {"label": "/", "matrix": [8, 1], "x": 13, "y": 3.7},
+ {"label": "RShift", "matrix": [8, 0], "x": 14, "y": 3.7},
+ {"label": "LCtrl", "matrix": [4, 0], "x": 2, "y": 4.3},
+ {"label": "LGUI", "matrix": [4, 1], "x": 3, "y": 4},
+ {"label": "LCmnd", "matrix": [4, 2], "x": 4, "y": 4.3},
+ {"label": "LAlt", "matrix": [4, 3], "x": 5.1, "y": 4.5, "h": 1.5},
+ {"label": "Enter", "matrix": [4, 4], "x": 6.1, "y": 4.5, "h": 1.5},
+ {"label": "Space", "matrix": [9, 4], "x": 7.9, "y": 4.5, "h": 1.5},
+ {"label": "RAlt", "matrix": [9, 3], "x": 8.9, "y": 4.5, "h": 1.5},
+ {"label": "RCmnd", "matrix": [9, 2], "x": 10, "y": 4.3},
+ {"label": "RGui", "matrix": [9, 1], "x": 11, "y": 4},
+ {"label": "RCtrl", "matrix": [9, 0], "x": 12, "y": 4.3}
+ ]
+ }
+ }
+}
diff --git a/keyboards/sofle_pico/keymaps/default/keymap.c b/keyboards/sofle_pico/keymaps/default/keymap.c
new file mode 100644
index 0000000000..a09f32fc37
--- /dev/null
+++ b/keyboards/sofle_pico/keymaps/default/keymap.c
@@ -0,0 +1,53 @@
+// Copyright 2024 Ryan Neff (@JellyTitan)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+enum sofle_layers {
+ _QWERTY,
+ _LOWER,
+ _RAISE,
+ _ADJUST,
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ // clang-format off
+ [_QWERTY] = LAYOUT(
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV,
+ KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, XXXXXXX, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
+ KC_LGUI, KC_LALT, KC_LCTL, TL_LOWR, KC_ENT, KC_SPC , TL_UPPR, KC_RCTL, KC_RALT, KC_RGUI
+ ),
+ [_LOWER] = LAYOUT(
+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_F12,
+ _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PIPE,
+ _______, KC_EQL, KC_MINS, KC_PLUS, KC_LCBR, KC_RCBR, _______, _______, KC_LBRC, KC_RBRC, KC_SCLN, KC_COLN, KC_BSLS, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
+ [_RAISE] = LAYOUT(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_INS, KC_PSCR, KC_APP, XXXXXXX, XXXXXXX, KC_PGUP, XXXXXXX, KC_UP , XXXXXXX, XXXXXXX, KC_BSPC,
+ _______, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, KC_CAPS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_DEL , KC_BSPC,
+ _______, C(KC_Z), C(KC_X), C(KC_C), C(KC_V), XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
+ [_ADJUST] = LAYOUT(
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RM_TOGG, RM_VALU, RM_VALD, XXXXXXX, XXXXXXX, XXXXXXX,
+ QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, CG_TOGG, XXXXXXX, RM_NEXT, RM_PREV, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, CG_TOGG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLD, KC_MUTE, KC_VOLU, XXXXXXX, XXXXXXX,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, XXXXXXX,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ )
+ // clang-format on
+};
+
+#ifdef ENCODER_MAP_ENABLE
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+ [0] = {ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
+ [1] = {ENCODER_CCW_CW(KC_PGUP, KC_PGDN)},
+ [2] = {ENCODER_CCW_CW(_______, _______)},
+ [3] = {ENCODER_CCW_CW(_______, _______)},
+};
+#endif
diff --git a/keyboards/sofle_pico/keymaps/default/readme.md b/keyboards/sofle_pico/keymaps/default/readme.md
new file mode 100644
index 0000000000..a15159d07c
--- /dev/null
+++ b/keyboards/sofle_pico/keymaps/default/readme.md
@@ -0,0 +1,10 @@
+
+
+
+
+# Default keymap for Sofle Pico Keyboard
+
+Adapted from the classic Sofle Keyboard by Josef Adamcik.
+Simplified to serve as a starting point for further customizations.
+Layout in [Keyboard Layout Editor](http://www.keyboard-layout-editor.com/#/gists/76efb423a46cbbea75465cb468eef7ff)
+Left encoder controls volume up/down/mute. Right encoder PGUP/PGDOWN.
diff --git a/keyboards/sofle_pico/keymaps/default/rules.mk b/keyboards/sofle_pico/keymaps/default/rules.mk
new file mode 100644
index 0000000000..7c9bf212a6
--- /dev/null
+++ b/keyboards/sofle_pico/keymaps/default/rules.mk
@@ -0,0 +1 @@
+TRI_LAYER_ENABLE = yes
diff --git a/keyboards/sofle_pico/readme.md b/keyboards/sofle_pico/readme.md
new file mode 100644
index 0000000000..34498d0c1b
--- /dev/null
+++ b/keyboards/sofle_pico/readme.md
@@ -0,0 +1,31 @@
+# Sofle Pico Keyboard
+
+
+
+Sofle Pico is a 60% Raspberry Pi Pico powered split keyboard boasting a 4x6 layout with an aggressive columnar stagger. It has 5 "thumb" keys on either side, support for 2-4 rotary encoders, per-key RGB lighting, 128x64 OLEDs and a tenting puck mount.
+
+- Keyboard Maintainer: [Ryan Neff](https://github.com/JellyTitan)
+- Hardware Supported: Sofle Pico PCB v3.5.x, Raspberry Pi Pico
+- Hardware Availability: [PCB, Case, Parts List](https://github.com/JellyTitan/Sofle-Pico)
+
+Remember you have to flash both halves of the keyboard for it to work!
+
+Make example for this keyboard (after setting up your build environment):
+
+ make sofle_pico:default
+
+Flashing example for this keyboard:
+
+ make sofle_pico:default:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+- **Bootmagic reset** (works after you have flashed once): Hold down the top far corner key while plugging in the keyboard (`~` left half, `-` right half). This will also clear the EEPROM.
+- **Physical reset button**: Hold the `BOOT` button on the Pico and press the `RST` button on the Pico, release the the `RST` button before the `BOOT` button.
+- **Keycode in layout**: In the default layout, the `Bootloader` keycode is above home row pinky on the right side's adjust layer.
+
+Once you enter the bootloader, the keyboard will show up as a USB device on your computer, you could drag and drop a `.uf2` firmware file to flash it.
diff --git a/keyboards/sofle_pico/sofle_pico.c b/keyboards/sofle_pico/sofle_pico.c
new file mode 100644
index 0000000000..b237dfc599
--- /dev/null
+++ b/keyboards/sofle_pico/sofle_pico.c
@@ -0,0 +1,32 @@
+// Copyright 2024 Ryan Neff (@JellyTitan)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "quantum.h"
+
+#ifdef OLED_ENABLE
+
+oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
+ return OLED_ROTATION_90;
+}
+
+static void render_logo(void) {
+ static const char PROGMEM sofle_pico_logo[] = {
+ 0x00, 0x00, 0x00, 0x00, 0xc0, 0xe0, 0xe0, 0xf0, 0xf0, 0xf0, 0x70, 0xf0, 0xf0, 0xe0, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xf0, 0xf8, 0xfc, 0x3c, 0x3c, 0x3c, 0x7c, 0xf8, 0xf8, 0xf0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x1f, 0x3f, 0x3f, 0x3f, 0x7c, 0x78, 0xf8, 0xf8, 0xf0, 0xe0, 0x00, 0x00, 0xc0, 0xf0, 0xf8, 0xfc, 0x3c, 0x1c, 0x1e, 0x1e, 0x3c, 0xfc, 0xf8, 0xf0, 0xc0, 0x00, 0x1c, 0x1c, 0xff, 0xff, 0xff, 0xff, 0x1c, 0x1c, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xc0, 0xf0, 0xf8, 0xfc, 0xfc, 0xce, 0xce, 0xce, 0xdc, 0xfc, 0xfc, 0xf8, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x1e, 0x1e, 0x1e, 0x3c, 0x3c, 0x3c, 0x3e, 0x1f, 0x1f, 0x0f, 0x07, 0x01, 0x00, 0x01, 0x07,
+ 0x0f, 0x1f, 0x1e, 0x3c, 0x3c, 0x3c, 0x1e, 0x1f, 0x0f, 0x07, 0x03, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x01, 0x07, 0x0f, 0x1f, 0x1f, 0x3c, 0x38, 0x38, 0x3c, 0x1c, 0x1c, 0x0c, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xfe, 0x06, 0x06, 0x06, 0x0e, 0x9e, 0xfc, 0xf8, 0x00, 0x00, 0x8e, 0x8e, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x07, 0x07, 0x07, 0x03, 0x03, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x7c, 0xfe, 0xff, 0x83, 0x01, 0x01, 0x01, 0x83, 0x83, 0x00, 0x00, 0x7e, 0xff, 0xc7, 0x83, 0x01, 0x01, 0x01,
+ 0x83, 0xff, 0xff, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xc0, 0xc3, 0xe3, 0xe0, 0xe0, 0xe0, 0xf0, 0x70, 0x70, 0x70, 0x70, 0x30, 0x33, 0x73, 0xe0, 0x60, 0xe0, 0xe0, 0xc0, 0xc1, 0x83, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x80, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0x70, 0x30, 0x70, 0x70, 0x70, 0x70, 0x70, 0xf0, 0xe0, 0xe0, 0xe0, 0xc0, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x1f, 0xff, 0xf8, 0xd0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x20, 0x20, 0x40, 0xc0, 0x80, 0x00, 0x01, 0x87, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0xff, 0xff, 0x03, 0x01, 0x00, 0x80, 0xc0, 0x40, 0x20, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
+ 0xf0, 0xf8, 0x7f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x0f, 0x1c, 0x1c, 0x38, 0x78, 0x60, 0x60, 0x60, 0x60, 0x60, 0x70, 0x38, 0x39, 0xdf, 0xef, 0xf7, 0x7b, 0x39, 0x1c, 0x1c, 0x0e, 0x0e, 0x06, 0x06, 0x06, 0x06, 0x06, 0x0e, 0x0e, 0x1e, 0x1c, 0x3c, 0x79, 0xfb, 0xf7, 0xef, 0x9f, 0x38, 0x30, 0x70, 0x60, 0x60, 0x60, 0x60, 0x70, 0x38, 0x3c, 0x1c, 0x0f, 0x0f, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe0, 0xf8, 0xfc, 0x7e, 0x7f, 0xff, 0xff, 0xe3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc1, 0xff, 0x7f, 0x7f, 0x3f, 0x7c, 0xf8, 0xf0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x7f, 0xff, 0x81, 0x00, 0x00, 0x00, 0x00, 0x01, 0xcf, 0xff, 0xfe, 0x7c, 0x78, 0x78, 0x38, 0x30, 0x30, 0x30, 0x30, 0x30, 0x38, 0x78, 0x78, 0x7c, 0xfe, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x07, 0x0f, 0x0e, 0x1e, 0x3f, 0x7f, 0xf1, 0xe0, 0xc0, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xc0, 0xe1, 0xf3, 0x7f, 0x3f, 0x1f, 0x0f, 0x07, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+ oled_write_raw_P(sofle_pico_logo, sizeof(sofle_pico_logo));
+}
+
+bool oled_task_kb(void) {
+ if (!oled_task_user()) {
+ return false;
+ }
+ render_logo();
+ return false;
+}
+
+#endif
diff --git a/keyboards/whirlwind_fx_element/config.h b/keyboards/whirlwind_fx_element/config.h
new file mode 100644
index 0000000000..606163cf10
--- /dev/null
+++ b/keyboards/whirlwind_fx_element/config.h
@@ -0,0 +1,7 @@
+// Copyright 2023 WhirlwindFX
+// Copyright 2023 aedanmills
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND
diff --git a/keyboards/whirlwind_fx_element/halconf.h b/keyboards/whirlwind_fx_element/halconf.h
new file mode 100644
index 0000000000..75e92dea90
--- /dev/null
+++ b/keyboards/whirlwind_fx_element/halconf.h
@@ -0,0 +1,9 @@
+// Copyright 2023 WhirlwindFX
+// Copyright 2023 aedanmills
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define HAL_USE_I2C TRUE
+
+#include_next
diff --git a/keyboards/whirlwind_fx_element/keyboard.json b/keyboards/whirlwind_fx_element/keyboard.json
new file mode 100644
index 0000000000..f01c5859da
--- /dev/null
+++ b/keyboards/whirlwind_fx_element/keyboard.json
@@ -0,0 +1,302 @@
+{
+ "manufacturer": "WhirlwindFX",
+ "keyboard_name": "Element",
+ "maintainer": "aedanmills",
+ "bootloader": "stm32-dfu",
+ "diode_direction": "ROW2COL",
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "nkro": true,
+ "rgb_matrix": true
+ },
+ "matrix_pins": {
+ "rows": [ "B0", "B1", "B2", "B3", "B12", "B13", "B14", "B15" ],
+ "cols": [ "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "A13", "A14" ]
+ },
+ "processor": "STM32F303",
+ "url": "https://www.whirlwindfx.com/products/element",
+ "usb": {
+ "vid": "0x0483",
+ "pid": "0xA33E",
+ "device_version": "1.0.6"
+ },
+ "indicators": {
+ "caps_lock": "B9",
+ "num_lock": "B8",
+ "scroll_lock": "B10",
+ "on_state": 0
+ },
+ "community_layouts": ["fullsize_ansi"],
+ "layouts": {
+ "LAYOUT_fullsize_ansi": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [0, 2], "x": 3, "y": 0},
+ {"matrix": [0, 3], "x": 4, "y": 0},
+ {"matrix": [0, 4], "x": 5, "y": 0},
+ {"matrix": [0, 5], "x": 6.5, "y": 0},
+ {"matrix": [0, 6], "x": 7.5, "y": 0},
+ {"matrix": [0, 7], "x": 8.5, "y": 0},
+ {"matrix": [0, 8], "x": 9.5, "y": 0},
+ {"matrix": [0, 9], "x": 11, "y": 0},
+ {"matrix": [0, 10], "x": 12, "y": 0},
+ {"matrix": [0, 11], "x": 13, "y": 0},
+ {"matrix": [0, 12], "x": 14, "y": 0},
+ {"matrix": [1, 0], "x": 15.25, "y": 0},
+ {"matrix": [1, 1], "x": 16.25, "y": 0},
+ {"matrix": [1, 2], "x": 17.25, "y": 0},
+ {"matrix": [1, 3], "x": 0, "y": 1.25},
+ {"matrix": [1, 4], "x": 1, "y": 1.25},
+ {"matrix": [1, 5], "x": 2, "y": 1.25},
+ {"matrix": [1, 6], "x": 3, "y": 1.25},
+ {"matrix": [1, 7], "x": 4, "y": 1.25},
+ {"matrix": [1, 8], "x": 5, "y": 1.25},
+ {"matrix": [1, 9], "x": 6, "y": 1.25},
+ {"matrix": [1, 10], "x": 7, "y": 1.25},
+ {"matrix": [1, 11], "x": 8, "y": 1.25},
+ {"matrix": [1, 12], "x": 9, "y": 1.25},
+ {"matrix": [2, 0], "x": 10, "y": 1.25},
+ {"matrix": [2, 1], "x": 11, "y": 1.25},
+ {"matrix": [2, 2], "x": 12, "y": 1.25},
+ {"matrix": [2, 3], "x": 13, "y": 1.25, "w": 2},
+ {"matrix": [2, 4], "x": 15.25, "y": 1.25},
+ {"matrix": [2, 5], "x": 16.25, "y": 1.25},
+ {"matrix": [2, 6], "x": 17.25, "y": 1.25},
+ {"matrix": [2, 7], "x": 18.5, "y": 1.25},
+ {"matrix": [2, 8], "x": 19.5, "y": 1.25},
+ {"matrix": [2, 9], "x": 20.5, "y": 1.25},
+ {"matrix": [2, 10], "x": 21.5, "y": 1.25},
+ {"matrix": [2, 11], "x": 0, "y": 2.25, "w": 1.5},
+ {"matrix": [2, 12], "x": 1.5, "y": 2.25},
+ {"matrix": [3, 0], "x": 2.5, "y": 2.25},
+ {"matrix": [3, 1], "x": 3.5, "y": 2.25},
+ {"matrix": [3, 2], "x": 4.5, "y": 2.25},
+ {"matrix": [3, 3], "x": 5.5, "y": 2.25},
+ {"matrix": [3, 4], "x": 6.5, "y": 2.25},
+ {"matrix": [3, 5], "x": 7.5, "y": 2.25},
+ {"matrix": [3, 6], "x": 8.5, "y": 2.25},
+ {"matrix": [3, 7], "x": 9.5, "y": 2.25},
+ {"matrix": [3, 8], "x": 10.5, "y": 2.25},
+ {"matrix": [3, 9], "x": 11.5, "y": 2.25},
+ {"matrix": [3, 10], "x": 12.5, "y": 2.25},
+ {"matrix": [3, 11], "x": 13.5, "y": 2.25, "w": 1.5},
+ {"matrix": [3, 12], "x": 15.25, "y": 2.25},
+ {"matrix": [4, 0], "x": 16.25, "y": 2.25},
+ {"matrix": [4, 1], "x": 17.25, "y": 2.25},
+ {"matrix": [4, 2], "x": 18.5, "y": 2.25},
+ {"matrix": [4, 3], "x": 19.5, "y": 2.25},
+ {"matrix": [4, 4], "x": 20.5, "y": 2.25},
+ {"matrix": [5, 8], "x": 21.5, "y": 2.25, "h": 2},
+ {"matrix": [4, 5], "x": 0, "y": 3.25, "w": 1.75},
+ {"matrix": [4, 6], "x": 1.75, "y": 3.25},
+ {"matrix": [4, 7], "x": 2.75, "y": 3.25},
+ {"matrix": [4, 8], "x": 3.75, "y": 3.25},
+ {"matrix": [4, 9], "x": 4.75, "y": 3.25},
+ {"matrix": [4, 10], "x": 5.75, "y": 3.25},
+ {"matrix": [4, 11], "x": 6.75, "y": 3.25},
+ {"matrix": [4, 12], "x": 7.75, "y": 3.25},
+ {"matrix": [5, 0], "x": 8.75, "y": 3.25},
+ {"matrix": [5, 1], "x": 9.75, "y": 3.25},
+ {"matrix": [5, 2], "x": 10.75, "y": 3.25},
+ {"matrix": [5, 3], "x": 11.75, "y": 3.25},
+ {"matrix": [5, 4], "x": 12.75, "y": 3.25, "w": 2.25},
+ {"matrix": [5, 5], "x": 18.5, "y": 3.25},
+ {"matrix": [5, 6], "x": 19.5, "y": 3.25},
+ {"matrix": [5, 7], "x": 20.5, "y": 3.25},
+ {"matrix": [5, 9], "x": 0, "y": 4.25, "w": 2.25},
+ {"matrix": [5, 10], "x": 2.25, "y": 4.25},
+ {"matrix": [5, 11], "x": 3.25, "y": 4.25},
+ {"matrix": [5, 12], "x": 4.25, "y": 4.25},
+ {"matrix": [6, 0], "x": 5.25, "y": 4.25},
+ {"matrix": [6, 1], "x": 6.25, "y": 4.25},
+ {"matrix": [6, 2], "x": 7.25, "y": 4.25},
+ {"matrix": [6, 3], "x": 8.25, "y": 4.25},
+ {"matrix": [6, 4], "x": 9.25, "y": 4.25},
+ {"matrix": [6, 5], "x": 10.25, "y": 4.25},
+ {"matrix": [6, 6], "x": 11.25, "y": 4.25},
+ {"matrix": [6, 7], "x": 12.25, "y": 4.25, "w": 2.75},
+ {"matrix": [6, 8], "x": 16.25, "y": 4.25},
+ {"matrix": [6, 9], "x": 18.5, "y": 4.25},
+ {"matrix": [6, 10], "x": 19.5, "y": 4.25},
+ {"matrix": [6, 11], "x": 20.5, "y": 4.25},
+ {"matrix": [6, 12], "x": 21.5, "y": 4.25, "h": 2},
+ {"matrix": [7, 0], "x": 0, "y": 5.25, "w": 1.25},
+ {"matrix": [7, 1], "x": 1.25, "y": 5.25, "w": 1.25},
+ {"matrix": [7, 2], "x": 2.5, "y": 5.25, "w": 1.25},
+ {"matrix": [7, 3], "x": 3.75, "y": 5.25, "w": 6.25},
+ {"matrix": [7, 4], "x": 10, "y": 5.25, "w": 1.25},
+ {"matrix": [7, 5], "x": 11.25, "y": 5.25, "w": 1.25},
+ {"matrix": [7, 6], "x": 12.5, "y": 5.25, "w": 1.25},
+ {"matrix": [7, 7], "x": 13.75, "y": 5.25, "w": 1.25},
+ {"matrix": [7, 8], "x": 15.25, "y": 5.25},
+ {"matrix": [7, 9], "x": 16.25, "y": 5.25},
+ {"matrix": [7, 10], "x": 17.25, "y": 5.25},
+ {"matrix": [7, 11], "x": 18.5, "y": 5.25, "w": 2},
+ {"matrix": [7, 12], "x": 20.5, "y": 5.25}
+ ]
+ }
+ },
+ "rgb_matrix": {
+ "driver": "is31fl3741",
+ "max_brightness": 200,
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
+ {"matrix": [0, 1], "x": 21, "y": 0, "flags": 4},
+ {"matrix": [0, 2], "x": 31, "y": 0, "flags": 4},
+ {"matrix": [0, 3], "x": 42, "y": 0, "flags": 4},
+ {"matrix": [0, 4], "x": 52, "y": 0, "flags": 4},
+ {"matrix": [0, 5], "x": 68, "y": 0, "flags": 4},
+ {"matrix": [0, 6], "x": 78, "y": 0, "flags": 4},
+ {"matrix": [0, 7], "x": 89, "y": 0, "flags": 4},
+ {"matrix": [0, 8], "x": 99, "y": 0, "flags": 4},
+ {"matrix": [0, 9], "x": 115, "y": 0, "flags": 4},
+ {"matrix": [0, 10], "x": 125, "y": 0, "flags": 4},
+ {"matrix": [0, 11], "x": 136, "y": 0, "flags": 4},
+ {"matrix": [0, 12], "x": 146, "y": 0, "flags": 4},
+ {"matrix": [1, 0], "x": 159, "y": 0, "flags": 4},
+ {"matrix": [1, 1], "x": 169, "y": 0, "flags": 4},
+ {"matrix": [1, 2], "x": 180, "y": 0, "flags": 4},
+
+ {"matrix": [1, 3], "x": 0, "y": 15, "flags": 4},
+ {"matrix": [1, 4], "x": 10, "y": 15, "flags": 4},
+ {"matrix": [1, 5], "x": 21, "y": 15, "flags": 4},
+ {"matrix": [1, 6], "x": 31, "y": 15, "flags": 4},
+ {"matrix": [1, 7], "x": 42, "y": 15, "flags": 4},
+ {"matrix": [1, 8], "x": 52, "y": 15, "flags": 4},
+ {"matrix": [1, 9], "x": 63, "y": 15, "flags": 4},
+ {"matrix": [1, 10], "x": 73, "y": 15, "flags": 4},
+ {"matrix": [1, 11], "x": 83, "y": 15, "flags": 4},
+ {"matrix": [1, 12], "x": 94, "y": 15, "flags": 4},
+ {"matrix": [2, 0], "x": 104, "y": 15, "flags": 4},
+ {"matrix": [2, 1], "x": 115, "y": 15, "flags": 4},
+ {"matrix": [2, 2], "x": 125, "y": 15, "flags": 4},
+ {"matrix": [2, 3], "x": 141, "y": 15, "flags": 4},
+ {"matrix": [2, 4], "x": 159, "y": 15, "flags": 4},
+ {"matrix": [2, 5], "x": 169, "y": 15, "flags": 4},
+ {"matrix": [2, 6], "x": 180, "y": 15, "flags": 4},
+ {"matrix": [2, 7], "x": 193, "y": 15, "flags": 4},
+ {"matrix": [2, 8], "x": 203, "y": 15, "flags": 4},
+ {"matrix": [2, 9], "x": 214, "y": 15, "flags": 4},
+ {"matrix": [2, 10], "x": 224, "y": 15, "flags": 4},
+
+ {"matrix": [2, 11], "x": 3, "y": 27, "flags": 4},
+ {"matrix": [2, 12], "x": 16, "y": 27, "flags": 4},
+ {"matrix": [3, 0], "x": 26, "y": 27, "flags": 4},
+ {"matrix": [3, 1], "x": 36, "y": 27, "flags": 4},
+ {"matrix": [3, 2], "x": 47, "y": 27, "flags": 4},
+ {"matrix": [3, 3], "x": 57, "y": 27, "flags": 4},
+ {"matrix": [3, 4], "x": 68, "y": 27, "flags": 4},
+ {"matrix": [3, 5], "x": 78, "y": 27, "flags": 4},
+ {"matrix": [3, 6], "x": 89, "y": 27, "flags": 4},
+ {"matrix": [3, 7], "x": 99, "y": 27, "flags": 4},
+ {"matrix": [3, 8], "x": 109, "y": 27, "flags": 4},
+ {"matrix": [3, 9], "x": 120, "y": 27, "flags": 4},
+ {"matrix": [3, 10], "x": 130, "y": 27, "flags": 4},
+ {"matrix": [3, 11], "x": 143, "y": 27, "flags": 4},
+ {"matrix": [3, 12], "x": 159, "y": 27, "flags": 4},
+ {"matrix": [4, 0], "x": 169, "y": 27, "flags": 4},
+ {"matrix": [4, 1], "x": 180, "y": 27, "flags": 4},
+ {"matrix": [4, 2], "x": 193, "y": 27, "flags": 4},
+ {"matrix": [4, 3], "x": 203, "y": 27, "flags": 4},
+ {"matrix": [4, 4], "x": 214, "y": 27, "flags": 4},
+
+ {"matrix": [4, 5], "x": 4, "y": 40, "flags": 4},
+ {"matrix": [4, 6], "x": 18, "y": 40, "flags": 4},
+ {"matrix": [4, 7], "x": 29, "y": 40, "flags": 4},
+ {"matrix": [4, 8], "x": 39, "y": 40, "flags": 4},
+ {"matrix": [4, 9], "x": 50, "y": 40, "flags": 4},
+ {"matrix": [4, 10], "x": 60, "y": 40, "flags": 4},
+ {"matrix": [4, 11], "x": 70, "y": 40, "flags": 4},
+ {"matrix": [4, 12], "x": 81, "y": 40, "flags": 4},
+ {"matrix": [5, 0], "x": 91, "y": 40, "flags": 4},
+ {"matrix": [5, 1], "x": 102, "y": 40, "flags": 4},
+ {"matrix": [5, 2], "x": 112, "y": 40, "flags": 4},
+ {"matrix": [5, 3], "x": 123, "y": 40, "flags": 4},
+ {"matrix": [5, 4], "x": 139, "y": 40, "flags": 4},
+ {"matrix": [5, 5], "x": 193, "y": 40, "flags": 4},
+ {"matrix": [5, 6], "x": 203, "y": 40, "flags": 4},
+ {"matrix": [5, 7], "x": 214, "y": 40, "flags": 4},
+ {"matrix": [5, 8], "x": 224, "y": 34, "flags": 4},
+
+ {"matrix": [5, 9], "x": 7, "y": 52, "flags": 4},
+ {"matrix": [5, 10], "x": 23, "y": 52, "flags": 4},
+ {"matrix": [5, 11], "x": 34, "y": 52, "flags": 4},
+ {"matrix": [5, 12], "x": 44, "y": 52, "flags": 4},
+ {"matrix": [6, 0], "x": 55, "y": 52, "flags": 4},
+ {"matrix": [6, 1], "x": 65, "y": 52, "flags": 4},
+ {"matrix": [6, 2], "x": 76, "y": 52, "flags": 4},
+ {"matrix": [6, 3], "x": 86, "y": 52, "flags": 4},
+ {"matrix": [6, 4], "x": 96, "y": 52, "flags": 4},
+ {"matrix": [6, 5], "x": 107, "y": 52, "flags": 4},
+ {"matrix": [6, 6], "x": 117, "y": 52, "flags": 4},
+ {"matrix": [6, 7], "x": 137, "y": 52, "flags": 4},
+ {"matrix": [6, 8], "x": 169, "y": 52, "flags": 4},
+ {"matrix": [6, 9], "x": 193, "y": 52, "flags": 4},
+ {"matrix": [6, 10], "x": 203, "y": 52, "flags": 4},
+ {"matrix": [6, 11], "x": 214, "y": 52, "flags": 4},
+ {"matrix": [6, 12], "x": 224, "y": 58, "flags": 4},
+
+ {"matrix": [7, 0], "x": 1, "y": 64, "flags": 4},
+ {"matrix": [7, 1], "x": 14, "y": 64, "flags": 4},
+ {"matrix": [7, 2], "x": 27, "y": 64, "flags": 4},
+ {"matrix": [7, 3], "x": 66, "y": 64, "flags": 4},
+ {"matrix": [7, 4], "x": 105, "y": 64, "flags": 4},
+ {"matrix": [7, 5], "x": 118, "y": 64, "flags": 4},
+ {"matrix": [7, 6], "x": 131, "y": 64, "flags": 4},
+ {"matrix": [7, 7], "x": 145, "y": 64, "flags": 4},
+ {"matrix": [7, 8], "x": 159, "y": 64, "flags": 4},
+ {"matrix": [7, 9], "x": 169, "y": 64, "flags": 4},
+ {"matrix": [7, 10], "x": 180, "y": 64, "flags": 4},
+ {"matrix": [7, 11], "x": 198, "y": 64, "flags": 4},
+ {"matrix": [7, 12], "x": 214, "y": 64, "flags": 4}
+ ],
+ "animations": {
+ "alphas_mods": true,
+ "gradient_up_down": true,
+ "gradient_left_right": true,
+ "breathing": true,
+ "band_sat": true,
+ "band_val": true,
+ "band_pinwheel_sat": true,
+ "band_pinwheel_val": true,
+ "band_spiral_sat": true,
+ "band_spiral_val": true,
+ "cycle_all": true,
+ "cycle_left_right": true,
+ "cycle_up_down": true,
+ "cycle_out_in": true,
+ "cycle_out_in_dual": true,
+ "rainbow_moving_chevron": true,
+ "cycle_pinwheel": true,
+ "cycle_spiral": true,
+ "dual_beacon": true,
+ "rainbow_beacon": true,
+ "rainbow_pinwheels": true,
+ "raindrops": true,
+ "jellybean_raindrops": true,
+ "hue_breathing": true,
+ "hue_pendulum": true,
+ "hue_wave": true,
+ "pixel_flow": true,
+ "pixel_rain": true,
+ "typing_heatmap": true,
+ "digital_rain": true,
+ "solid_reactive_simple": true,
+ "solid_reactive": true,
+ "solid_reactive_wide": true,
+ "solid_reactive_cross": true,
+ "solid_reactive_nexus": true,
+ "splash": true,
+ "multisplash": true,
+ "solid_splash": true
+ },
+ "default": {
+ "val": 128
+ },
+ "led_process_limit": 4,
+ "led_flush_limit": 26,
+ "sleep": true
+ }
+}
diff --git a/keyboards/whirlwind_fx_element/keymaps/default/keymap.c b/keyboards/whirlwind_fx_element/keymaps/default/keymap.c
new file mode 100644
index 0000000000..36690aca28
--- /dev/null
+++ b/keyboards/whirlwind_fx_element/keymaps/default/keymap.c
@@ -0,0 +1,42 @@
+// Copyright 2023 WhirlwindFX
+// Copyright 2023 aedanmills
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┐
+ * │Esc│ │F1 │F2 │F3 │F4 │ │F5 │F6 │F7 │F8 │ │F9 │F10│F11│F12│ │PSc│Scr│Pse│
+ * └───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┘
+ * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┬───┬───┐ ┌───┬───┬───┬───┐
+ * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│ │Ins│Hom│PgU│ │Num│ / │ * │ - │
+ * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┼───┼───┤ ├───┼───┼───┼───┤
+ * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │ │Del│End│PgD│ │ 7 │ 8 │ 9 │ │
+ * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ └───┴───┴───┘ ├───┼───┼───┤ + │
+ * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │ │ 4 │ 5 │ 6 │ │
+ * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ ┌───┐ ├───┼───┼───┼───┤
+ * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift │ │ ↑ │ │ 1 │ 2 │ 3 │ │
+ * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ ┌───┼───┼───┐ ├───┴───┼───┤Ent│
+ * │Ctrl│GUI │Alt │ │ Alt│ FN │Menu│Ctrl│ │ ← │ ↓ │ → │ │ 0 │ . │ │
+ * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ └───┴───┴───┘ └───────┴───┴───┘
+ */
+ [0] = LAYOUT_fullsize_ansi(
+ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS,
+
+ KC_GRV, 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_INS, KC_HOME, KC_PGUP, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
+ 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_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS,
+ 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_P4, KC_P5, KC_P6,
+ 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_P1, KC_P2, KC_P3, KC_PENT,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT
+ ),
+ [1] = LAYOUT_fullsize_ansi(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BRID, KC_BRIU, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_CALC,
+
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RM_VALD, RM_VALU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RM_SPDU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RM_PREV, RM_SPDD, RM_NEXT, KC_TRNS, KC_TRNS
+ )
+};
diff --git a/keyboards/whirlwind_fx_element/mcuconf.h b/keyboards/whirlwind_fx_element/mcuconf.h
new file mode 100644
index 0000000000..c89f7275d4
--- /dev/null
+++ b/keyboards/whirlwind_fx_element/mcuconf.h
@@ -0,0 +1,10 @@
+// Copyright 2023 WhirlwindFX
+// Copyright 2023 aedanmills
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include_next
+
+#undef STM32_I2C_USE_I2C1
+#define STM32_I2C_USE_I2C1 TRUE
diff --git a/keyboards/whirlwind_fx_element/readme.md b/keyboards/whirlwind_fx_element/readme.md
new file mode 100644
index 0000000000..362b984772
--- /dev/null
+++ b/keyboards/whirlwind_fx_element/readme.md
@@ -0,0 +1,31 @@
+# WhirlwindFX ElementV2
+
+
+
+A full-size (100%) mechanical keyboard with RGB lighting.
+
+* Keyboard Maintainer: [Aedan Mills](https://github.com/aedanmills)
+* Hardware Supported: WhirlwindFX ElementV2
+* Hardware Availability: [WhirlwindFX](https://www.whirlwindfx.com/products/element)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make whirlwind_fx_element:default
+
+Flashing example for this keyboard:
+
+ make whirlwind_fx_element:default:flash
+
+## Bootloader
+
+Enter the bootloader by pressing and holding the reset button on the back of the PCB while plugging in the keyboard. You will have to remove the key caps to access the screws to disassemble the keyboard and access the button.
+
+Don't forget to backup the original firmware before proceeding by using the following dfu-util command with the keyboard in bootloader mode:
+
+ dfu-util --list # Check that the keyboard is listed in DFU mode
+ dfu-util -a 0 -U backup.bin -s 0x08000000 # Save backup as backup.bin
+
+After flashing with QMK, BootMagic can be used to enter the bootloader by holding ESC while plugging in the keyboard.
+
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/whirlwind_fx_element/whirlwind_fx_element.c b/keyboards/whirlwind_fx_element/whirlwind_fx_element.c
new file mode 100644
index 0000000000..6f17dbda2f
--- /dev/null
+++ b/keyboards/whirlwind_fx_element/whirlwind_fx_element.c
@@ -0,0 +1,119 @@
+// Copyright 2023 WhirlwindFX
+// Copyright 2023 aedanmills
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+#ifdef RGB_MATRIX_ENABLE
+const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = {
+ {0, SW1_CS2, SW1_CS3, SW1_CS1},
+ {0, SW1_CS5, SW1_CS6, SW1_CS4},
+ {0, SW1_CS8, SW1_CS9, SW1_CS7},
+ {0, SW1_CS11, SW1_CS12, SW1_CS10},
+ {0, SW1_CS14, SW1_CS15, SW1_CS13},
+ {0, SW1_CS17, SW1_CS18, SW1_CS16},
+ {0, SW1_CS20, SW1_CS21, SW1_CS19},
+ {0, SW1_CS23, SW1_CS24, SW1_CS22},
+ {0, SW1_CS26, SW1_CS27, SW1_CS25},
+ {0, SW1_CS29, SW1_CS30, SW1_CS28},
+ {0, SW1_CS32, SW1_CS33, SW1_CS31},
+ {0, SW1_CS35, SW1_CS36, SW1_CS34},
+ {0, SW1_CS38, SW1_CS39, SW1_CS37},
+ {0, SW2_CS2, SW2_CS3, SW2_CS1},
+ {0, SW2_CS5, SW2_CS6, SW2_CS4},
+ {0, SW2_CS8, SW2_CS9, SW2_CS7},
+ {0, SW2_CS11, SW2_CS12, SW2_CS10},
+ {0, SW2_CS14, SW2_CS15, SW2_CS13},
+ {0, SW2_CS17, SW2_CS18, SW2_CS16},
+ {0, SW2_CS20, SW2_CS21, SW2_CS19},
+ {0, SW2_CS23, SW2_CS24, SW2_CS22},
+ {0, SW2_CS26, SW2_CS27, SW2_CS25},
+ {0, SW2_CS29, SW2_CS30, SW2_CS28},
+ {0, SW2_CS32, SW2_CS33, SW2_CS31},
+ {0, SW2_CS35, SW2_CS36, SW2_CS34},
+ {0, SW2_CS38, SW2_CS39, SW2_CS37},
+ {0, SW3_CS2, SW3_CS3, SW3_CS1},
+ {0, SW3_CS5, SW3_CS6, SW3_CS4},
+ {0, SW3_CS8, SW3_CS9, SW3_CS7},
+ {0, SW3_CS11, SW3_CS12, SW3_CS10},
+ {0, SW3_CS14, SW3_CS15, SW3_CS13},
+ {0, SW3_CS17, SW3_CS18, SW3_CS16},
+ {0, SW3_CS20, SW3_CS21, SW3_CS19},
+ {0, SW3_CS23, SW3_CS24, SW3_CS22},
+ {0, SW3_CS26, SW3_CS27, SW3_CS25},
+ {0, SW3_CS29, SW3_CS30, SW3_CS28},
+ {0, SW3_CS32, SW3_CS33, SW3_CS31},
+ {0, SW3_CS35, SW3_CS36, SW3_CS34},
+ {0, SW3_CS38, SW3_CS39, SW3_CS37},
+ {0, SW4_CS2, SW4_CS3, SW4_CS1},
+ {0, SW4_CS5, SW4_CS6, SW4_CS4},
+ {0, SW4_CS8, SW4_CS9, SW4_CS7},
+ {0, SW4_CS11, SW4_CS12, SW4_CS10},
+ {0, SW4_CS14, SW4_CS15, SW4_CS13},
+ {0, SW4_CS17, SW4_CS18, SW4_CS16},
+ {0, SW4_CS20, SW4_CS21, SW4_CS19},
+ {0, SW4_CS23, SW4_CS24, SW4_CS22},
+ {0, SW4_CS26, SW4_CS27, SW4_CS25},
+ {0, SW4_CS29, SW4_CS30, SW4_CS28},
+ {0, SW4_CS32, SW4_CS33, SW4_CS31},
+ {0, SW4_CS35, SW4_CS36, SW4_CS34},
+ {0, SW4_CS38, SW4_CS39, SW4_CS37},
+ {0, SW5_CS2, SW5_CS3, SW5_CS1},
+ {0, SW5_CS5, SW5_CS6, SW5_CS4},
+ {0, SW5_CS8, SW5_CS9, SW5_CS7},
+ {0, SW5_CS11, SW5_CS12, SW5_CS10},
+ {0, SW5_CS14, SW5_CS15, SW5_CS13},
+ {0, SW5_CS17, SW5_CS18, SW5_CS16},
+ {0, SW5_CS20, SW5_CS21, SW5_CS19},
+ {0, SW5_CS23, SW5_CS24, SW5_CS22},
+ {0, SW5_CS26, SW5_CS27, SW5_CS25},
+ {0, SW5_CS29, SW5_CS30, SW5_CS28},
+ {0, SW5_CS32, SW5_CS33, SW5_CS31},
+ {0, SW5_CS35, SW5_CS36, SW5_CS34},
+ {0, SW5_CS38, SW5_CS39, SW5_CS37},
+ {0, SW6_CS2, SW6_CS3, SW6_CS1},
+ {0, SW6_CS5, SW6_CS6, SW6_CS4},
+ {0, SW6_CS8, SW6_CS9, SW6_CS7},
+ {0, SW6_CS11, SW6_CS12, SW6_CS10},
+ {0, SW6_CS14, SW6_CS15, SW6_CS13},
+ {0, SW6_CS17, SW6_CS18, SW6_CS16},
+ {0, SW6_CS20, SW6_CS21, SW6_CS19},
+ {0, SW6_CS23, SW6_CS24, SW6_CS22},
+ {0, SW6_CS26, SW6_CS27, SW6_CS25},
+ {0, SW6_CS29, SW6_CS30, SW6_CS28},
+ {0, SW6_CS32, SW6_CS33, SW6_CS31},
+ {0, SW6_CS35, SW6_CS36, SW6_CS34},
+ {0, SW6_CS38, SW6_CS39, SW6_CS37},
+ {0, SW7_CS2, SW7_CS3, SW7_CS1},
+ {0, SW7_CS5, SW7_CS6, SW7_CS4},
+ {0, SW7_CS8, SW7_CS9, SW7_CS7},
+ {0, SW7_CS11, SW7_CS12, SW7_CS10},
+ {0, SW7_CS14, SW7_CS15, SW7_CS13},
+ {0, SW7_CS17, SW7_CS18, SW7_CS16},
+ {0, SW7_CS20, SW7_CS21, SW7_CS19},
+ {0, SW7_CS23, SW7_CS24, SW7_CS22},
+ {0, SW7_CS26, SW7_CS27, SW7_CS25},
+ {0, SW7_CS29, SW7_CS30, SW7_CS28},
+ {0, SW7_CS32, SW7_CS33, SW7_CS31},
+ {0, SW7_CS35, SW7_CS36, SW7_CS34},
+ {0, SW7_CS38, SW7_CS39, SW7_CS37},
+ {0, SW8_CS2, SW8_CS3, SW8_CS1},
+ {0, SW8_CS5, SW8_CS6, SW8_CS4},
+ {0, SW8_CS8, SW8_CS9, SW8_CS7},
+ {0, SW8_CS11, SW8_CS12, SW8_CS10},
+ {0, SW8_CS14, SW8_CS15, SW8_CS13},
+ {0, SW8_CS17, SW8_CS18, SW8_CS16},
+ {0, SW8_CS20, SW8_CS21, SW8_CS19},
+ {0, SW8_CS23, SW8_CS24, SW8_CS22},
+ {0, SW8_CS26, SW8_CS27, SW8_CS25},
+ {0, SW8_CS29, SW8_CS30, SW8_CS28},
+ {0, SW8_CS32, SW8_CS33, SW8_CS31},
+ {0, SW8_CS35, SW8_CS36, SW8_CS34},
+ {0, SW8_CS38, SW8_CS39, SW8_CS37}
+};
+#endif
+void keyboard_pre_init_kb(void) {
+ gpio_set_pin_output(B11); // Required for indicators to work correctly
+
+ keyboard_pre_init_user();
+}
diff --git a/keyboards/zeix/singa/rubrehaku/config.h b/keyboards/zeix/singa/rubrehaku/config.h
new file mode 100644
index 0000000000..e47dae35e6
--- /dev/null
+++ b/keyboards/zeix/singa/rubrehaku/config.h
@@ -0,0 +1,20 @@
+/*
+Copyright 2024 zeix (@itsme-zeix)
+
+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 RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
diff --git a/keyboards/zeix/singa/rubrehaku/keyboard.json b/keyboards/zeix/singa/rubrehaku/keyboard.json
new file mode 100644
index 0000000000..3dbed82aab
--- /dev/null
+++ b/keyboards/zeix/singa/rubrehaku/keyboard.json
@@ -0,0 +1,694 @@
+{
+ "manufacturer": "KLC",
+ "keyboard_name": "Rubrehaku",
+ "maintainer": "itsme-zeix",
+ "bootloader": "rp2040",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
+ "indicators": {
+ "caps_lock": "GP29"
+ },
+ "matrix_pins": {
+ "cols": ["GP7", "GP6", "GP5", "GP4", "GP3", "GP2", "GP1", "GP0"],
+ "rows": ["GP27", "GP28", "GP10", "GP11", "GP18", "GP19", "GP23", "GP24", "GP25", "GP26"]
+ },
+ "processor": "RP2040",
+ "rgblight": {
+ "animations": {
+ "alternating": true,
+ "breathing": true,
+ "christmas": true,
+ "knight": true,
+ "rainbow_mood": true,
+ "rainbow_swirl": true,
+ "snake": true,
+ "static_gradient": true,
+ "twinkle": true
+ },
+ "default": {
+ "hue": 210,
+ "sat": 100,
+ "val": 8
+ },
+ "driver": "ws2812",
+ "led_count": 16,
+ "sleep": true
+ },
+ "url": "https://klc-playground.com",
+ "usb": {
+ "device_version": "0.0.1",
+ "pid": "0x8889",
+ "vid": "0x4C27"
+ },
+ "ws2812": {
+ "driver": "vendor",
+ "pin": "GP20"
+ },
+ "layouts": {
+ "LAYOUT_all": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [1, 6], "x": 13, "y": 0},
+ {"matrix": [0, 7], "x": 14, "y": 0},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 6], "x": 13.5, "y": 1, "w": 1.5},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [4, 6], "x": 12.75, "y": 2},
+ {"matrix": [5, 6], "x": 13.75, "y": 2, "w": 1.25},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"matrix": [7, 0], "x": 1.25, "y": 3},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.25},
+ {"matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25},
+ {"matrix": [9, 2], "x": 3.75, "y": 4, "w": 2.75},
+ {"matrix": [8, 3], "x": 6.5, "y": 4, "w": 1.25},
+ {"matrix": [9, 4], "x": 7.75, "y": 4, "w": 2.25},
+ {"matrix": [8, 5], "x": 10, "y": 4, "w": 1.25},
+ {"matrix": [9, 5], "x": 11.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_ansi": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [0, 7], "x": 13, "y": 0, "w": 2},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 6], "x": 13.5, "y": 1, "w": 1.5},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [5, 6], "x": 12.75, "y": 2, "w": 2.25},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 2.25},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.25},
+ {"matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25},
+ {"matrix": [8, 3], "x": 3.75, "y": 4, "w": 6.25},
+ {"matrix": [8, 5], "x": 10, "y": 4, "w": 1.25},
+ {"matrix": [9, 5], "x": 11.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_ansi_split_bs": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [1, 6], "x": 13, "y": 0},
+ {"matrix": [0, 7], "x": 14, "y": 0},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 6], "x": 13.5, "y": 1, "w": 1.5},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [5, 6], "x": 12.75, "y": 2, "w": 2.25},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 2.25},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.25},
+ {"matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25},
+ {"matrix": [8, 3], "x": 3.75, "y": 4, "w": 6.25},
+ {"matrix": [8, 5], "x": 10, "y": 4, "w": 1.25},
+ {"matrix": [9, 5], "x": 11.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_ansi_tsangan": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [0, 7], "x": 13, "y": 0, "w": 2},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 6], "x": 13.5, "y": 1, "w": 1.5},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [5, 6], "x": 12.75, "y": 2, "w": 2.25},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 2.25},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.5},
+ {"matrix": [9, 0], "x": 1.5, "y": 4},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.5},
+ {"matrix": [8, 3], "x": 4, "y": 4, "w": 7},
+ {"matrix": [8, 5], "x": 11, "y": 4, "w": 1.5},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_ansi_tsangan_split_bs": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [1, 6], "x": 13, "y": 0},
+ {"matrix": [0, 7], "x": 14, "y": 0},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 6], "x": 13.5, "y": 1, "w": 1.5},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [5, 6], "x": 12.75, "y": 2, "w": 2.25},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 2.25},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.5},
+ {"matrix": [9, 0], "x": 1.5, "y": 4},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.5},
+ {"matrix": [8, 3], "x": 4, "y": 4, "w": 7},
+ {"matrix": [8, 5], "x": 11, "y": 4, "w": 1.5},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_iso": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [0, 7], "x": 13, "y": 0, "w": 2},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [4, 6], "x": 12.75, "y": 2},
+ {"matrix": [5, 6], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"matrix": [7, 0], "x": 1.25, "y": 3},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.25},
+ {"matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25},
+ {"matrix": [8, 3], "x": 3.75, "y": 4, "w": 6.25},
+ {"matrix": [8, 5], "x": 10, "y": 4, "w": 1.25},
+ {"matrix": [9, 5], "x": 11.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_iso_split_bs": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [1, 6], "x": 13, "y": 0},
+ {"matrix": [0, 7], "x": 14, "y": 0},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [4, 6], "x": 12.75, "y": 2},
+ {"matrix": [5, 6], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"matrix": [7, 0], "x": 1.25, "y": 3},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.25},
+ {"matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25},
+ {"matrix": [8, 3], "x": 3.75, "y": 4, "w": 6.25},
+ {"matrix": [8, 5], "x": 10, "y": 4, "w": 1.25},
+ {"matrix": [9, 5], "x": 11.25, "y": 4, "w": 1.25},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_iso_tsangan": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [0, 7], "x": 13, "y": 0, "w": 2},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [4, 6], "x": 12.75, "y": 2},
+ {"matrix": [5, 6], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"matrix": [7, 0], "x": 1.25, "y": 3},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.5},
+ {"matrix": [9, 0], "x": 1.5, "y": 4},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.5},
+ {"matrix": [8, 3], "x": 4, "y": 4, "w": 7},
+ {"matrix": [8, 5], "x": 11, "y": 4, "w": 1.5},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ },
+ "LAYOUT_iso_tsangan_split_bs": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [1, 1], "x": 3, "y": 0},
+ {"matrix": [0, 2], "x": 4, "y": 0},
+ {"matrix": [1, 2], "x": 5, "y": 0},
+ {"matrix": [0, 3], "x": 6, "y": 0},
+ {"matrix": [1, 3], "x": 7, "y": 0},
+ {"matrix": [0, 4], "x": 8, "y": 0},
+ {"matrix": [1, 4], "x": 9, "y": 0},
+ {"matrix": [0, 5], "x": 10, "y": 0},
+ {"matrix": [1, 5], "x": 11, "y": 0},
+ {"matrix": [0, 6], "x": 12, "y": 0},
+ {"matrix": [1, 6], "x": 13, "y": 0},
+ {"matrix": [0, 7], "x": 14, "y": 0},
+ {"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [3, 0], "x": 1.5, "y": 1},
+ {"matrix": [2, 1], "x": 2.5, "y": 1},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 2], "x": 4.5, "y": 1},
+ {"matrix": [3, 2], "x": 5.5, "y": 1},
+ {"matrix": [2, 3], "x": 6.5, "y": 1},
+ {"matrix": [3, 3], "x": 7.5, "y": 1},
+ {"matrix": [2, 4], "x": 8.5, "y": 1},
+ {"matrix": [3, 4], "x": 9.5, "y": 1},
+ {"matrix": [2, 5], "x": 10.5, "y": 1},
+ {"matrix": [3, 5], "x": 11.5, "y": 1},
+ {"matrix": [2, 6], "x": 12.5, "y": 1},
+ {"matrix": [3, 7], "x": 15, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [5, 0], "x": 1.75, "y": 2},
+ {"matrix": [4, 1], "x": 2.75, "y": 2},
+ {"matrix": [5, 1], "x": 3.75, "y": 2},
+ {"matrix": [4, 2], "x": 4.75, "y": 2},
+ {"matrix": [5, 2], "x": 5.75, "y": 2},
+ {"matrix": [4, 3], "x": 6.75, "y": 2},
+ {"matrix": [5, 3], "x": 7.75, "y": 2},
+ {"matrix": [4, 4], "x": 8.75, "y": 2},
+ {"matrix": [5, 4], "x": 9.75, "y": 2},
+ {"matrix": [4, 5], "x": 10.75, "y": 2},
+ {"matrix": [5, 5], "x": 11.75, "y": 2},
+ {"matrix": [4, 6], "x": 12.75, "y": 2},
+ {"matrix": [5, 6], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
+ {"matrix": [5, 7], "x": 15, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"matrix": [7, 0], "x": 1.25, "y": 3},
+ {"matrix": [6, 1], "x": 2.25, "y": 3},
+ {"matrix": [7, 1], "x": 3.25, "y": 3},
+ {"matrix": [6, 2], "x": 4.25, "y": 3},
+ {"matrix": [7, 2], "x": 5.25, "y": 3},
+ {"matrix": [6, 3], "x": 6.25, "y": 3},
+ {"matrix": [7, 3], "x": 7.25, "y": 3},
+ {"matrix": [6, 4], "x": 8.25, "y": 3},
+ {"matrix": [7, 4], "x": 9.25, "y": 3},
+ {"matrix": [6, 5], "x": 10.25, "y": 3},
+ {"matrix": [7, 5], "x": 11.25, "y": 3},
+ {"matrix": [6, 6], "x": 12.25, "y": 3, "w": 1.75},
+ {"matrix": [7, 6], "x": 14, "y": 3},
+ {"matrix": [7, 7], "x": 15, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4, "w": 1.5},
+ {"matrix": [9, 0], "x": 1.5, "y": 4},
+ {"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.5},
+ {"matrix": [8, 3], "x": 4, "y": 4, "w": 7},
+ {"matrix": [8, 5], "x": 11, "y": 4, "w": 1.5},
+ {"matrix": [8, 6], "x": 13, "y": 4},
+ {"matrix": [9, 6], "x": 14, "y": 4},
+ {"matrix": [9, 7], "x": 15, "y": 4}
+ ]
+ }
+ }
+}
diff --git a/keyboards/zeix/singa/rubrehaku/keymaps/default/keymap.c b/keyboards/zeix/singa/rubrehaku/keymaps/default/keymap.c
new file mode 100644
index 0000000000..17e226b98c
--- /dev/null
+++ b/keyboards/zeix/singa/rubrehaku/keymaps/default/keymap.c
@@ -0,0 +1,35 @@
+/*
+Copyright 2024 zeix (@itsme-zeix)
+
+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(
+ KC_ESC, 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_BSLS, KC_BSPC,
+ 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, MO(1),
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
+ ),
+
+[1] = LAYOUT_all(
+ KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_DEL,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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/zeix/singa/rubrehaku/matrix_diagram.md b/keyboards/zeix/singa/rubrehaku/matrix_diagram.md
new file mode 100644
index 0000000000..cd11c0070a
--- /dev/null
+++ b/keyboards/zeix/singa/rubrehaku/matrix_diagram.md
@@ -0,0 +1,30 @@
+# Matrix Diagram for Rubrehaku
+
+```
+ ┌───┬───┐
+ Split Backspace │16 │07 │
+ └───┴───┘
+┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
+│00 │10 │01 │11 │02 │12 │03 │13 │04 │14 │05 │15 │06 │07 │
+├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┐ ┌─────┐
+│20 │30 │21 │31 │22 │32 │23 │33 │24 │34 │25 │35 │26 │36 │37 │ │ │
+├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ ┌──┴┐56 │ ISO Enter
+│40 │50 │41 │51 │42 │52 │43 │53 │44 │54 │45 │55 │56 │57 │ │46 │ │
+├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ └───┴────┘
+│60 │61 │71 │62 │72 │63 │73 │64 │74 │65 │75 │66 │76 │77 │
+├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬─┬───┼───┼───┤
+│80 │90 │81 │83 │95 │ │86 │96 │97 │
+└─────┴───┴─────┴───────────────────────────┴─────┘ └───┴───┴───┘
+┌────┬───┐
+│60 │70 │ Split Left Shift
+└────┴───┘
+┌────┬────┬────┬────────────────────────┬────┬────┐
+│80 │90 │81 │83 │85 │95 │ 6.25u
+└────┴────┴────┴────────────────────────┴────┴────┘
+┌────┬────┬────┬───────────┬────┬───────┬────┬────┐
+│80 │90 │81 │92 │83 │94 │85 │95 │ Split Space (Left 2.75u)
+└────┴────┴────┴───────────┴────┴───────┴────┴────┘
+┌────┬────┬────┬───────┬────┬───────────┬────┬────┐
+│80 │90 │81 │92 │83 │94 │85 │95 │ Split Space (Left 2.25u)
+└────┴────┴────┴───────┴────┴───────────┴────┴────┘
+```
diff --git a/keyboards/zeix/singa/rubrehaku/readme.md b/keyboards/zeix/singa/rubrehaku/readme.md
new file mode 100644
index 0000000000..f7fcc1f871
--- /dev/null
+++ b/keyboards/zeix/singa/rubrehaku/readme.md
@@ -0,0 +1,27 @@
+# SINGA Rubrehaku (PCB designed by Zeix)
+
+
+
+65% PCB designed to support Rubrehaku
+
+* Keyboard Maintainer: [Zeix](https://github.com/itsme-zeix)
+* Hardware Supported: KLC x SINGA x Rubrehose Rubrehaku
+* Hardware Availability: https://klc-playground.com/
+
+Make example for this keyboard (after setting up your build environment):
+
+ make zeix/singa/rubrehaku:default
+
+Flashing example for this keyboard:
+
+ make zeix/singa/rubrehaku:default:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the top left key and plug in the keyboard.
+* **Physical reset button**: Briefly press the `RESET` button twice or short the 'USB_BOOT' and `GND` pads and plug in the keyboard.
+* **Keycode in layout**: Press the key mapped to `QK_BOOT`.
diff --git a/lib/python/qmk/cli/info.py b/lib/python/qmk/cli/info.py
index 5925b57258..26f7f0269d 100755
--- a/lib/python/qmk/cli/info.py
+++ b/lib/python/qmk/cli/info.py
@@ -102,6 +102,48 @@ def show_matrix(kb_info_json, title_caps=True):
print(render_layout(kb_info_json['layouts'][layout_name]['layout'], cli.config.info.ascii, labels))
+def show_leds(kb_info_json, title_caps=True):
+ """Render LED indices per key, using the keyboard's key layout geometry.
+
+ We build a map from (row, col) -> LED index using rgb_matrix/led_matrix layout,
+ then label each key with its LED index. Keys without an associated LED are left blank.
+ """
+ # Prefer rgb_matrix, fall back to led_matrix
+ led_feature = None
+ for feature in ['rgb_matrix', 'led_matrix']:
+ if 'layout' in kb_info_json.get(feature, {}):
+ led_feature = feature
+ break
+
+ if not led_feature:
+ cli.echo('{fg_yellow}No rgb_matrix/led_matrix layout found to derive LED indices.{fg_reset}')
+ return
+
+ # Build mapping from matrix position -> LED indices for faster lookup later
+ by_matrix = {}
+ for idx, led in enumerate(kb_info_json[led_feature]['layout']):
+ if 'matrix' in led:
+ led_key = tuple(led.get('matrix'))
+ by_matrix[led_key] = idx
+
+ # For each keyboard layout (e.g., LAYOUT), render keys labeled with LED index (or blank)
+ for layout_name, layout in kb_info_json['layouts'].items():
+ labels = []
+ for key in layout['layout']:
+ led_key = tuple(key.get('matrix'))
+ label = str(by_matrix[led_key]) if led_key in by_matrix else ''
+
+ labels.append(label)
+
+ # Header
+ if title_caps:
+ cli.echo('{fg_blue}LED indices for "%s"{fg_reset}:', layout_name)
+ else:
+ cli.echo('{fg_blue}leds_%s{fg_reset}:', layout_name)
+
+ print(render_layout(kb_info_json['layouts'][layout_name]['layout'], cli.config.info.ascii, labels))
+
+
def print_friendly_output(kb_info_json):
"""Print the info.json in a friendly text format.
"""
@@ -169,6 +211,7 @@ def print_parsed_rules_mk(keyboard_name):
@cli.argument('-km', '--keymap', help='Keymap to show info for (Optional).')
@cli.argument('-l', '--layouts', action='store_true', help='Render the layouts.')
@cli.argument('-m', '--matrix', action='store_true', help='Render the layouts with matrix information.')
+@cli.argument('-L', '--leds', action='store_true', help='Render the LED layout with LED indices (rgb_matrix/led_matrix).')
@cli.argument('-f', '--format', default='friendly', arg_only=True, help='Format to display the data in (friendly, text, json) (Default: friendly).')
@cli.argument('--ascii', action='store_true', default=not UNICODE_SUPPORT, help='Render layout box drawings in ASCII only.')
@cli.argument('-r', '--rules-mk', action='store_true', help='Render the parsed values of the keyboard\'s rules.mk file.')
@@ -227,5 +270,8 @@ def info(cli):
if cli.config.info.matrix:
show_matrix(kb_info_json, title_caps)
+ if cli.config.info.leds:
+ show_leds(kb_info_json, title_caps)
+
if cli.config.info.keymap:
show_keymap(kb_info_json, title_caps)
diff --git a/platforms/progmem.h b/platforms/progmem.h
index 3a7a169682..6c4ebcaa01 100644
--- a/platforms/progmem.h
+++ b/platforms/progmem.h
@@ -7,6 +7,7 @@
# define PROGMEM
# define PSTR(x) x
# define PGM_P const char*
+# define memcmp_P(s1, s2, n) memcmp(s1, s2, n)
# define memcpy_P(dest, src, n) memcpy(dest, src, n)
# define pgm_read_byte(address_short) *((uint8_t*)(address_short))
# define pgm_read_word(address_short) *((uint16_t*)(address_short))
diff --git a/quantum/painter/qp_comms.c b/quantum/painter/qp_comms.c
index 63667783e1..402165b119 100644
--- a/quantum/painter/qp_comms.c
+++ b/quantum/painter/qp_comms.c
@@ -49,15 +49,15 @@ uint32_t qp_comms_send(painter_device_t device, const void *data, uint32_t byte_
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Comms APIs that use a D/C pin
-void qp_comms_command(painter_device_t device, uint8_t cmd) {
+bool qp_comms_command(painter_device_t device, uint8_t cmd) {
painter_driver_t * driver = (painter_driver_t *)device;
painter_comms_with_command_vtable_t *comms_vtable = (painter_comms_with_command_vtable_t *)driver->comms_vtable;
- comms_vtable->send_command(device, cmd);
+ return comms_vtable->send_command(device, cmd);
}
-void qp_comms_command_databyte(painter_device_t device, uint8_t cmd, uint8_t data) {
+bool qp_comms_command_databyte(painter_device_t device, uint8_t cmd, uint8_t data) {
qp_comms_command(device, cmd);
- qp_comms_send(device, &data, sizeof(data));
+ return qp_comms_send(device, &data, sizeof(data));
}
uint32_t qp_comms_command_databuf(painter_device_t device, uint8_t cmd, const void *data, uint32_t byte_count) {
@@ -65,8 +65,8 @@ uint32_t qp_comms_command_databuf(painter_device_t device, uint8_t cmd, const vo
return qp_comms_send(device, data, byte_count);
}
-void qp_comms_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
+bool qp_comms_bulk_command_sequence(painter_device_t device, const uint8_t *sequence, size_t sequence_len) {
painter_driver_t * driver = (painter_driver_t *)device;
painter_comms_with_command_vtable_t *comms_vtable = (painter_comms_with_command_vtable_t *)driver->comms_vtable;
- comms_vtable->bulk_command_sequence(device, sequence, sequence_len);
+ return comms_vtable->bulk_command_sequence(device, sequence, sequence_len);
}
diff --git a/quantum/painter/qp_comms.h b/quantum/painter/qp_comms.h
index 8fbf25c201..dc5892b1bb 100644
--- a/quantum/painter/qp_comms.h
+++ b/quantum/painter/qp_comms.h
@@ -19,7 +19,7 @@ uint32_t qp_comms_send(painter_device_t device, const void* data, uint32_t byte_
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Comms APIs that use a D/C pin
-void qp_comms_command(painter_device_t device, uint8_t cmd);
-void qp_comms_command_databyte(painter_device_t device, uint8_t cmd, uint8_t data);
+bool qp_comms_command(painter_device_t device, uint8_t cmd);
+bool qp_comms_command_databyte(painter_device_t device, uint8_t cmd, uint8_t data);
uint32_t qp_comms_command_databuf(painter_device_t device, uint8_t cmd, const void* data, uint32_t byte_count);
-void qp_comms_bulk_command_sequence(painter_device_t device, const uint8_t* sequence, size_t sequence_len);
+bool qp_comms_bulk_command_sequence(painter_device_t device, const uint8_t* sequence, size_t sequence_len);
diff --git a/quantum/painter/qp_internal_driver.h b/quantum/painter/qp_internal_driver.h
index 69da966f8c..5b6efe2c83 100644
--- a/quantum/painter/qp_internal_driver.h
+++ b/quantum/painter/qp_internal_driver.h
@@ -36,7 +36,7 @@ typedef struct painter_driver_vtable_t {
typedef bool (*painter_driver_comms_init_func)(painter_device_t device);
typedef bool (*painter_driver_comms_start_func)(painter_device_t device);
-typedef void (*painter_driver_comms_stop_func)(painter_device_t device);
+typedef bool (*painter_driver_comms_stop_func)(painter_device_t device);
typedef uint32_t (*painter_driver_comms_send_func)(painter_device_t device, const void *data, uint32_t byte_count);
typedef struct painter_comms_vtable_t {
@@ -46,8 +46,8 @@ typedef struct painter_comms_vtable_t {
painter_driver_comms_send_func comms_send;
} painter_comms_vtable_t;
-typedef void (*painter_driver_comms_send_command_func)(painter_device_t device, uint8_t cmd);
-typedef void (*painter_driver_comms_bulk_command_sequence)(painter_device_t device, const uint8_t *sequence, size_t sequence_len);
+typedef bool (*painter_driver_comms_send_command_func)(painter_device_t device, uint8_t cmd);
+typedef bool (*painter_driver_comms_bulk_command_sequence)(painter_device_t device, const uint8_t *sequence, size_t sequence_len);
typedef struct painter_comms_with_command_vtable_t {
painter_comms_vtable_t base; // must be first, so this object can be cast from the painter_comms_vtable_t* type
diff --git a/quantum/via.c b/quantum/via.c
index 9446811af6..130ff74794 100644
--- a/quantum/via.c
+++ b/quantum/via.c
@@ -37,6 +37,10 @@
#include "version.h" // for QMK_BUILDDATE used in EEPROM magic
#include "nvm_via.h"
+#if defined(SECURE_ENABLE)
+# include "secure.h"
+#endif
+
#if defined(AUDIO_ENABLE)
# include "audio.h"
#endif
@@ -322,8 +326,13 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
uint8_t rows = 28 / ((MATRIX_COLS + 7) / 8);
uint8_t i = 2;
for (uint8_t row = 0; row < rows && row + offset < MATRIX_ROWS; row++) {
-#ifdef VIA_INSECURE
+#if defined(VIA_INSECURE)
matrix_row_t value = matrix_get_row(row + offset);
+#elif defined(SECURE_ENABLE)
+ matrix_row_t value = 0;
+ if (secure_is_unlocked()) {
+ value = matrix_get_row(row + offset);
+ }
#else
matrix_row_t value = 0;
#endif