-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for the DEC layout Televideo Linear Space Invader keyboards to ibmpc_usb. #711
Add support for the DEC layout Televideo Linear Space Invader keyboards to ibmpc_usb. #711
Conversation
…ds to ibmpc_usb. See this thread for which keyboards I am referring to: https://deskthority.net/viewtopic.php?f=2&t=25763 (Many of these keyboards are completely unbranded on the outside, and only the PCB reads "TELEVIDEO ANSI Scan")
Interesting scan code and keyboard id. Doesn't the keyboard work well with Code Set 2? Can you make scan code table of CS3(and CS2 if possible) for the keyboard for future reference? And it would be helpful if you can share good photo of the keyboard enough to recognize key legends. Right. ibmpc_usb.c file is not used currently, you don't need to change it. |
Code set 0x82 is not valid for this DEC Televideo keyboard, and it does not accept it.
I looped through all the possible code sets, and this keyboard supports the following code sets:
Please see Code Set 3 of this keyboard documented below: On the top half I've written the key meanings mapped by me, and on the bottom half the set-3 actual raw codes sent by the keyboard.
Please see here for a Keyboard Layout Editor info.json with (I think) Danish original legends on this keyboard, I don't think there were any english-layout DEC Televideo keyboards among the AZERTY keyboard groupbuy But take a look at this, different, but also DEC-layout keyboard: Many keys don't really have a modern-day equivalent, so I have opted to mostly ignore what |
Thank you for great writeup and very clear explanation! I found one thing on the mapping.
I assume users would use this Keymap Editor to edit keymap for Televideo DEC style.
These scan code would be translated in this case. How do you think? |
Yeah, I really wasn't sure what to do there, there's two backspace keys, the left-most one is 1.5u wide, and has the backspace symbol on the key, while the right-most one is 1u wide, and has the words "Back Space" on the key. The reason I chose backspace on the left, was cause the left-most backspace is 1.5 wide, and most people's muscle memory would make them prefer the 1.5u key for actual backspace functionality. But I guess you're right, it's more important to make remapping more intuitive in this case. Is there a repository where I could contribute to the editor webpage, to add a DEC layout to the drop-down? (If you want that) |
Adjusted, as discussed |
Thank you for the fix. I'll merge this PR. You can acess codes of Keymap Editor at gh-pages branch. Current Editor can't manage with many editor layouts and firmwares well enough. I will have to find be better way to organize editor layouts. I hope that users can edit keymap using default editor layout somehow with referring to this table to know how Televideo DEC keyboard is mapped on Editor. I usually do without adding new specific editor layout preferably when adding support for new keyboard. |
Thanks for the merge. Could you remove the question mark from Enter's keycode? I left that there by accident (| 5A?| -> | 5A |) Can I propose another alternative for the backspace area?
|
That seems to be acceptable and reasonable to me. Is this change what you mean?
|
Yeah, that's it, I just tested it and works as expected |
OK. I'll commit the change then. |
Thanks! |
Updated in repo. Keymap Editor should work with Televideo DEC keyboard now. Let me know if you have any problem. |
Tested with keymap editor too, and works fine. |
See this thread for which keyboards I am referring to:
https://deskthority.net/viewtopic.php?f=2&t=25763
(Many of these keyboards are completely unbranded on the outside, and only the
PCB reads "TELEVIDEO ANSI Scan")
@tmk Are the .c files deprecated now, and I can safely ignore? Or do I need to port my changes to the .c files too?