Playground for different analogue stick setups using SDL2's graphics & controller support
Go to file
2024-09-14 10:27:55 +10:00
.github/workflows Enable core profile on CI to see what happens 2023-06-28 20:18:29 +10:00
cmake metal backend functional 2023-06-28 00:28:06 +10:00
src use ns for timing 2024-09-14 10:27:55 +10:00
tools metal backend functional 2023-06-28 00:28:06 +10:00
.editorconfig editorcfg for github 2023-06-28 22:35:38 +10:00
.gitignore Merge branch 'master' into sdl3 2024-09-13 21:40:05 +10:00
CMakeLists.txt windows project tweaks 2024-03-10 20:39:38 +11:00
LICENSE.txt update license year 2024-03-10 20:43:13 +11:00
README.md update README 2024-03-11 03:13:58 +11:00

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