tagpro-game / tagpro-issues

Public repository to report and review TagPro bugs, enhancements and suggestions.
15 stars 4 forks source link

Gamepad API support #287

Open Timmmm opened 8 years ago

Timmmm commented 8 years ago

Tagpro should support the gamepad API.

I'm making a BLE joystick using a PSP-style slider specifically to play TagPro on my phone. Sending the joystick position would be much nicer than emulating key presses.

If someone can point me to the place in the code where thrust is applied to the ball I can implement it.

jarhill0 commented 8 years ago

I've played TagPro with a game pad before (Steam Controller, using the analog stick to emulate WASD). It was a really bad experience because the joystick doesn't give you as much control as an actual keyboard. Even if the devs were planning to implement game pad support, I would not recommend playing the game that way.

On May 13, 2016, at 12:10 PM, Tim notifications@github.com wrote:

Tagpro should support the gamepad API.

I'm making a BLE joystick using a PSP-style slider specifically to play TagPro on my phone. Sending the joystick position would be much nicer than emulating key presses.

If someone can point me to the place in the code where thrust is applied to the ball I can implement it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

Timmmm commented 8 years ago

Yes but that's presumably because keyboard emulsion only allows 8 directions. That's exactly why I want true gamepad support.

Nick-Riggs commented 8 years ago

TagPro doesn't support partial acceleration values. So it isn't going to work well with an analog stick.

Timmmm commented 8 years ago

Aw that's a shame. Guess I'll have the joystick emulate it by tapping the keys on and off then (basically PWM).