ebiten/mobile/ebitenmobileview
Hajime Hoshi aa694be6f6 ebiten: Add the standard gamepad layout
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
2021-07-20 01:32:28 +09:00
..
impl_metal.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
impl_notmetal.go mobile/ebitenmobileview: Bug fix: Compile error on Android 2019-10-09 23:03:22 +09:00
input_android.go ebiten: Add the standard gamepad layout 2021-07-20 01:32:28 +09:00
input_ios.go ebiten: Introduce type TouchID 2020-10-10 03:57:47 +09:00
input.go mobile/ebitenmobileview: Performance improvement at updateInput 2021-03-14 22:24:45 +09:00
keys_android.go ebiten: Change the key name convention to follow the Web standard 2021-04-14 22:49:07 +09:00
mobile.go internal/hooks: Enable to return error at suspend/resume audio 2021-05-04 23:09:01 +09:00