Hi

I would like to know if it is possible to remap a joystick to keyboard inputs
and if so how would i go about it

i need this because im trying to make a wrapper for a game which only supports keyboard input

im kinda new to c++ too

Thanks for any help in advance

Firstly you will need to use API's calls. Secondly you will probably need to know something about what information the Joystick actually sends to the computer and how it is interpreted by the driver application for it. Once you know that then you can start work on writing a wrapper.

Chris

In Beginning Game Programming by Michael Morrison, it tells how to get joystick input. Get it from the library or something.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.