Open Source Configuration Software for some Sonix Keyboards
  • Rust 98.7%
  • Nix 1.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-12 19:57:01 +02:00
crates aurora: Initial commit 2026-10-12 18:50:04 +02:00
docs/assets aurora: Initial commit 2026-10-12 18:50:04 +02:00
packaging/udev aurora: Initial commit 2026-10-12 18:50:04 +02:00
.gitignore aurora: Initial commit 2026-10-12 18:50:04 +02:00
Cargo.lock aurora: Initial commit 2026-10-12 18:50:04 +02:00
Cargo.toml aurora: Initial commit 2026-10-12 18:50:04 +02:00
flake.lock aurora: Initial commit 2026-10-12 18:50:04 +02:00
flake.nix aurora: Initial commit 2026-10-12 18:50:04 +02:00
LICENSE aurora: Initial commit 2026-10-12 18:50:04 +02:00
README.md aurora: Typo in README 2026-10-12 19:57:01 +02:00
rustfmt.toml aurora: Initial commit 2026-10-12 18:50:04 +02:00

Aurora

Aurora is a FOSS implementation of the protocol used by some random (Sonix) mechanical keyboards software.

If your keyboard software looks like this:

Keyboard Software

Then this project is for you (hopefully).

Why?

The original software is closed source and only available for Windows. While I plan to eventually port SonixQMK to my keyboard, I wanted to still change settings without relying on that half broken software.

Features

  • Supports both Wired and 2.4Ghz dongle connections.
  • Keymap editor
  • RGB lighting editor
  • Dump and restore full regions
  • Support for adding more keyboards

In theory, the following features can be implemented, but I don't have any device to test them on:

  • Screen
  • Firmware update?
  • LEDs sync with music
  • Battery status
  • Maybe bluetooth transport?

Supported Keyboards

Currently, the following keyboards are supported:

  • Xinmeng/Surmen M75 (non PRO version), or equivalent boards using the same VID:PID (0x0C45:0x8006)

Install

Compile the program with cargo build --release.

Install the udev rules in /etc/udev/rules.d/ and run

$ sudo udevadm control --reload-rules && sudo udevadm trigger

Run the program with ./target/release/aurora.

How to use

Aurora offers a CLI to control your keyboard.

Some example commands:

# Set the default board to use from now on.
$ aurora config default_board <board_id>

# See general info about the current attached board
$ aurora info

# Show the current keyboard settings
$ aurora settings
# Disables windows key
$ aurora settings --win-dis true

# Dump all the keyboard settings to the 'region' folder
$ aurora dump regions

You can use aurora --help to see all available commands and aurora <command> --help to see the options for a specific command.

Porting

If you want to add support for a new keyboard, you'll need to:

  • Create a new board in the boards directory, following the structure of the existing boards.
  • Find the VID:PID of your keyboard, capabilities etc, and fill the board definition. Usually, this info can be found in the original software in an XML file.
  • Hope it works or open an issue if it doesn't.

Resources

License

This project is licensed under the GNU General Public License v3 or later (GPL-3.0-or-later), see LICENSE for details.