Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


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

Registered: Nov 2011
Posts: 447
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
chatGPZ

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

Registered: Jan 2003
Posts: 1830
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
chatGPZ

Registered: Dec 2001
Posts: 11152
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: 1995
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: 447
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
chatGPZ

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

Registered: Nov 2011
Posts: 447
Is the Gtk but on Linux.
2020-07-07 12:41
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.
2020-07-07 12:59
Flavioweb

Registered: Nov 2011
Posts: 447
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: 631
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
cba
psych
Colt45RPM
t0m3000/HF^BOOM!^IBX
celticdesign/G★P/M..
Mike
Doc Snyder/ONS
Guests online: 94
Top Demos
1 Next Level  (9.7)
2 Mojo  (9.7)
3 13:37  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 Aliens in Wonderland  (9.6)
7 Comaland 100%  (9.6)
8 Uncensored  (9.6)
9 No Bounds  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 It's More Fun to Com..  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Veto  (9.6)
3 Facet  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.048 sec.