Commander is one open-source program for your gaming devices, in place of the software each maker ships with them. Buttons, pictures, lighting and game profiles for all of them, in one window, on Windows.
The hardware belongs to you, so the software should too. No accounts, no telemetry, no five programs in the notification area.
It started with the Turtle Beach KB7 keyboard, because its own software is hard to live with. It grew from there: devices are added by measuring them, on hardware we own or with the help of people who own it.
| Device | What Commander does | In place of |
|---|---|---|
| Turtle Beach Command Series KB7 (keyboard with a touchscreen) | Your own buttons, pictures and actions on all three screen pages; layered RGB lighting that reacts to keys; the volume mixer page; profile names; the screen timeout; default settings and a factory reset | Swarm II |
| Logitech G703 LIGHTSPEED (mouse, on its receiver or its cable) | What each button does (a mouse button, a key with modifiers, a DPI function), DPI levels, report rate, battery; stored in the mouse itself, so it works without Commander | G HUB |
| Mountain DisplayPad (twelve keys, each with a screen) | Twelve buttons per game profile with pictures and actions, brightness, a picture while the PC is locked | Base Camp |
Windows only for the devices above. The command-line tool kb7screen also
builds for Linux, but has not been run on a keyboard there.
- Game profiles. Each game gets a profile: when it starts, every device switches to what you set for it, and back when it ends. A game profile without buttons of its own on the DisplayPad shows Desktop's.
- Buttons with pictures. On the KB7's screen and the DisplayPad's keys: a title you can place and size, your own fonts, colours, symbols or your own picture. Drag buttons around, or move and copy them to another game profile or the other device.
- Actions. Press a key combination, play a sequence with pauses (macros), start a program, open a website, or ask a plugin to act.
- Lighting. Per-key lighting on the KB7 in layers: waves, breathing, ripples from key presses, keys that light with an on/off state.
- Plugins. Programs that give Commander game data and actions, so a game can be added without building it into Commander. See Plugins.
- One window, one tray icon. Commander starts with Windows, updates itself from the releases after asking, and tells you in its icon when a device needs attention.
Ready-built programs are on the releases page, built by GitHub Actions from this repository. Each release lists the SHA-256 of its downloads and links to their VirusTotal scans, folded away under its notes.
Commander-Setup-<version>.exe: Commander with an installer. Most users: the Setup.Commander-Portable-<version>.zip: Commander without an install. Unzip it anywhere and startcommander.exe; it keeps everything in theconfigfolder next to it.commander-devicetest.exe: the device test, to help add a device (see The device test).commander-writetest.exe: the guided write test, for an Elgato Stream Deck XL (see The write test).commander-windows-amd64.exe: Commander as a bare exe, as before. Already running Commander: it updates itself.kb7screen-cli.zip: the command line for the KB7, for Windows (kb7screen-windows-amd64.exe) and Linux (kb7screen-linux-amd64).LICENSES.zip: the licence of the programs and those of the fonts and libraries built into them. The Setup and the portable zip hold them too.SHA256SUMS.txt: the SHA-256 of each download above.
The programs are not code-signed yet, so Windows SmartScreen may warn before
the first start. How to set Commander up is in
screen/README.md.
Commander and a maker's program should not drive the same device at the same
time. While the maker's program runs, Commander leaves that device alone and
the window says so; it takes the device back when the program has closed.
How to close each maker's software and keep it from starting by itself is
in docs/VENDOR-SOFTWARE.md.
A plugin is a program that gives Commander values and actions: shields or quantum fuel from a game, the time, CPU use. It can put values on DisplayPad buttons, with a text, a colour or a picture of its own; it is told when such a button is pressed; it carries out the actions a button's step "Plugin action" asks for, on the KB7 and the DisplayPad; and it switches signals that lighting follows. A plugin never talks to a device: Commander draws, lights and sends everything itself.
A plugin is a folder in plugins\ of the configuration folder with a
plugin.toml that names its program. Commander starts it without a window
and talks to it over its standard input and output, one JSON object per
line. The protocol is in docs/PLUGINS.md.
Every plugin is off until you switch it on yourself in Settings; it is a program that runs on your PC with your rights, so only switch on plugins you trust. Commander ships no plugins of its own yet. The KB7 shows no plugin values for now: on the KB7 every changed picture means writing to the keyboard, and that is still being tested during play.
Commander supports what could be measured. To help add your device, run
commander-devicetest.exe: it lists the connected devices, you pick one, and
it reads what the device says about itself. It only reads; nothing is
written to any device.
- A Logitech mouse gets a fixed list of HID++ reads (name, features, DPI, report rate, battery, onboard memory, lighting).
- A Razer keyboard or mouse gets a fixed list of reads (firmware, device mode, layout, polling rate, DPI, battery, idle time, brightness), as far as its model is known to OpenRazer.
- An Elgato Stream Deck XL gets five reads (its firmware versions, its key layout and its sleep time), as Elgato's HID documentation describes them.
- An NZXT Kraken with a screen (Elite V2, Elite 2023, Kraken 2023) gets three reads (firmware, temperature and speeds, screen brightness), as the Linux nzxt-kraken3 driver and liquidctl's protocol notes describe them.
- Any other device gets nothing sent; the report holds what Windows already knows about it, which is the first step for a new device.
No serial numbers go into the report. It is shown and saved next to the program; at the end the test offers to open a new GitHub issue where you attach it. Nothing is sent anywhere by the program itself.
The device test shows that a device answers; it does not show that
Commander can change anything on it. commander-writetest.exe is the next
step for a device that is not ours, today only the Elgato Stream Deck XL:
six steps, each after your Enter, and after each a question about what you
see.
- It listens for one key press, sets the brightness to 30 % and to 100 %,
puts one picture on the top-left key and one on the bottom-right key, and
shows the logo again. Type
stopat any step and it shows the logo and ends. - It sends only these commands, a fixed list from Elgato's HID documentation, and nothing that the Stream Deck keeps: when the Stream Deck software starts again, everything is as before.
- The Stream Deck software must be closed; the test does not go on while it runs.
It reads no serial number. The steps, what was sent and your answers are saved next to the program, and the test offers to open a new GitHub issue where you attach that file.
- More devices, through the device test and people who own them: Razer keyboards and mice first, then devices with screens and lighting.
- Lighting of the G703 and of motherboards (a first look at the Gigabyte
RGB Fusion 2 controller is in
docs/RGBFUSION.md). - A Star Citizen plugin with live values on the DisplayPad.
- Buttons that change by themselves: the time, CPU, GPU and RAM use.
- An installer and a portable version.
Fan speed and cooling control may come later, once more people are involved to test it: a wrong command there can do real harm, so it needs more testers and more hardware than one person has.
- The KB7 can stop answering commands during long gaming sessions while
its lighting is streamed. Typing and the screen buttons keep working; the
icon's antenna blinks red and the KB7 needs to be unplugged and plugged back
in. The cause is being measured; what is known is in
docs/PROTOCOL.md.
docs/DEVELOPMENT.md: layout, conventions, the invariants and known pitfalls.- Protocol notes, each with its sources and what was measured:
docs/PROTOCOL.md(KB7),docs/G703.md,docs/DISPLAYPAD.md,docs/RGBFUSION.md. - Designs of every feature:
docs/design/. kb7cap, a Python toolkit (3.10+, no dependencies) that reads USB captures and hides keystrokes by default:python -m kb7tools summary capture.pcapng. Seedocs/CAPTURE-GUIDE.md.
A good capture or a device test report is the most useful thing to
contribute. Read CONTRIBUTING.md and
docs/CAPTURE-GUIDE.md first: one action per
capture, no typing while recording, and never publish raw captures.
Privacy or hardware-safety problems go to SECURITY.md rather
than a public issue. Participation is covered by the
Code of Conduct.
- A device only gets commands that were measured on that device or taken from a named open-source project and checked on the device. No guessing and no fuzzing of write commands.
- Firmware update and bootloader commands are never implemented. A factory reset is sent only when you ask for it and confirm it.
- Protocols come from observing USB traffic of hardware we own (EU Directive 2009/24/EC art. 5(3)) and from open-source projects that are named where they are used. The makers' programs, firmware and assets are not analysed, decompiled or included.
- Before Commander first changes a device that stores settings, it saves what the device held, so you can restore it.
- Nothing is written to a device while its maker's software runs.
Using this software is at your own risk. It may void your warranty.
Commander contacts one service by itself: GitHub, to check for a newer version. The installer asks whether to check for updates, with the box ticked. You can switch it off in Settings at any time. A Commander not installed by the Setup (the portable zip or the bare program) has the check off until you switch it on in Settings or the tray menu. The request carries only the name and version of Commander. Commander sends no usage data and no crash reports. Every download of this release is built by GitHub Actions from the public source code.
Commander sends nothing else anywhere unless you ask for it.
This project is not affiliated with or endorsed by Turtle Beach, Logitech, Mountain, Razer or Gigabyte. "Turtle Beach", "Swarm II" and "KB7"; "Logitech", "G703", "LIGHTSPEED" and "G HUB"; "Mountain", "DisplayPad" and "Base Camp"; "Razer" and "Synapse"; "Gigabyte" and "RGB Fusion" are trademarks of their respective owners. Protocol analysis is done for interoperability, on hardware we own.