https://github.com/korewachino/midkb
MIDI > KB/Mouse binding daemon
https://github.com/korewachino/midkb
Last synced: 6 months ago
JSON representation
MIDI > KB/Mouse binding daemon
- Host: GitHub
- URL: https://github.com/korewachino/midkb
- Owner: korewaChino
- License: mit
- Created: 2024-11-01T18:11:15.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-05T14:55:24.000Z (8 months ago)
- Last Synced: 2024-12-07T23:07:28.130Z (7 months ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MIDKb
MIDKb is a udev daemon for Linux that binds MIDI devices to keyboard inputs. It's written in Rust and comes with a (kind of) simple configuration file.
For example, you can use your drumpad as input for SDVX's keys, and bind your CC knobs to the FX knobs.
I wrote this just for that above use case actually. I wanted to play USC with my MIDI controller, but turns out that game does not support MIDI input, only keyboard. So I wrote this program to convert MIDI signals to keyboard presses.
## Features
- Bind MIDI notes to keyboard keys
- Bind MIDI CC to keyboard keys## Installation
1. [Install Rust](https://rustup.rs/)
2. Install dependencies:
```sh
sudo dnf install alsa-lib-devel udev-devel
```
3. Clone the repository
4. Run the project:
```sh
cargo run --release
```## Configuration
Please refer to the `config.toml` file included in the repo for configuration options.## Usage
1. Connect your MIDI device
2. Configure the `config.toml` file (must be in CWD of the program)
3. Run the program