Game Development Community

Using keyboard and joystick input together (Resovled)

by Andrew Son · in Technical Issues · 01/10/2012 (8:00 pm) · 1 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 (1:54 pm)
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.