Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Dark GDK 1.0 gamepad support?

Author
Message
asdronin
16
Years of Service
User Offline
Joined: 10th Apr 2008
Location:
Posted: 11th Jun 2015 10:37 Edited at: 11th Jun 2015 10:38
Hi all, I have seen that there is compatibility with XB360 gamepad using certain library, bur isnt there a way to allow the player to have any kind of generic twin stick controller? I mean from any brand or any model, it would be cool to allow him/her to map the gamepad they own instead of forcing them to buy one specific that maybe is hard to get for them. Well I hope you can help me because I searched in other threads and found only what I said but maybe I missed something or there is other type of library we can use for such end.
s_i
15
Years of Service
User Offline
Joined: 23rd May 2009
Location: Russia
Posted: 11th Jun 2015 19:09 Edited at: 11th Jun 2015 19:10
I don't know, but I see this commands in DarkGDK's help file:


dbPerformCheckListForControlDevices : void dbPerformCheckListForControlDevices ( void )
dbSetControlDevice : void dbSetControlDevice ( char* szDevice )
dbForceUp : void dbForceUp ( int iMagnitude )
dbForceDown : void dbForceDown ( int iMagnitude )
dbForceLeft : void dbForceLeft ( int iMagnitude )
dbForceRight : void dbForceRight ( int iMagnitude )
dbForceAngle : void dbForceAngle ( int iMagnitude, int iAngle, int iDelay )
dbForceNoEffect : void dbForceNoEffect ( void )
dbForceWaterEffect : void dbForceWaterEffect ( int iMagnitude, int iDelay )
dbForceShoot : void dbForceShoot ( int iMagnitude, int iDelay )
dbForceChainsaw : void dbForceChainsaw ( int iMagnitude, int iDelay )
dbForceImpact : void dbForceImpact ( int iMagnitude, int iDelay )
dbForceAutoCenterOn : void dbForceAutoCenterOn ( void )
dbForceAutoCenterOff : void dbForceAutoCenterOff ( void )

dbJoystickUp : int dbJoystickUp ( void )
dbJoystickDown : int dbJoystickDown ( void )
dbJoystickLeft : int dbJoystickLeft ( void )
dbJoystickRight : int dbJoystickRight ( void )
dbJoystickX : int dbJoystickX ( void )
dbJoystickY : int dbJoystickY ( void )
dbJoystickZ : int dbJoystickZ ( void )
dbJoystickFireA : int dbJoystickFireA ( void )
dbJoystickFireB : int dbJoystickFireB ( void )
dbJoystickFireC : int dbJoystickFireC ( void )
dbJoystickFireD : int dbJoystickFireD ( void )
dbJoystickFireX : int dbJoystickFireX ( int iButton )
dbJoystickSliderA : int dbJoystickSliderA ( void )
dbJoystickSliderB : int dbJoystickSliderB ( void )
dbJoystickSliderC : int dbJoystickSliderC ( void )
dbJoystickSliderD : int dbJoystickSliderD ( void )
dbJoystickTwistX : int dbJoystickTwistX ( void )
dbJoystickTwistY : int dbJoystickTwistY ( void )
dbJoystickTwistZ : int dbJoystickTwistZ ( void )
dbJoystickHatAngle : int dbJoystickHatAngle ( int iHat )

dbControlDeviceName$ : char* dbControlDeviceName$ ( void )
dbControlDeviceX : int dbControlDeviceX ( void )
dbControlDeviceY : int dbControlDeviceY ( void )
dbControlDeviceZ : int dbControlDeviceZ ( void )
asdronin
16
Years of Service
User Offline
Joined: 10th Apr 2008
Location:
Posted: 11th Jun 2015 20:37 Edited at: 13th Jun 2015 06:07
Thanks for the info s_i =). But after checking them I notice these will recognice one stick but not twin sticks, I mean, I know as said that there is a library for recognizing twin sticks in the XB360 controller but apparently there is no other way we can recognize twin sticks in other controller? like PS2 or any generic one for PC?

EDIT: I noticed that on my test controller the left stick is detected as default and the right does something like Z Twist value, but anyway thanks a lot for the information, I never thought this could be defined ike that, I was specting something like Joystick2Up or something

Login to post a reply

Server time is: 2024-11-16 16:18:13
Your offset time is: 2024-11-16 16:18:13