Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Dawn ! (Registered 2020-09-19) You are not logged in 
CSDb User Forums


Forums > CSDb Discussions > HOME/CLRSCR key don't work...
2020-07-06 12:12
Flavioweb

Registered: Nov 2011
Posts: 413
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?
2020-07-06 13:02
Groepaz

Registered: Dec 2001
Posts: 9532
Did you somehow confuse this forum with the VICE bugtracker? =P
2020-07-06 13:23
Count Zero

Registered: Jan 2003
Posts: 1133
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.
2020-07-06 13:31
Groepaz

Registered: Dec 2001
Posts: 9532
SDL sees the actual Keys, so you must change the keymap to use "kp_home" instead of "home"
2020-07-06 17:19
JackAsser

Registered: Jun 2002
Posts: 1716
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.
2020-07-06 23:33
Flavioweb

Registered: Nov 2011
Posts: 413
Quoting Groepaz
Did 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 Groepaz
so you must change the keymap to use "kp_home" instead of "home"

I probably need to read some docs to get rid of this ...
2020-07-07 00:31
Groepaz

Registered: Dec 2001
Posts: 9532
That said... is this the GTK port on Windows?
2020-07-07 07:40
Flavioweb

Registered: Nov 2011
Posts: 413
Is the Gtk but on Linux.
2020-07-07 12:41
Compyx

Registered: Jan 2005
Posts: 577
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.
2020-07-07 12:59
Flavioweb

Registered: Nov 2011
Posts: 413
Quoting Compyx
change the line "Home 6 3 8" to "KP_Divide 6 3 8" in your vkm file

\o/
You fixed it again =)
Thanks a loooot!!!
2020-07-07 13:00
Compyx

Registered: Jan 2005
Posts: 577
You're welcome, nice to hear it works :)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Magic/Nah-Kolor
Dan Gillgrass/Suicyc..
Hawk
taper/ΤRIΛD
MCM/ONSLAUGHT
Poison/Singular Crew
Menace/Spaceballs
ptoing
Marq/Fit^Lieves!Tuor..
alwyz/udi
Mihai
Guests online: 60
Top Demos
1 Uncensored  (9.7)
2 Coma Light 13  (9.7)
3 Edge of Disgrace  (9.6)
4 Comaland 100%  (9.6)
5 Unboxed  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Remains  (9.5)
9 C=Bit 18  (9.5)
10 D50  (9.5)
Top onefile Demos
1 Cuarentenauta  (9.5)
2 Listen to Your Eyes  (9.5)
3 Dawnfall V1.1  (9.5)
4 Rewind  (9.5)
5 Instinct  (9.5)
6 Daah, Those Acid Pil..  (9.5)
7 Crystal Gazer  (9.5)
8 Smile to the Sky  (9.5)
9 The Tuneful Eight [u..  (9.5)
10 Bad Boy  (9.5)
Top Groups
1 Fossil  (9.4)
2 PriorArt  (9.4)
3 Booze Design  (9.4)
4 Censor Design  (9.3)
5 Performers  (9.3)
Top Organizers
1 Tim  (10)
2 cTrix  (10)
3 Burglar  (9.9)
4 Sixx  (9.9)
5 Retroluzzer  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2020
Page generated in: 0.044 sec.