* [Qemu-devel] OS X keyboard patch
@ 2004-06-12 16:54 J. Fortmann
0 siblings, 0 replies; only message in thread
From: J. Fortmann @ 2004-06-12 16:54 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
Attached is a patch to get keyboard input working in Mac OS X.
This works using a mac->pc scancode conversion table, with a switch
statement for a few boundary cases.
I also had to add an #include <SDL/SDL.h> in vl.c. This is necessary for SDL
to do its main() magic and shouldn't harm other platforms.
With this patch, I can boot freedos and type commands. Stuff that does
memory or vga magic fails, though.
- Bananoid crashed hard
- Mario screws up the screen
- Settlers (no, that's not on the qemu freedos image :-) crashes hard
Greetings,
Johannes Fortmann
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
[-- Attachment #2: mac-key.tar.gz --]
[-- Type: application/x-gzip, Size: 3229 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-12 16:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-12 16:54 [Qemu-devel] OS X keyboard patch J. Fortmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).