|
|
Joined: Aug 2009
Posts: 8
Member
|
OP
Member
Joined: Aug 2009
Posts: 8 |
Hi,
I'm working on driver for Elwro 800 Junior, Polish ZX Spectrum clone with additional features. The current version with working emulation was already sent to Nathan.
I'm still working on it and I have found a problem: original computer had several keys with Polish specific letters on them (Ą, Ć etc.). Obviously, modern PCs doesn't have such keys. My idea is to map them in the same way as standard mapping in Windows, i.e. Right Alt + key. How can I do that in driver code?
Mariusz Wojcieszek
|
|
|
|
Joined: Nov 1999
Posts: 704 Likes: 8
Senior Member
|
Senior Member
Joined: Nov 1999
Posts: 704 Likes: 8 |
Generally the way that has been done is to map the keys to whatever keys might be convenient (such as on the keypad). The natural keyboard support in MESS can be used independently.
|
|
|
|
Joined: Dec 1999
Posts: 1,179 Likes: 2
Very Senior Member
|
Very Senior Member
Joined: Dec 1999
Posts: 1,179 Likes: 2 |
The 'standard' in MESS for the emulated keyboard layout is to map the keys according to the physical layout on the original keyboard (so e.g. if Ą is where the ' key would be on a US 102-key keyboard you would map it to ').
MESS also supports "natural" keyboard layouts which use Unicode characters to allow for example clipboard paste to work, to support that you would specify e.g. PORT_CHAR(0x0104)
|
|
|
|
Joined: Feb 2008
Posts: 326
Senior Member
|
Senior Member
Joined: Feb 2008
Posts: 326 |
I have placed your driver in SVN, please note that meanwhile FDC have been updated, so I had to do a little update on your code. So it would be good if you update your local tree to a latest SVN content.
Nice work BTW.
|
|
|
|
Joined: Jul 2007
Posts: 4,625
Very Senior Member
|
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
I have placed your driver in SVN, please note that meanwhile FDC have been updated, so I had to do a little update on your code. So it would be good if you update your local tree to a latest SVN content.
Nice work BTW. I will test.  My clean compilation is still in procress
|
|
|
3 members (robcfg, Dorando, 1 invisible),
22
guests, and
1
robot. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,158
Posts119,916
Members5,034
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|
|