Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PET Keymap Problem #260

Open
sean-skt opened this issue Feb 29, 2024 · 5 comments
Open

PET Keymap Problem #260

sean-skt opened this issue Feb 29, 2024 · 5 comments

Comments

@sean-skt
Copy link

I cannot for the life of me figure out this keymap stuff.

I would like to use the PET 8000 80 column models but I cannot get 2 keys working that I really need, single quotes and SHIFT LOCK.

The actual PET 8032 had double quote above the '2' key and single quote above the '7' key. I am trying to use the symbolic keymap, and while there is a reference to "SingleQuote" at the bottom of the map file, I get the feeling this is not correct. When I try to use the single quote that is below the double quote on a standard US keyboard, I can't seem to get this to work. It just produces double quotes.

The other thing I cannot get working on the PET 8032 is SHIFT LOCK, which I REALLY need. In fact I cannot get SHIFT LOCK working on any machine, such as C64 or VIC-20.

Is everything I have mentioned something I can fix? If so, please let me know. Thanks.

@randyrossi
Copy link
Owner

randyrossi commented Feb 29, 2024 via email

@sean-skt
Copy link
Author

sean-skt commented Mar 1, 2024

Hey Randy,

Thank you very much for your reply.
A friend of mine helped me get the single quote working by editing "rpi_buus_sym.vkm".
We edited this line:

SingleQuote 1 2 31

We changed '31' to '33' and the single quote key now works, that is, the one that is paired with a double quote on a standard US keyboard. He explained to me why we had to use that value of 33 but I'm still struggling to understand it.
In answer to your question, yes, when I press SHIFT+ 2 I do get a '@'.

I did read about pressing both SHIFT keys to enable SHIFT LOCK, but that doesn't work for me. Again, I can't seem to get it to work for any machine.

Thanks. :)

@BODYPRINT
Copy link

BODYPRINT commented Mar 15, 2024

Hi @randyrossi
Just a follow up on this one. Holding both SHIFT keys doesn't work.
In the rpi_buus_sym.vkm keymap file it has listed in the Negative Special Keys
# 'keysym -4 1' CAPS (ASCII/DIN) key

This works in the other emulators, e.g. C128, but not on the PET. Should this be working?
On the C128 I have
CapsLock -4 1

Also the PET doesn't seem to have an option to bring up a virtual keyboard, even though the settings show a transparency setting for it. Should there be a Virtual Keyboard we can access for the PET?

Thanks again :)

@randyrossi
Copy link
Owner

randyrossi commented Mar 15, 2024 via email

@BODYPRINT
Copy link

BODYPRINT commented Mar 16, 2024

Hi Randy,
Unfortunately none of these work on the BMC64.
I also tried 6 6 6 and 6 0 6 hoping it might trick it into a double shift somehow.

When you run it on the PC, the operating system on the PC is handling the Caps Lock key, so it's a bit different.
BMC64 doesn't have the underlying operating system to Lock the shift key.
If you can get it to work on a different key in VICE PC then I'd be curious to know how.

Cheers.

[EDIT] Trying VICE 3.2 on PC. Caps lock doesn't work out of the box. Will play with it more on PC
Seems both Shift keys works in VICE 3.2, but not in BMC64 [/EDIT]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants