Skip to content

Instantly share code, notes, and snippets.

@wyatt8740
wyatt8740 / sdljoytest.cpp
Created February 21, 2014 16:34
SDL Joystick Button ID finder
/* SDLJOYTEST
Prints the ID numbers of SDL input devices when activated.
EXAMPLE: if you are trying to find the SDL button ID of the 'A' button on
an imaginary gamepad or joystick, run this program and then press
the 'A' button on your joystick. As long as it is working properly,
the program will print the IDs of whatever buttons are being held down,
allowing you to enter that ID into a config file for inputs.
So say the 'A' button prints an ID of '5'. That means that the ID
5 is what you should enter for the config file.
@spycrab
spycrab / ResPackSpecV1.md
Last active March 4, 2024 13:29
Resource pack specification v1

Dolphin Resource Pack Specification v2

This document is to be used as a reference when creating resource packs or writing programs that are to be capable of handling them.

Format

Dolphin Resource Packs are zip archives with the following file structure:

resource-pack.zip
\__ manifest.json