Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 16th, 2005, 10:45 PM   #1
Alighieri
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 Alighieri is on a distinguished road
Smile Help: Changing mouse input to keyboard?

I need some help. For a program I am writing, I need to have the x-axis on the mouse be converted to buttons on the keyboard.

The problem: Running a game in which there are the following movements:
Arms left/right: Controlled by arrow keys : Mapped in game
Arms up/down: Controlled by mouse y-axis : Mapped in game
Torso left/right/up/down: Controlled by mouse x-axis and y-axis : Mapped in game

I can not map the Arms left and right to the mouse in game, there is no option to do so. I need:

Arms left/right: Controlled by mouse x-axis : Mapped out of game



Can anyone please help me?
Alighieri is offline   Reply With Quote
Old Mar 16th, 2005, 11:08 PM   #2
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Even if you changed the mapping, the problem is how the program is dealing with the input maps... either that or how it's acting on them. I think you would have to either break it into assembly and fix it, or have access to the source code.
__________________

tempest is offline   Reply With Quote
Old Mar 17th, 2005, 9:59 AM   #3
Alighieri
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 Alighieri is on a distinguished road
Well I mean, I figure if I can emulate those key inputs, it would work. I am thinking direct input would help, and the game is a microsoft game, and thus I would think it wouldn't be a problem. But it is a problem accessing the source code.
Alighieri is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:18 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC