Crate launchpad [−] [src]
Structs
| ColorColumn |
A single column (0...8) |
| ColorLed |
A single button/led |
| ColorRow |
A single row (0...8) |
| LaunchpadMk2 |
A Launchpad Mark 2 Device. This library requires the PortMidi device used to create the launchpad to have the same lifetime. If we create the PortMidi device ourselves, hold it. Otherwise, trust the implementer to not destroy it (or further calls will fail (sometimes silently?)) |
| RGBColor |
Constants
| COLOR_PALETTE |
palette Table information from http://launchpaddr.com/mk2palette/ |
| SCROLL_FAST | |
| SCROLL_FASTER | |
| SCROLL_FASTEST | |
| SCROLL_NORMAL | |
| SCROLL_SLOW | |
| SCROLL_SLOWER | |
| SCROLL_SLOWEST |
Functions
| nearest_palette |
Use the 3d nearest neighbor to determine an approximation for RGB colors |
Type Definitions
| Color |