From ee88e1bcea30f1dec4c77fdce546190b46a70e67 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Tue, 31 Jan 2023 20:30:58 -0500 Subject: [PATCH] DANCE DANCE REVOLUTION --- joystick.d | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/joystick.d b/joystick.d index 21013f5..f84d345 100644 --- a/joystick.d +++ b/joystick.d @@ -9,6 +9,21 @@ FIXME: on Linux, certain controller brands will not be recognized and you need to set the mappings yourself, e.g., `version(linux) joystickMapping[0] = &xbox360Mapping;`. I will formalize this into a proper api later. +/ +/+ + XBox360 DDR pad layout: + + Back Start + B Up A + Left Right + Y Down X + + XBox360 Butons: + + Y + X B + A ++/ + /* FIXME: a simple function to integrate with sdpy event loop. templated function