how can i set a compose key?

Questions, comments and discussion about the Game Editor development.

how can i set a compose key?

Postby linjichao » Tue Apr 13, 2010 3:47 am

i want to define a save-file hotkey throught a compose key ctrl+s to do...
but i can't get the ctrl key code...
any body know how can i do it?
give me some way...
thanks in advance ...
linjichao
 
Posts: 35
Joined: Fri Jan 22, 2010 10:13 am
Score: 0 Give a positive score

Re: how can i set a compose key?

Postby makslane » Tue Apr 13, 2010 1:09 pm

The ctrl event will be fired like any other key.
Just get it on the keydown event (GameControl.cpp)
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: how can i set a compose key?

Postby linjichao » Fri Apr 23, 2010 11:05 am

thanks...
already solution...
linjichao
 
Posts: 35
Joined: Fri Jan 22, 2010 10:13 am
Score: 0 Give a positive score

Re: how can i set a compose key?

Postby Game A Gogo » Thu Aug 19, 2010 11:18 am

You can use all of the keys on your keyboard (Except the function keys newer keyboard has, like Stop, Play/Pause, Home, etc; those shortcut keys defined by a driver)
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest