Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22b213e191 | ||
|
|
8522449ccf | ||
|
|
cbeab2ac4f | ||
|
|
aa5a6d38de | ||
|
|
a1096e1dec | ||
|
|
a9739f7868 | ||
|
|
a5fb7cfbc9 | ||
|
|
62d87fa446 | ||
|
|
8e5550dbb2 | ||
|
|
f4123acc72 | ||
|
|
98e65cf3e1 | ||
|
|
7d0fc5d486 | ||
|
|
1c1e8d7f7a |
2
.github/workflows/ci_build_major_branch.yml
vendored
@@ -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: .
|
||||
|
||||
@@ -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
|
||||
|
||||
2
.github/workflows/docs.yml
vendored
@@ -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
|
||||
|
||||
5
.gitignore
vendored
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
<!-- Source for this image: https://www.keyboard-layout-editor.com/#/gists/bf431647d1001cff5eff20ae55621e9a -->
|
||||

|
||||

|
||||
|
||||
## How Can I Make Custom Names For Complex Keycodes?
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -55,7 +55,7 @@ Changing the **Hue** cycles around the circle.<br>
|
||||
Changing the **Saturation** moves between the inner and outer sections of the wheel, affecting the intensity of the color.<br>
|
||||
Changing the **Value** sets the overall brightness.<br>
|
||||
|
||||

|
||||

|
||||
|
||||
## Keycodes
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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/<whoeveryouare>/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 :)
|
||||
|
||||
@@ -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.
|
||||
|
||||
<img src="https://i.imgur.com/QiA3ta6.jpg" alt="Postage board mini mounted in place" width="500"/>
|
||||
<img src="/QiA3ta6.jpg" alt="Postage board mini mounted in place" width="500"/>
|
||||
|
||||
| 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.
|
||||
|
||||
<img src="https://i.imgur.com/eHJjmnU.jpg" alt="Looped around rod" width="200"/> <img src="https://i.imgur.com/8nbxmmr.jpg?1" alt="Looped diode leg" width="200"/>
|
||||
<img src="/eHJjmnU.jpg" alt="Looped around rod" width="400"/>
|
||||
|
||||
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.
|
||||
|
||||
<img src="https://i.imgur.com/oITudbX.jpg" alt="Bent diode legs" width="200"/>
|
||||
<img src="/oITudbX.jpg" alt="Bent diode legs" width="400"/>
|
||||
|
||||
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.
|
||||
|
||||
<img src="https://i.imgur.com/z2QlKfB.jpg" alt="Ribbon Cable" width="350"/>
|
||||
<img src="/z2QlKfB.jpg" alt="Ribbon Cable" width="600"/>
|
||||
|
||||
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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||

|
||||

|
||||
|
||||
@@ -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 <kbd>Finish</kbd>
|
||||
|
||||

|
||||

