Skip to content

Conversation

@taylorza
Copy link

@taylorza taylorza commented Jan 3, 2026

Updated the keyboard mapping to match the physical hardware used with a PS/2 keyboard

INPUT_PORTS_START(specnext)
PORT_INCLUDE(spec_plus)

// PS2 Keyboard Mapping
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming it's PS/2, not PS2.

Copy link
Author

@taylorza taylorza Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct. Thanks, I updated the code comment.

@angelosa
Copy link
Member

angelosa commented Jan 4, 2026

Are the default mappings / charsets you used not clashing with existing keyboard inputs?

@holub
Copy link
Contributor

holub commented Jan 4, 2026

It's fixing up default as it's technically different keyboard. E.g. Symbol and Control shifts swapped to reflect this transition. Original 40-keys postion them opposite.

We decided switch to PS/2 mapping, that's not mapping of original Next's keyboard.
https://www.specnext.com/ps2-keyboard/

@taylorza taylorza changed the title sinclair/specnext.cpp: Added PS2 Keyboard mapping sinclair/specnext.cpp: Added PS/2 Keyboard mapping Jan 4, 2026
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

Successfully merging this pull request may close these issues.

3 participants