Playground for different analogue stick setups using SDL2's graphics & controller support
Go to file
2024-09-13 20:57:37 +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 metal: fix buffer overwrite flickering 2024-09-13 20:57:37 +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 metal: fix buffer overwrite flickering 2024-09-13 20:57:37 +10:00
CMakeLists.txt Split USE backends into separate targets 2023-06-28 19:52:14 +10:00
LICENSE.txt wake up babe it's 2023 2023-06-28 19:55:33 +10:00
README.md Add info about backends to README 2023-06-28 20:05:08 +10:00

PadLab

Playground for different analogue stick setups written with SDL2 for graphics and controller support.

Building

Requirements:

  • C99 compiler
  • SDL 2.x
  • CMake 3.1 or higher

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)

OpenGL Core profile backend requires:

  • Python 3

Metal backend requires:

  • Fruit device
  • Python 3

For *nix:

cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build