Hello,
at first:
Great Application!!! I love it!!
Just one problem:
I want to mab the Center Joystick button as a left click.
It seems to work and shows a "." as mapped key but no change.
Is it possible to map this key??
Please Help
map keys on N96
Moderator: ScummVM Team
-
- ScummVM Porter
- Posts: 1423
- Joined: Sun Oct 30, 2005 2:27 pm
- Location: Malmoe, Sweden
Solved
I solved the Problem with the Program MagicKey to map the Key...
You'll need this:
* - 42
# - 127
Number 0 - 48
Number 1 - 49
Number 2 - 50
Number 3 - 51
Number 4 - 52
Number 5 - 53
Number 6 - 54
Number 7 - 55
Number 8 - 56
Number 9 - 57
Left Soft Key - 164
Right Soft key - 165
Green Key - 196
Red Key - 197
Pencil - 18
Backspace(C)-Key - 1
Menu Key - 180
Multimedia Menu Key - 186
"Joystik Left" - 14
"Joystik Right" - 15
"Joystik Up" - 16
"Joystik Down" - 17
[OK]-Key - 167
Gallery Key - 230
Volume Up - 162
Volume Down - 163
Camera key Half Pressed - 226
Camera Key Full Pressed - 227
Camera Shutter open on n95-1 (classic) - 231
Power Off Key - 166
Open Slider - 168
Close Slider - 169
Open Multimedia Keys - 172
Close Multimedia Keys - 173
Multimedia Key Pause/Play - 182
Multimedia Key Stop - 183
Multimedia Key Forwards - 184
Multimedia Key Backwards - 185
cu
You'll need this:
* - 42
# - 127
Number 0 - 48
Number 1 - 49
Number 2 - 50
Number 3 - 51
Number 4 - 52
Number 5 - 53
Number 6 - 54
Number 7 - 55
Number 8 - 56
Number 9 - 57
Left Soft Key - 164
Right Soft key - 165
Green Key - 196
Red Key - 197
Pencil - 18
Backspace(C)-Key - 1
Menu Key - 180
Multimedia Menu Key - 186
"Joystik Left" - 14
"Joystik Right" - 15
"Joystik Up" - 16
"Joystik Down" - 17
[OK]-Key - 167
Gallery Key - 230
Volume Up - 162
Volume Down - 163
Camera key Half Pressed - 226
Camera Key Full Pressed - 227
Camera Shutter open on n95-1 (classic) - 231
Power Off Key - 166
Open Slider - 168
Close Slider - 169
Open Multimedia Keys - 172
Close Multimedia Keys - 173
Multimedia Key Pause/Play - 182
Multimedia Key Stop - 183
Multimedia Key Forwards - 184
Multimedia Key Backwards - 185
cu
-
- ScummVM Porter
- Posts: 1423
- Joined: Sun Oct 30, 2005 2:27 pm
- Location: Malmoe, Sweden
Re: Solved
could you tell me how exactly you did this? I also want my central pad to be left mouse clickilor_at wrote:I solved the Problem with the Program MagicKey to map the Key...
You'll need this:
* - 42
# - 127
Number 0 - 48
Number 1 - 49
Number 2 - 50
Number 3 - 51
Number 4 - 52
Number 5 - 53
Number 6 - 54
Number 7 - 55
Number 8 - 56
Number 9 - 57
Left Soft Key - 164
Right Soft key - 165
Green Key - 196
Red Key - 197
Pencil - 18
Backspace(C)-Key - 1
Menu Key - 180
Multimedia Menu Key - 186
"Joystik Left" - 14
"Joystik Right" - 15
"Joystik Up" - 16
"Joystik Down" - 17
[OK]-Key - 167
Gallery Key - 230
Volume Up - 162
Volume Down - 163
Camera key Half Pressed - 226
Camera Key Full Pressed - 227
Camera Shutter open on n95-1 (classic) - 231
Power Off Key - 166
Open Slider - 168
Close Slider - 169
Open Multimedia Keys - 172
Close Multimedia Keys - 173
Multimedia Key Pause/Play - 182
Multimedia Key Stop - 183
Multimedia Key Forwards - 184
Multimedia Key Backwards - 185
cu
thanks in advance
There is another way to get the key working:
Using ilor_at mapping you can get the value for the key you want:
* = 42 (dec) = 2A (hex)
# = 127 (dec) = 7F (hex)
etc.
You can use your windows calc to do the conversion by by using the scientific version of it. (select DEC, then enter the value you want to convert, then select HEX)
Now browse in your phone for where the scummvm is installed. for me it's in c:\Data\scummvm\
Edit the file called "scummvm.ini".
Scroll down in the file until you found:
action_mapping=0000 0000 0000 0000 0000 002a 0023 0039 0000 0000 0000 0000 0000 0000 0000 0000 0030 0000 0000
each series of 0000 correspond to a action (check in the game to get the list).
I'm interested in the action "5: right click" as the right soft key doesn't work for me.
So using the same method as above I get: Right Soft key - 165 (dec) = A5 (hex)
So you replace the fifth series of 0000 with value:
action_mapping=0000 0000 0000 0000 00A5 002a 0023 0039 0000 0000 0000 0000 0000 0000 0000 0000 0030 0000 0000
With this, you will have:
left soft key (default) for left click.
right soft key for right click.
* game menu.
0 scummvm menu.
# console.
Cheers.
Using ilor_at mapping you can get the value for the key you want:
* = 42 (dec) = 2A (hex)
# = 127 (dec) = 7F (hex)
etc.
You can use your windows calc to do the conversion by by using the scientific version of it. (select DEC, then enter the value you want to convert, then select HEX)
Now browse in your phone for where the scummvm is installed. for me it's in c:\Data\scummvm\
Edit the file called "scummvm.ini".
Scroll down in the file until you found:
action_mapping=0000 0000 0000 0000 0000 002a 0023 0039 0000 0000 0000 0000 0000 0000 0000 0000 0030 0000 0000
each series of 0000 correspond to a action (check in the game to get the list).
I'm interested in the action "5: right click" as the right soft key doesn't work for me.
So using the same method as above I get: Right Soft key - 165 (dec) = A5 (hex)
So you replace the fifth series of 0000 with value:
action_mapping=0000 0000 0000 0000 00A5 002a 0023 0039 0000 0000 0000 0000 0000 0000 0000 0000 0030 0000 0000
With this, you will have:
left soft key (default) for left click.
right soft key for right click.
* game menu.
0 scummvm menu.
# console.
Cheers.
-
- Posts: 9
- Joined: Fri Sep 07, 2007 2:03 pm
-
- Posts: 9
- Joined: Fri Sep 07, 2007 2:03 pm