|
||||
|
||||
3. The project will now be loaded and indexed. Its files can be browsed easily through the _Project Explorer_ on the left.
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
The Proton C is an Arm STM32F303xC based drop-in replacement for the Pro Micro.
|
||||
|
||||
<img src="https://i.imgur.com/GdsN1Rdh.jpg" alt="Proton C" />
|
||||
<img src="https://qmk.fm/proton-c.jpg" alt="Proton C" width="800"/>
|
||||
|
||||
#### Features
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ The following table shows the current driver status for peripherals on RP2040 MC
|
||||
|
||||
## GPIO
|
||||
|
||||
<img alt="Raspberry Pi Pico pinout" src="https://i.imgur.com/nLaiYDE.jpg" width="48%"/>
|
||||
<img alt="Sparkfun RP2040 Pro Micro pinout" src="https://i.imgur.com/1TPAhrs.jpg" width="48%"/>
|
||||
<img alt="Raspberry Pi Pico pinout" src="/nLaiYDE.jpg" width="48%"/>
|
||||
<img alt="Sparkfun RP2040 Pro Micro pinout" src="/1TPAhrs.jpg" width="48%"/>
|
||||
|
||||
::: warning
|
||||
The GPIO pins of the RP2040 are not 5V tolerant!
|
||||
|
||||
BIN
docs/public/0GNIYY0.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
docs/public/1TPAhrs.jpg
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
docs/public/2wUZNWk.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
docs/public/3RrSjzW.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
docs/public/4wjJzBU.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
docs/public/5wsh5wM.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
docs/public/8Toomz4.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
docs/public/AvXZShD.jpg
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
docs/public/BPEC5n5.jpg
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
docs/public/BmAvoUC.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/public/Bu4mk9m.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
docs/public/CWYmsk8.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
docs/public/CnASmPo.jpg
Normal file
|
After Width: | Height: | Size: 282 KiB |
BIN
docs/public/DkEhj9x.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
docs/public/DxMHpJ8.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
docs/public/EGrPM1L.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
docs/public/EVkxOt1.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
docs/public/FRShcLD.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
docs/public/HL5DP8H.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
docs/public/Hx0E5kC.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
docs/public/JKngtTw.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
docs/public/JcDhZll.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
docs/public/N1NYcSz.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
docs/public/Ojydlaj.jpg
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
docs/public/QeY6kMQ.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
docs/public/QiA3ta6.jpg
Normal file
|
After Width: | Height: | Size: 160 KiB |
BIN
docs/public/RFyNMlL.jpg
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
docs/public/UlJ4ZDP.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
docs/public/aEs2RuA.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
docs/public/aTnG8TV.jpg
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
docs/public/anw9cOL.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
docs/public/b4b7KDb.jpg
Normal file
|
After Width: | Height: | Size: 281 KiB |
BIN
docs/public/b8VgXzx.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
docs/public/eGO0ohO.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
docs/public/eHJjmnU.jpg
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
docs/public/fmDvDzR.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
docs/public/hcegguh.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
docs/public/mBe5vkL.jpg
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
docs/public/nCgeolTh.png
Normal file
|
After Width: | Height: | Size: 197 KiB |
BIN
docs/public/nLaiYDE.jpg
Normal file
|
After Width: | Height: | Size: 217 KiB |
BIN
docs/public/o7WLvBl.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
docs/public/oHYR1yW.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/public/oITudbX.jpg
Normal file
|
After Width: | Height: | Size: 434 KiB |
BIN
docs/public/vkYVo66.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
docs/public/z2QlKfB.jpg
Normal file
|
After Width: | Height: | Size: 255 KiB |
BIN
docs/public/zmwOL5P.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
@@ -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.*
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
14
keyboards/cornifi/config.h
Normal file
@@ -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
|
||||
96
keyboards/cornifi/keyboard.json
Normal file
@@ -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}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
27
keyboards/cornifi/keymaps/default/keymap.c
Normal file
@@ -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
|
||||
};
|
||||
32
keyboards/cornifi/readme.md
Normal file
@@ -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)
|
||||
@@ -49,20 +49,20 @@
|
||||
{"matrix": [15, 3], "x": 11.5, "y": 1},
|
||||
{"matrix": [13, 3], "x": 12.5, "y": 1},
|
||||
|
||||
{"matrix": [6, 6], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 6], "x": 1.75, "y": 2},
|
||||
{"matrix": [1, 6], "x": 2.75, "y": 2},
|
||||
{"matrix": [5, 6], "x": 3.75, "y": 2},
|
||||
{"matrix": [7, 6], "x": 4.75, "y": 2},
|
||||
{"matrix": [10, 6], "x": 5.75, "y": 2},
|
||||
{"matrix": [9, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [8, 6], "x": 7.75, "y": 2},
|
||||
{"matrix": [11, 6], "x": 8.75, "y": 2},
|
||||
{"matrix": [14, 6], "x": 9.75, "y": 2},
|
||||
{"matrix": [15, 6], "x": 10.75, "y": 2},
|
||||
{"matrix": [13, 6], "x": 11.75, "y": 2},
|
||||
{"matrix": [12, 6], "x": 12.75, "y": 2},
|
||||
{"matrix": [0, 6], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
|
||||
{"matrix": [0, 6], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [6, 6], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 2.75, "y": 2},
|
||||
{"matrix": [1, 6], "x": 3.75, "y": 2},
|
||||
{"matrix": [5, 6], "x": 4.75, "y": 2},
|
||||
{"matrix": [7, 6], "x": 5.75, "y": 2},
|
||||
{"matrix": [10, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [9, 6], "x": 7.75, "y": 2},
|
||||
{"matrix": [8, 6], "x": 8.75, "y": 2},
|
||||
{"matrix": [11, 6], "x": 9.75, "y": 2},
|
||||
{"matrix": [14, 6], "x": 10.75, "y": 2},
|
||||
{"matrix": [15, 6], "x": 11.75, "y": 2},
|
||||
{"matrix": [13, 6], "x": 12.75, "y": 2},
|
||||
{"matrix": [12, 6], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
|
||||
|
||||
{"matrix": [0, 5], "x": 0, "y": 3, "w": 2},
|
||||
{"matrix": [6, 5], "x": 2, "y": 3},
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
{"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5},
|
||||
{"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5},
|
||||
|
||||
{"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5, "w": 2},
|
||||
{"label": "0", "matrix": [0, 12], "x": 19, "y": 5.5, "w": 2},
|
||||
{"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5}
|
||||
]
|
||||
},
|
||||
@@ -277,7 +277,7 @@
|
||||
{"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5},
|
||||
{"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5},
|
||||
|
||||
{"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5, "w": 2},
|
||||
{"label": "0", "matrix": [0, 12], "x": 19, "y": 5.5, "w": 2},
|
||||
{"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5}
|
||||
]
|
||||
}
|
||||
|
||||
203
keyboards/sneakbox/m4m5/keyboard.json
Normal file
@@ -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}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
32
keyboards/sneakbox/m4m5/keymaps/alice/keymap.c
Normal file
@@ -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
|
||||
32
keyboards/sneakbox/m4m5/keymaps/default/keymap.c
Normal file
@@ -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
|
||||
27
keyboards/sneakbox/m4m5/readme.md
Normal file
@@ -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)
|
||||
23
keyboards/sofle_pico/config.h
Normal file
@@ -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
|
||||
7
keyboards/sofle_pico/halconf.h
Normal file
@@ -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 <halconf.h>
|
||||
239
keyboards/sofle_pico/keyboard.json
Normal file
@@ -0,0 +1,239 @@
|
||||
{
|
||||
"manufacturer": "Ryan Neff",
|
||||
"keyboard_name": "Sofle Pico",
|
||||
"maintainer": "Ryan Neff <github@JellyTitan.com>",
|
||||
"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}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
53
keyboards/sofle_pico/keymaps/default/keymap.c
Normal file
@@ -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
|
||||
10
keyboards/sofle_pico/keymaps/default/readme.md
Normal file
@@ -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.
|
||||
1
keyboards/sofle_pico/keymaps/default/rules.mk
Normal file
@@ -0,0 +1 @@
|
||||
TRI_LAYER_ENABLE = yes
|
||||
31
keyboards/sofle_pico/readme.md
Normal file
@@ -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.
|
||||
32
keyboards/sofle_pico/sofle_pico.c
Normal file
@@ -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
|
||||
9
keyboards/trnthsn/tyson60/config.h
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2025 Tyson.Keebs
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define WS2812_SPI_DRIVER SPID2
|
||||
#define WS2812_SPI_MOSI_PAL_MODE 0
|
||||
#define WS2812_SPI_SCK_PAL_MODE 0
|
||||
#define WS2812_SPI_SCK_PIN B13
|
||||
7
keyboards/trnthsn/tyson60/halconf.h
Normal file
@@ -0,0 +1,7 @@
|
||||
// Copyright 2025 Tyson.Keebs
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define HAL_USE_SPI TRUE
|
||||
#include_next <halconf.h>
|
||||
114
keyboards/trnthsn/tyson60/info.json
Normal file
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"manufacturer": "Tyson.Keebs",
|
||||
"keyboard_name": "Tyson60",
|
||||
"maintainer": "trnthsn",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"rgblight": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B4"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A10", "A9", "A8", "B14", "B12", "B10", "B1", "B0", "A15", "B5", "C15", "C14", "C13", "B9"],
|
||||
"rows": ["B8", "B7", "B6", "B11", "A6"]
|
||||
},
|
||||
"rgblight": {
|
||||
"animations": {
|
||||
"alternating": true,
|
||||
"breathing": true,
|
||||
"christmas": true,
|
||||
"knight": true,
|
||||
"rainbow_mood": true,
|
||||
"rainbow_swirl": true,
|
||||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"led_count": 30,
|
||||
"sleep": true
|
||||
},
|
||||
"usb": {
|
||||
"device_version": "0.0.1",
|
||||
"pid": "0x5336",
|
||||
"vid": "0x5453"
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "spi",
|
||||
"pin": "B15"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||
{"matrix": [2, 12], "x": 13, "y": 0},
|
||||
{"matrix": [0, 13], "x": 14, "y": 0},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2.25, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3.25, "y": 3},
|
||||
{"matrix": [3, 4], "x": 4.25, "y": 3},
|
||||
{"matrix": [3, 5], "x": 5.25, "y": 3},
|
||||
{"matrix": [3, 6], "x": 6.25, "y": 3},
|
||||
{"matrix": [3, 7], "x": 7.25, "y": 3},
|
||||
{"matrix": [3, 8], "x": 8.25, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9.25, "y": 3},
|
||||
{"matrix": [3, 10], "x": 10.25, "y": 3},
|
||||
{"matrix": [3, 11], "x": 11.25, "y": 3, "w": 1.75},
|
||||
{"matrix": [3, 12], "x": 13, "y": 3},
|
||||
{"matrix": [3, 13], "x": 14, "y": 3},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1},
|
||||
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 7], "x": 4, "y": 4, "w": 7},
|
||||
{"matrix": [4, 10], "x": 11, "y": 4},
|
||||
{"matrix": [4, 11], "x": 12, "y": 4},
|
||||
{"matrix": [4, 12], "x": 13, "y": 4},
|
||||
{"matrix": [4, 13], "x": 14, "y": 4}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
40
keyboards/trnthsn/tyson60/keymaps/default/keymap.c
Normal file
@@ -0,0 +1,40 @@
|
||||
// Copyright 2025 Tyson.Keebs
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
|
||||
// │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bsp│Bsp│
|
||||
// ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤
|
||||
// │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │
|
||||
// ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
// │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │
|
||||
// ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
|
||||
// │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │Shift │↑ │/ │
|
||||
// ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤
|
||||
// │Ctrl │GUI│ Alt │ │Fn │← │↓ │→ │
|
||||
// └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘
|
||||
|
||||
[0] = LAYOUT(
|
||||
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_BSPC, 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_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_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_GRV, 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_INS, KC_DEL,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
MO(2) , _______, _______, _______, _______, _______, _______, UG_TOGG, UG_NEXT, UG_VALD, UG_VALU, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
9
keyboards/trnthsn/tyson60/mcuconf.h
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2025 Tyson.Keebs
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
#undef STM32_SPI_USE_SPI2
|
||||
#define STM32_SPI_USE_SPI2 TRUE
|
||||
27
keyboards/trnthsn/tyson60/readme.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Tyson60
|
||||
|
||||

|
||||
|
||||
Tyson60 PCB, 60% keyboard PCB.
|
||||
|
||||
* Keyboard Maintainer: [Trnthsn](https://github.com/trnthsn)
|
||||
* Hardware Supported: STM32, Tyson60
|
||||
* Hardware Availability: [ThanhSon.Mech](https://www.facebook.com/ThanhSon.mech)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make trnthsn/tyson60/stm32f103:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make trnthsn/tyson60/stm32f103: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**: Briefly press the button on the back of the PCB - some may have pads you must short instead
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
||||
4
keyboards/trnthsn/tyson60/stm32f072/keyboard.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
}
|
||||
4
keyboards/trnthsn/tyson60/stm32f103/keyboard.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "uf2boot",
|
||||
}
|
||||
7
keyboards/whirlwind_fx_element/config.h
Normal file
@@ -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
|
||||
9
keyboards/whirlwind_fx_element/halconf.h
Normal file
@@ -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 <halconf.h>
|
||||
302
keyboards/whirlwind_fx_element/keyboard.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
42
keyboards/whirlwind_fx_element/keymaps/default/keymap.c
Normal file
@@ -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
|
||||
)
|
||||
};
|
||||
10
keyboards/whirlwind_fx_element/mcuconf.h
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2023 WhirlwindFX
|
||||
// Copyright 2023 aedanmills
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
#undef STM32_I2C_USE_I2C1
|
||||
#define STM32_I2C_USE_I2C1 TRUE
|
||||