2 registered members (dr_panther, 7th_zorro),
1,203
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Key mapping problem
#446153
10/06/14 21:12
10/06/14 21:12
|
Joined: Jan 2012
Posts: 108
gamers
OP
Member
|
OP
Member
Joined: Jan 2012
Posts: 108
|
Hi, everyone Is there any way to designate some keys like ü, ç and ş; ??? I cant find the key functions, scancodes and key mappings???
Last edited by gamers; 10/06/14 21:13.
|
|
|
Re: Key mapping problem
[Re: gamers]
#446195
10/08/14 00:43
10/08/14 00:43
|
Joined: Jul 2008
Posts: 2,107 Germany
rayp
X
|
X
Joined: Jul 2008
Posts: 2,107
Germany
|
Maybe could be an option. Example from Manual, checking the ENTER Key:
STRING* entry_str = " "; // long empty string
...
var key = inkey(entry_str); // wait until [enter] pressed
if (key == 13)
process_entry(entry_str);
...
STRING* string1 = "";
STRING* string2 = "";
...
while(1) {
if (inchar(string1) == 13) break;
str_cat(string2,string1);
}
See Manual "Input|Output/Key mapping" for some scancodes. Greets
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|
|
|
Re: Key mapping problem
[Re: rayp]
#446254
10/08/14 20:47
10/08/14 20:47
|
Joined: Dec 2008
Posts: 1,660 North America
Redeemer
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,660
North America
|
1. Give up inferior native language 2. Buy english keyboard 3. ??? 4. Profit More seriously, you can probably figure out the correct keycodes really easily by just writing a small app that reports it directly with inkey, but if that doesn't work, I would not say it's worth it to dig into the windows API just for this
|
|
|
|