From: "J. Fortmann" <PiusII@gmx.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] OS X keyboard patch
Date: Sat, 12 Jun 2004 18:54:19 +0200 (MEST) [thread overview]
Message-ID: <18603.1087059259@www16.gmx.net> (raw)
[-- 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 --]
reply other threads:[~2004-06-12 16:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18603.1087059259@www16.gmx.net \
--to=piusii@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).