Programing Windows Joystick - Questions about windows joystick code

free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General > C, C++ & Visual C++

Programing Windows Joystick - Questions about windows joystick code

yungblood
I have 2 joystick related questions.

The first is, does anyone know if there is a driver that will allow me to use my joystick (actually 12button/3axis gamepad) to control my mouse pointer in windows95? I have one program that will allow me to do that (very indirectly) using windows accessability & the program that camewith my joystick. But it is exceedingly slow, because it uses 2 forms of redirection. First it translates joystick movements to key presses (slow), then I use the windows accessability to translate that to mouse movements. But that is so slow, it's practically unusable. I'd like to know if there is anything that can do it directly.

Also, does anyone know how to use windows calls to use a joystick? I know how to use a standard joystick by talking to the gameport directly. My problem is that the joystick I want to use is non-standard. It has a windows driver, so I need to know how to call the windows library that controls the joystick.

Any help is greatly appreciated! smile.gif Thanx! smile.gif

-YB

 

 

 


Reply

KazDoran
As far as I'm aware, there isn't a windows library function that deals with joysticks.

Get the DirectX API and use DirectInput functions to get something. I'd do it. smile.gif

Reply

iGuest
Replying to KazDoran

According to http://msdn2.Microsoft.Com/en-us/library/ms709352.Aspx try joyGetPos().

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. windows joystick - 0.46 hr back. (1)
  2. joystick keypresses example c - 25.19 hr back. (1)
  3. windows and joystick - 31.78 hr back. (1)
  4. c joysticks on windows - 52.81 hr back. (1)
  5. joystick c windows - 55.38 hr back. (1)
  6. using joystick in c code example - 61.04 hr back. (1)
  7. windows joystick programming - 64.84 hr back. (1)
  8. windows xp joystick example c - 71.53 hr back. (1)
  9. joystick de windows - 74.38 hr back. (1)
  10. c joystick driver code - 149.49 hr back. (1)
  11. c get joystick - 168.80 hr back. (1)
  12. visual c joystick programming - 179.82 hr back. (1)
  13. windows joystick example - 185.56 hr back. (1)
  14. windows drivers programing joystick - 192.72 hr back. (1)
Similar Topics

Keywords : programing, windows, joystick, questions, windows, joystick, code

  1. String Library Functions
    A few questions (4)
  2. Quite A Few Questions...
    C language (3)
    I've been meaning to learn to write C this week, and I am wondering what site could help me. I
    have a compiler (DJGPP) and I think it works since my older brother has compiled his C files with it
    before. Is it better to learn C++ first rather than learn C? Is there a certain sub-forum for C /
    C++ language here? What site would you suggest that I learn from?....
  3. Turbo C++ Ide
    Incompatible with Windows XP? (7)
    I've been looking back into ol' days lately, and doing some (primitive) coding in C++,
    using some of those famous Borland Library Functions. So, I hooked up that blue editor (they call it
    the IDE /blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> )
    And it wasn't a nice ride in Windows XP environment... Whenever I run that DOS-Based Turbo C++
    IDE (tc.exe), my processor usage jumps to a 100% constant, and the IDE runs real slow (Nice way to
    prove my typin' speed is kewl! /biggrin.gif" style="vertical-align....
  4. Programming The Sound Card In Windows
    (0)
    Hi, I need to implement a simple sound application which recieves audio from the mic input and plays
    back with a delay t (should be user determined). The recording should not stop during playback,
    that is the sound card should run in full-duplex mode. Can anybody tell me how I can do it? I am
    using VC++ 6.0 for the purpose.....
  5. Networking Programming - C++ - Ms Windows
    Please recommend me a eBook or Document (2)
    I need to write some networking library in C++. I know C++, I know networking programming on Linux.
    But not, I'm working in a networking project on Windows. I may need an ebook or some reference
    about this. 'Cause I'm new to Windows /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> Can you recommend me a eBook, just about C++
    networking, on Windows? I've been Googling for that, but seems that I'm not lucky enough.....
  6. Interested In Compression Algorithms?
    Here you have a cute code! (5)
    That's a compressor i made during my university practical lessons on information theory,
    it's a text compressor, it's only usefull for texts containing only vocals, but it can
    easily be adapted for the whole alphabet ^^... Good luck with the comment translation!!
    (Catalan and Spanish...) #include #include #include //En argv tenemos: (1)selector de
    compresion/descompresion (2)Tabla de frecuencias (3)Fichero de simbolos // (4)Fichero de salida int
    treureDigitsCodificacio (int*,int*,FILE*,FILE*,int*,int*); void calcularAltBaix (int*,int*,int*,i....
  7. Help: C++ And Midi Programming Under Windows
    Programming for MIDI in Borland C++ 4.52 (0)
    Hi, I am starting an opensource Midi Squencer / Controller. I have already learned how to get
    info on all the Midi devices on the system, and I have figured out how to send data to a Midi
    device. My next step is figuring how to get Midi input. I have been trying everything in the help
    files, but nothing I have done has worked. I am using the mmsystem.h header for all my low-level
    Midi communication. It connects to the mmsystem.dll that is standard with windows.... so it should
    be accessable to anyone with C++. Is there anyone out there that would like to see a qu....

    1. Looking for programing, windows, joystick, questions, windows, joystick, code

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for programing, windows, joystick, questions, windows, joystick, code
advertisement




Programing Windows Joystick - Questions about windows joystick code



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE