Great news ! My sincere congratulations for you and
your work.
About your enquiry about how find a difference between the ENTER and RETURN
keys... I think that it would be possible to do it checking the keyboard
'scancode'. This is a concept from the early times of the PC but I suppose
that some applications have been using this technique even nowadays. It
must be easy to get some examples of use.
--
Gracias | Regards
Saludos - Greetings - Freundliche Gr??e - Salutations
--
*Sergio Pedraja*
twitter: @sergio_pedraja
skype: Sergio Pedraja
-----
No crea todo lo que ve, ni crea que est? vi?ndolo todo
2014-04-14 10:23 GMT+02:00 Philip Pemberton <classiccmp at philpem.me.uk>:
On 13/04/14 08:38, Andrew Warkentin wrote:
However, the emulator is still not quite usable.
The key mapping is not
quite right (one problem is that the UNIX PC has separate "return" and
"enter" keys, and there is no mapping for "enter", which is required
to
accept dialogs, and there might be other important keys that are
missing). Also, neither the mouse nor the RTC are emulated yet.
Andrew, all I have to say is "THANK YOU, THANK YOU, A MILLION TIMES -
THANK YOU!" The bus error logic has been a thorn in my side for ages,
and I just couldn't figure out what was going wrong. I'm really glad
someone managed to figure it out!
Get these patches to me and I'll merge them in ASAP and do my best to
fix the mouse, RTC and keyboard.
As you said, the main problem is that we don't have enough keys on a PC
keyboard to do a 1:1 mapping -- thankfully SDL supports Modifier keys,
so this isn't an insurmountable problem. The big problem is coming up
with a sane mapping :)
Truth be told, I'll probably move the repository over to Bitbucket so
people can fork it and work on it independently, then submit merge
requests. It takes a lot of work out of manually importing patches.
Is this based on the OldMMU branch or my revised MMU? I don't really
care which it is, I'll just deprecate the branch you aren't using so we
don't have a million and one build variants 8^)
Thanks,
--
Phil.
classiccmp at philpem.me.uk
http://www.philpem.me.uk/