Page 1 of 1

CCS64: "crazy" keyboard!

Posted: Sun Jan 20, 2019 10:03 am
by NK1
Hi boys,
I didn't find any topic about my problem.
I have many roms for Commodore 64 (tape, disk and screenshot files), but using them I've discovered that many games doesn't work well. The keys of my keyboard are crazy, because even if I don't touch any of them, CCS64's arrow (or character, or menu row) is moved. If I try to move in the opposite direction (or another one), usually I can't. Another problem is happened: my PC's Caps Lock is turned on anf off continuosly. I've tried to swap CCS64 port, to disable them, but usually it can't help.
I think it's a some games' problem, because other ones are ok. But do you know if I can solve this problems? It's so bad...

P.S. Sorry for my english but I'm italian...

Re: CCS64: "crazy" keyboard!

Posted: Sun Jan 20, 2019 11:29 am
by .mad.
sounds like a problem with the Joystick (analogue) calibration.
or the joystick settings are incorrectly trying to use a Paddle controller.
So your mouse could be triggering the movement.
try deleting the ccs64.cfg file, and creating a new one.

If you click into the emulator window while playing a game, that can mess things up sometimes.
especially if you map Ctrl or Alt as a fire button.
Had very similar effects with other emulators.

no idea why your caps lock is flashing on/off constantly.
unless you mapped the fire button as caps lock, and auto fire is on.
but more like a keyboard driver issue than a ccs64 bug.

Re: CCS64: "crazy" keyboard!

Posted: Sun Jan 20, 2019 7:48 pm
by NK1
First, thank you very much .mad.

1 - I've forgotten to say that I don't use a real Joystick, but I I've read in CCS64 instructions to set joystick + key set 1, configuring every direction and buttons as keys of my PC keyboard (I've made UP:W DOWN:S LEFT:A RIGHT:D FIRE:P FIRE 2:O FIRE 3:I).
2 - I've tried to calibrate my joystick, but using a keyboard it seems impossible to me... I didn't use my mouse, I've tried but something's go wrong during configuration because it wasn't work.
3 - Ok, I'll try to re-configure anything, hoping it could be the right solution.
4 - Ok, I won't touch emulator windows. It's a promise! ahahahah. But I've setted P as fire.
5 - Wait, I've understood the problem's on Scroll Lock key! And in my laptop you can lock scrolling using Function key and F12! It could be help to know why it flashes? It's a strange thing, because it isn't a key pressed but two...

Re: CCS64: "crazy" keyboard!

Posted: Mon Jan 21, 2019 11:12 am
by .mad.
In CCS64 the scroll lock LED can be set to show the disk drive activity - mimic a real 1541 LED.
So the flashing is normal, it just means the game is loading, and nothing to worry about.

you can turn it off in the "Special" options.
or by editing the config file $KEYLED1541ENABLE=0


Code: Select all

$LOADPATH=C:\GameBase\GBC_v15\emulators\CCS64 V3.9.2 Offical\
$ROMPATH=C:\GameBase\GBC_v15\emulators\CCS64 V3.9.2 Offical\
$CARTPATH=C:\GameBase\GBC_v15\emulators\CCS64 V3.9.2 Offical\
$STATEPATH=C:\GameBase\GBC_v15\emulators\CCS64 V3.9.2 Offical\
Setting the Joystick movement keys to the main keyboard is not reccomended.
as most games use the keyboard for something or other.
Navigating menus etc.
Depending how well the emulator is coded, the movement key coluld be mapped twice in some instances (joystick / c64 keypress). Which could be the root of your problem.

best to Avoid these C64 keys when mapping a joystick.
Ctrl = Commodore Key
ESC & TAB = Run/Stop
PC Cursor Keys = C64 Cursors (used a lot in games)
PageUp - Restore

I know it's harder to control, but remap everything on NumPad 2,4,6,8.
and see if that fixes the problem.

and only map 1 button for fire not 3.

Re: CCS64: "crazy" keyboard!

Posted: Mon Jan 21, 2019 11:14 pm
by NK1
thank you again .mad.
Well, if it was only a LED I liked it, but in my laptop anytime a block key is pressed, a padlock design compares in my screen... Now I've fixed it, thanks.
I have followed your advices, as you can see
pic 1.PNG
pic 1.PNG (11.97 KiB) Viewed 22101 times
but my problem's not solved...
Look as I've setted inputs, if it's ok, please
pic 2.PNG
pic 2.PNG (10.94 KiB) Viewed 22101 times
because I didn't understand how to map twice...

Re: CCS64: "crazy" keyboard!

Posted: Tue Jan 22, 2019 12:26 pm
by .mad.
your config looks ok to me.
most joystick games use port#2 as player#1 default.
so if you have zero control, press Alt+F10 during a game to switch between port 1-2.

If the control is still "crazy" then it could be something else interfering with the keyboard.
Are you using Win10?. :P
maybe the problem is Win10 just doesn't like the CCS64 code, with a Direct X driver not being compatible.

or you have accessibilty functions turned on (sticky keys).
press SHIFT five times - Turn Sticky Keys on or off
Num Lock for five seconds - Turn Toggle Keys on or off

failing that, i can only suggest you try WinVICE.
I am pretty sure that will work for you.

Re: CCS64: "crazy" keyboard!

Posted: Wed Jan 23, 2019 6:21 pm
by .mad.
just found this link over on Lemon.
posted by K.C. 8)

CCS64 Re-compiled using Visual Studio 2015.
should fix a few problems running on Win10.

Re: CCS64: "crazy" keyboard!

Posted: Tue Jan 29, 2019 11:46 am
by NK1
Hi .mad.,
I've downloaded that version, but even if it solves some key problems, it often stucks the game.
But now I'm using VICE to play those games with keys problems, and everything's right! Thanks!