2015-01-11 17:54:18 +01:00
|
|
|
// Copyright 2015 Hajime Hoshi
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
package ebiten
|
|
|
|
|
|
|
|
import (
|
2020-10-03 19:35:13 +02:00
|
|
|
"github.com/hajimehoshi/ebiten/v2/internal/driver"
|
2015-01-11 17:54:18 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
// A GamepadButton represents a gamepad button.
|
|
|
|
type GamepadButton int
|
|
|
|
|
|
|
|
// GamepadButtons
|
|
|
|
const (
|
2019-03-30 15:19:52 +01:00
|
|
|
GamepadButton0 GamepadButton = GamepadButton(driver.GamepadButton0)
|
|
|
|
GamepadButton1 GamepadButton = GamepadButton(driver.GamepadButton1)
|
|
|
|
GamepadButton2 GamepadButton = GamepadButton(driver.GamepadButton2)
|
|
|
|
GamepadButton3 GamepadButton = GamepadButton(driver.GamepadButton3)
|
|
|
|
GamepadButton4 GamepadButton = GamepadButton(driver.GamepadButton4)
|
|
|
|
GamepadButton5 GamepadButton = GamepadButton(driver.GamepadButton5)
|
|
|
|
GamepadButton6 GamepadButton = GamepadButton(driver.GamepadButton6)
|
|
|
|
GamepadButton7 GamepadButton = GamepadButton(driver.GamepadButton7)
|
|
|
|
GamepadButton8 GamepadButton = GamepadButton(driver.GamepadButton8)
|
|
|
|
GamepadButton9 GamepadButton = GamepadButton(driver.GamepadButton9)
|
|
|
|
GamepadButton10 GamepadButton = GamepadButton(driver.GamepadButton10)
|
|
|
|
GamepadButton11 GamepadButton = GamepadButton(driver.GamepadButton11)
|
|
|
|
GamepadButton12 GamepadButton = GamepadButton(driver.GamepadButton12)
|
|
|
|
GamepadButton13 GamepadButton = GamepadButton(driver.GamepadButton13)
|
|
|
|
GamepadButton14 GamepadButton = GamepadButton(driver.GamepadButton14)
|
|
|
|
GamepadButton15 GamepadButton = GamepadButton(driver.GamepadButton15)
|
|
|
|
GamepadButton16 GamepadButton = GamepadButton(driver.GamepadButton16)
|
|
|
|
GamepadButton17 GamepadButton = GamepadButton(driver.GamepadButton17)
|
|
|
|
GamepadButton18 GamepadButton = GamepadButton(driver.GamepadButton18)
|
|
|
|
GamepadButton19 GamepadButton = GamepadButton(driver.GamepadButton19)
|
|
|
|
GamepadButton20 GamepadButton = GamepadButton(driver.GamepadButton20)
|
|
|
|
GamepadButton21 GamepadButton = GamepadButton(driver.GamepadButton21)
|
|
|
|
GamepadButton22 GamepadButton = GamepadButton(driver.GamepadButton22)
|
|
|
|
GamepadButton23 GamepadButton = GamepadButton(driver.GamepadButton23)
|
|
|
|
GamepadButton24 GamepadButton = GamepadButton(driver.GamepadButton24)
|
|
|
|
GamepadButton25 GamepadButton = GamepadButton(driver.GamepadButton25)
|
|
|
|
GamepadButton26 GamepadButton = GamepadButton(driver.GamepadButton26)
|
|
|
|
GamepadButton27 GamepadButton = GamepadButton(driver.GamepadButton27)
|
|
|
|
GamepadButton28 GamepadButton = GamepadButton(driver.GamepadButton28)
|
|
|
|
GamepadButton29 GamepadButton = GamepadButton(driver.GamepadButton29)
|
|
|
|
GamepadButton30 GamepadButton = GamepadButton(driver.GamepadButton30)
|
|
|
|
GamepadButton31 GamepadButton = GamepadButton(driver.GamepadButton31)
|
2020-12-27 13:56:06 +01:00
|
|
|
GamepadButton32 GamepadButton = GamepadButton(driver.GamepadButton32)
|
|
|
|
GamepadButton33 GamepadButton = GamepadButton(driver.GamepadButton33)
|
|
|
|
GamepadButton34 GamepadButton = GamepadButton(driver.GamepadButton34)
|
|
|
|
GamepadButton35 GamepadButton = GamepadButton(driver.GamepadButton35)
|
|
|
|
GamepadButton36 GamepadButton = GamepadButton(driver.GamepadButton36)
|
|
|
|
GamepadButton37 GamepadButton = GamepadButton(driver.GamepadButton37)
|
|
|
|
GamepadButton38 GamepadButton = GamepadButton(driver.GamepadButton38)
|
|
|
|
GamepadButton39 GamepadButton = GamepadButton(driver.GamepadButton39)
|
|
|
|
GamepadButton40 GamepadButton = GamepadButton(driver.GamepadButton40)
|
|
|
|
GamepadButton41 GamepadButton = GamepadButton(driver.GamepadButton41)
|
|
|
|
GamepadButton42 GamepadButton = GamepadButton(driver.GamepadButton42)
|
|
|
|
GamepadButton43 GamepadButton = GamepadButton(driver.GamepadButton43)
|
|
|
|
GamepadButton44 GamepadButton = GamepadButton(driver.GamepadButton44)
|
|
|
|
GamepadButton45 GamepadButton = GamepadButton(driver.GamepadButton45)
|
|
|
|
GamepadButton46 GamepadButton = GamepadButton(driver.GamepadButton46)
|
|
|
|
GamepadButton47 GamepadButton = GamepadButton(driver.GamepadButton47)
|
|
|
|
GamepadButton48 GamepadButton = GamepadButton(driver.GamepadButton48)
|
|
|
|
GamepadButton49 GamepadButton = GamepadButton(driver.GamepadButton49)
|
|
|
|
GamepadButton50 GamepadButton = GamepadButton(driver.GamepadButton50)
|
|
|
|
GamepadButton51 GamepadButton = GamepadButton(driver.GamepadButton51)
|
|
|
|
GamepadButton52 GamepadButton = GamepadButton(driver.GamepadButton52)
|
|
|
|
GamepadButton53 GamepadButton = GamepadButton(driver.GamepadButton53)
|
|
|
|
GamepadButton54 GamepadButton = GamepadButton(driver.GamepadButton54)
|
|
|
|
GamepadButton55 GamepadButton = GamepadButton(driver.GamepadButton55)
|
|
|
|
GamepadButton56 GamepadButton = GamepadButton(driver.GamepadButton56)
|
|
|
|
GamepadButton57 GamepadButton = GamepadButton(driver.GamepadButton57)
|
|
|
|
GamepadButton58 GamepadButton = GamepadButton(driver.GamepadButton58)
|
|
|
|
GamepadButton59 GamepadButton = GamepadButton(driver.GamepadButton49)
|
|
|
|
GamepadButton60 GamepadButton = GamepadButton(driver.GamepadButton60)
|
|
|
|
GamepadButton61 GamepadButton = GamepadButton(driver.GamepadButton61)
|
|
|
|
GamepadButton62 GamepadButton = GamepadButton(driver.GamepadButton62)
|
|
|
|
GamepadButton63 GamepadButton = GamepadButton(driver.GamepadButton63)
|
|
|
|
GamepadButtonMax GamepadButton = GamepadButton63
|
2015-01-11 17:54:18 +01:00
|
|
|
)
|