Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/28/26 14:01
TMFs on options in live trading
by Spirit. 03/26/26 19:52
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
Black Book, 4th edition
by jcl. 03/17/26 09:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Quad, TipmyPip, James168), 7,328 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
mredit, vestriaa, Lukudo, mldenoiser, the1
19204 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: USB support for Gamestudio [Re: Quad] #232129
10/19/08 17:04
10/19/08 17:04
Joined: Jun 2006
Posts: 6
V
virror Offline OP
Newbie
virror  Offline OP
Newbie
V

Joined: Jun 2006
Posts: 6
Ok, thanx. Anyone willing to write at wrapper for the dll for me?
That would be great!

Re: USB support for Gamestudio [Re: virror] #300882
12/06/09 15:39
12/06/09 15:39
Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
kasimir Offline
Senior Member
kasimir  Offline
Senior Member

Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
that would be great, i need this too...

actual i try to modifiy the original header "ftd2xx.h" to get it work.

I replaced:
enum with seperate "counting"-defines
PVOID witdh "void*" -> "typedef void* FT_HANDLE;"

and added:
typedef void *PVOID;
typedef char UCHAR;

now i try to change the rest - but i can not find a solution!
how can i replace this - so 3dgs can work with it?

Code:
typedef void (*PFT_EVENT_HANDLER)(DWORD,DWORD);


(i do not know what "PFT_EVENT_HANDLER" means - no search results)

and the API-functions?:
Code:
FTD2XX_API FT_STATUS WINAPI FT_Close( FT_HANDLE ftHandle );


here i do not know hot i should handle with FT_STATUS and WINAPI -> very confusion

and last but not least:
Code:
typedef struct ft_program_data {
....
} FT_PROGRAM_DATA, *PFT_PROGRAM_DATA;



i would be nice if anyone can give me a hind?

THX Kasimir

Last edited by kasimir; 12/06/09 17:42.
Re: USB support for Gamestudio [Re: virror] #301070
12/08/09 07:55
12/08/09 07:55
Joined: Jul 2008
Posts: 223
Pittsburgh
The_Clyde Offline
Member
The_Clyde  Offline
Member

Joined: Jul 2008
Posts: 223
Pittsburgh
Ahh, I got the Powerglove to work with Gamestudio... I used a microcontroller to send serial data (via USB) based on the readings from the flex-sensors. Then I used a program called PPJoy to read that serial input and have it automatically converted to data from a "virtual joystick".

This input could then be read in Gamestudio the same way as a joystick

Page 2 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1