| |
Flavioweb
Registered: Nov 2011 Posts: 442 |
HOME/CLRSCR key don't work...
I'm using an Asus X509 where the "home" key is mapped on num keypoad "under" number 7.
Enabling "NumLock" i can use keypad as joystick and it works.
Without "Numlock", if i enable "Keyboard debugging in statusbar", when i press the "home" button i see:
"KBD Debug: 65429, 0xff95 kp_home --- -----" but nothing happen on emulated c64 screen.
Pressing shift+7:
"KBD Debug: 65463, 0xffb7, kp_7 S--- -----" using "NumLock", then pressing 7, i get:
"KBD Debug: 65463, 0xffb7, kp_7 --- -2---" and in these last two cases it seems that the diagonal movement of the joystick is activated..
What can i do to make my home/clr work? |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11090 |
Did you somehow confuse this forum with the VICE bugtracker? =P |
| |
Count Zero
Registered: Jan 2003 Posts: 1820 |
Heh, at least that diagonal movement of the joystick (top left for me) on emu start sounds somewhat familiar to me :)
Never occured to me it has something to do with keyboard mapping or numpad usage though. Got it activated on random setups and starts. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11090 |
SDL sees the actual Keys, so you must change the keymap to use "kp_home" instead of "home" |
| |
JackAsser
Registered: Jun 2002 Posts: 1987 |
Since this is the official bug tracker it seems I'm wondering if anyone else have problem passing model-cmdline parameters to VICE? This used to work, but now I can't force start in NTSC etc. It always boots in PAL regardless of -model parameter.
Edit: -model is ignored if you also try to override vic-model and sid-model, which is the only sane thing to do. Nevermind this. |
| |
Flavioweb
Registered: Nov 2011 Posts: 442 |
Quoting GroepazDid you somehow confuse this forum with the VICE bugtracker? =P
Since i know that the programmers involved in Vice's development have a lot of work to do ... before directly disturb them, i seek help from the community ...
Maybe it's a simple problem to solve and it's not a real bug.
If I can't find a solution ... then i sling on the bugtracker =)
Quoting Groepazso you must change the keymap to use "kp_home" instead of "home"
I probably need to read some docs to get rid of this ... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11090 |
That said... is this the GTK port on Windows? |
| |
Flavioweb
Registered: Nov 2011 Posts: 442 |
Is the Gtk but on Linux. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
I see the problem, that keyboard doesn't have a separate Home key and the numpad Home (KP_Home) can't be used because Shift+keypad-home returns KP_7.
Since you seem to have both a normal '/' and a '/' on the keyboard, I remapped Home to KP_Divide (change the line "Home 6 3 8" to "KP_Divide 6 3 8" in your vkm file). That way I can press the / on keypad for the emulated machine's HOME and shift+/ for CLR. Numlock-state doesn't interfere, and you can keep using the keypad for joystick emulation. |
| |
Flavioweb
Registered: Nov 2011 Posts: 442 |
Quoting Compyxchange the line "Home 6 3 8" to "KP_Divide 6 3 8" in your vkm file
\o/
You fixed it again =)
Thanks a loooot!!! |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
You're welcome, nice to hear it works :) |