Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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