mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-03 05:10:56 +00:00
Playground for different analogue stick setups using SDL2's graphics & controller support
.github/workflows | ||
cmake | ||
src | ||
tools | ||
.editorconfig | ||
.gitignore | ||
CMakeLists.txt | ||
LICENSE.txt | ||
README.md |
PadLab
Playground for different analogue stick setups written with SDL2 for graphics and controller support.
Building
Requirements:
- C99 compiler
- SDL 3.0.0
- CMake 3.5 or higher
Optional:
- Python 3 (Only when building OpenGL Core profile or Metal backends)
- Fruit device (Only for Metal backend)
Available backends are:
BUILD_OPENGL_LEGACY
OpenGL Compatibility profile 1.1 (default ON)BUILD_OPENGL
OpenGL Core profile 3.3 (WIP)BUILD_METAL
Fruit renderer (WIP, ON by default for APPLE)
For *nix:
cmake -GNinja -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_OPENGL:BOOL=ON
cmake --build build