GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 31-Aug-2006, 16:06
d3jake d3jake is offline
New Member
 
Join Date: Jun 2006
Location: I live in a house...
Posts: 16
d3jake is on a distinguished road

C++ keyboard remapping tuts


Due to conflicts that a game I play has with my normaly setup, I tried to get a good free keyboard remapper program. The problem is that all of the ones I found were trial versions. So I concluded, that why don't I just write one, in C++. Problem is that I haven't a clue as to where to start, and google turned up notiong useful when I searched for tutorials on the subject. So my question is:

Do any of you people know of where I can get a tutorial or two on how to remap keys, or a tutorial that would teach me what I would need to know to be able to write a C++ key remapping program?
  #2  
Old 31-Aug-2006, 18:08
ubergeek ubergeek is offline
Regular Member
 
Join Date: Jan 2005
Posts: 775
ubergeek is a jewel in the roughubergeek is a jewel in the roughubergeek is a jewel in the rough

Re: C++ keyboard remapping tuts


You'll probably need to set a global keyboard hook, and have a table of remapped keys that each real key corresponds to. Look into windows hooks to start. (assuming you're on Windows)
 
 

Recent GIDBlogMeeting the populace by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard maintenence, anyone? netnut Computer Hardware Forum 5 17-Dec-2005 19:11
Unable to receive keyboard messages kalasend MS Visual C++ / MFC Forum 1 18-Nov-2005 08:22
Using the arrows at the keyboard Kjeksen C Programming Language 1 22-Jul-2005 09:22
keyboard events in turbo c++ Kilgayne C++ Forum 8 23-Jun-2004 13:46
list of the most common keyboard and mouse shortcuts for IE, Opera and Firebird jrobbio Computer Software Forum - Windows 2 04-Sep-2003 09:10

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:51.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.