mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
aa694be6f6
This change introduces the standard gamepad layout. This changes adds these APIs: * func HasGamepadStandardLayoutMapping * func IsGamepadStandardButtonPressed * func GamepadStandardAxisValue * type StandardGamepadButton * type StandardGamepadAxis The standard gamepad layout is based on the web standard. See https://www.w3.org/TR/gamepad/#remapping. On desktops, the SDL's gamecontrllerdb.txt is used. If the gamepad is listed in the text file, the mapping works. GLFW's mapping featrue is not used. On browsers, the property of a gamepad 'mapping' is used. When the mapping value is 'standard', the gamepad is recognized to have the standard mapping. On mobiles, the implementation is still WIP. Updates #1557 |
||
---|---|---|
.. | ||
glfw | ||
callback_notwindows.go | ||
callback_windows.go | ||
const.go | ||
Dockerfile | ||
gen.go | ||
gen.sh | ||
generate.go | ||
glfw_notwindows.go | ||
glfw_windows.go | ||
glfwdll_windows_386.go | ||
glfwdll_windows_amd64.go | ||
glfwdllhash_windows_386.go | ||
glfwdllhash_windows_amd64.go | ||
keys.go | ||
load_windows.go | ||
native_darwin.go | ||
native_windows.go | ||
tools.go | ||
type.go |