A standalone Rust SDK for building apps and control surfaces for Ableton Push 2 and Push 3. It includes USB display output, MIDI controls, lights, pads, pressure, the touch strip, and a virtual Push for development without hardware.
The public API is in prosuite-push. This repository was extracted from the ProSuite platform at revision 8634181bdca8f83f61e6e80e4ba20983eccc89cf. The supporting crates provide MIDI, USB, graphics and the virtual surface. The SDK uses the same API for a connected device and its virtual counterpart.
The snapshots below were rendered by the ProSuite framework using the included push_hello example. The virtual surface accepts pad and button clicks, encoder movement, and touch strip gestures. The application receives the same control events it would receive from the physical device and can send back lights and screen frames through the same SDK calls.
Build with a current Rust toolchain. The extracted workspace was tested with Rust 1.99.1. Run these commands from the repository root.
cargo test --workspace --all-targets
cargo run --release -p prosuite-push --example push_hello -- --aloneThe second command opens a virtual Push 3. Add --push2 to try a virtual Push 2. Omit --alone to let the example follow connected hardware.
# List connected hardware cargo run --release -p prosuite-push --example push_test -- --list # Reproduce both virtual snapshots without opening a window cargo run --release -p prosuite-push --example push_hello -- --push2 --snapshot=docs/images/push2-virtual.png cargo run --release -p prosuite-push --example push_hello -- --snapshot=docs/images/push3-virtual.png # Generate the SDK API reference cargo doc -p prosuite-push --no-deps
| Example | What it demonstrates |
|---|---|
push_hello |
A small controller app with a display, pads, encoders, and the touch strip |
push_test |
Control events, pressure modes, lights, and the hardware or virtual surface |
push_palette |
The hardware LED palette |
push_colors |
Display color ramps and pixel packing |
For a sibling checkout, add:
[dependencies] prosuite-push = { path = "../prosuite-push-sdk/crates/prosuite-push" }
use prosuite_push::{Control, Light, Model, Push}; fn main() -> Result<(), prosuite_push::PushError> { let (mut push, device) = Push::new_virtual(Model::Push3); device.press(Control::Pad { column: 0, row: 0, velocity: 100 }); for control in push.poll() { if let Control::Pad { column, row, velocity } = control { let light = if velocity == 0 { Light::Off } else { Light::Index(5) }; push.set_pad(column, row, light)?; } } Ok(()) }
Use Push::open() to open the first connected device, or find() with Push::open_found() to choose one. Use Push::show() to send a 960 × 160 premultiplied RGBA frame.
Pushis the common interface for physical and virtual devices. Callpoll()to read typed events and useset_pad(),set_light(), andshow()to give feedback.Controlshandles MIDI input, device discovery, lights, pressure, and touch strip settings.Displayhandles the 960 × 160 hardware screen over USB.Virtuallets a test inject controls and inspect the resulting lights and screen.PushViewdraws that virtual device in a ProSuite window.- The workspace keeps the reusable dependencies needed to build these features. It is independent of the ProSuite DAW and its audio engine.
The source includes macOS, Linux and Windows backends. This extraction was built and tested on macOS with the virtual surface. Physical device behavior depends on the OS, driver and permissions.
- macOS uses Core MIDI and the system USB frameworks.
- Linux uses ALSA for MIDI. The Push udev rule gives the logged-in user access to the supported USB devices. Follow the installation commands in the rule and reconnect the controller.
- Windows uses WinMM MIDI and WinUSB for the screen. The screen interface needs to be accessible through WinUSB.
MIT. This is an independent project. Ableton and Push are names of Ableton products.

