Game Development Community

Help Me! Joystick and keyboard input (Resolved)

by Andrew Son · in Torque Game Builder · 01/11/2012 (2:17 pm) · 3 replies

I'm using the same functions for my joystick input as I am on the keyboard input. Joystick works perfectly but the keyboard isn't working correctly. Mainly navigating the menus is where the keyboard has real problems. Can someone explain to me the differences in the way Torque reads keyboard input and joystick input? They are both using the exact same functions but the keyboard is having a lot of issues. The joystick is navigating menus with the d-pad, not the joysticks, so the input seems similar to me if not pretty much the same (not analog).

#1
01/14/2012 (8:30 am)
I would just separate the functions and see if a problem still exists first. I've never tried to combine the functions and I don't have a problem using my joystick and keyboard controls
#2
01/14/2012 (1:47 pm)
Thanks Glenn. I went back and did some more testing and finally managed to fix most of the input issues. What I didn't think about was that on the dpad I could only press one direction at a time but on the keyboard I could press multiple directions at the same time and this was causing a lot of the issues since I hadn't needed to account for that kind of input with the joystick.
#3
01/14/2012 (11:12 pm)
Funny you said that, I did the same exact thing now that I remember lol.