I've been playing around with a Joystick with Dark GDK, and it works, for example, if I do:
if (dbJoystickFireA() == 1) {
dbText(0, 0, "hit");
}
That works, or if I do:
if (dbJoystickFireB() == 1) {
dbText(0, 0, "hit");
}
That works too. However, on this Joy stick, (a Harmonix Guitar for RockBand), has other buttons, like "y," etc. dbJoystickFireY(); is not a legit included function, and dbJoystickY(); does not work.
My question is, is there some kind of function call I can use to see if any key on the Joystick is pressed down, and if so, return like a "keycode," or like "A, B, C," etc. Thanks for any assistance. Another question is, is it possible to use more then one joystick in the application? Like, allow one person to use joystick #1 (the guitar), and another person to use joystick 2
(the drums).
One final question for now, is it also possible to recognize any inputted Microphones, and is it possible to compute a spectrum from the Microphone, so we can determine pitch value?
Any assistance is appreciated, thanks.
PHP, C++, and DarkBasic Pro addict.