From 24e124948d62a1ec78f2a8f749301737b045637c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 3 Sep 2016 15:08:28 +0900 Subject: [PATCH] input: Remove redundant type (oops) --- gamepad.go | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/gamepad.go b/gamepad.go index c351b6785..bf29b6a75 100644 --- a/gamepad.go +++ b/gamepad.go @@ -23,20 +23,20 @@ type GamepadButton int // GamepadButtons const ( - GamepadButton0 GamepadButton = GamepadButton(ui.GamepadButton0) - GamepadButton1 = GamepadButton(ui.GamepadButton1) - GamepadButton2 = GamepadButton(ui.GamepadButton2) - GamepadButton3 = GamepadButton(ui.GamepadButton3) - GamepadButton4 = GamepadButton(ui.GamepadButton4) - GamepadButton5 = GamepadButton(ui.GamepadButton5) - GamepadButton6 = GamepadButton(ui.GamepadButton6) - GamepadButton7 = GamepadButton(ui.GamepadButton7) - GamepadButton8 = GamepadButton(ui.GamepadButton8) - GamepadButton9 = GamepadButton(ui.GamepadButton9) - GamepadButton10 = GamepadButton(ui.GamepadButton10) - GamepadButton11 = GamepadButton(ui.GamepadButton11) - GamepadButton12 = GamepadButton(ui.GamepadButton12) - GamepadButton13 = GamepadButton(ui.GamepadButton13) - GamepadButton14 = GamepadButton(ui.GamepadButton14) - GamepadButton15 = GamepadButton(ui.GamepadButton15) + GamepadButton0 = GamepadButton(ui.GamepadButton0) + GamepadButton1 = GamepadButton(ui.GamepadButton1) + GamepadButton2 = GamepadButton(ui.GamepadButton2) + GamepadButton3 = GamepadButton(ui.GamepadButton3) + GamepadButton4 = GamepadButton(ui.GamepadButton4) + GamepadButton5 = GamepadButton(ui.GamepadButton5) + GamepadButton6 = GamepadButton(ui.GamepadButton6) + GamepadButton7 = GamepadButton(ui.GamepadButton7) + GamepadButton8 = GamepadButton(ui.GamepadButton8) + GamepadButton9 = GamepadButton(ui.GamepadButton9) + GamepadButton10 = GamepadButton(ui.GamepadButton10) + GamepadButton11 = GamepadButton(ui.GamepadButton11) + GamepadButton12 = GamepadButton(ui.GamepadButton12) + GamepadButton13 = GamepadButton(ui.GamepadButton13) + GamepadButton14 = GamepadButton(ui.GamepadButton14) + GamepadButton15 = GamepadButton(ui.GamepadButton15) )