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.

DLL Talk / TCA´s User control plugin

Author
Message
MiR
20
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 11th Sep 2004 00:10
Basicaly I want 2 players to be able to use two pads at the same time. TCA kindly pointed me to a dll of his that allows 2 pads to be used at the same time. I´ve downloaded it and the example but I can´t make heads or tails of it. I don´t even know what commands are in it and what paramaters they want. Nor do I know what the cammands do. Has anyone used this dll and can tell me how to use it?

Thanks in advance


A bargain at 900000€ second hand
Libera tu mente y te liberaras.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Sep 2004 01:34
userControl_getJoystickPos - Three parameters :

A) Joystick ID (from 0 upwards)
B) Memory address to store data
C) Number of floats to store

userControl_getJoystickParam - Two parameters

A) Joystick ID (from 0 upwards)
B) Polling Type

I'll add the polling types to a constants list later on.


Come to the UK Convention on the 23rd & 24th of October
MiR
20
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 11th Sep 2004 04:04
Thanks TCA.
If anyone else wants to know about the commands they can also find info in the glfw dll reference guide. The commands there are called: glfwGetJoystickParam and glfwGetJoystickPos

Thanks again


A bargain at 900000€ second hand
Libera tu mente y te liberaras.

Login to post a reply

Server time is: 2024-04-24 21:03:05
Your offset time is: 2024-04-24 21:03:05