Mailinglist Archive: opensuse (2358 mails)

< Previous Next >
[SLE] XMAME, Keyboard Remapping Problems
  • From: aguavaca@xxxxxxxxxxx (aguavaca@xxxxxxxxxxx)
  • Date: Mon, 18 Oct 1999 01:13:07 +0200 (CEST)
  • Message-id: <XFMail.991018011307.aguavaca@xxxxxxxxxxx>



Hello,

I don't know if this subject can be a bit offtopic, so I apologize
if for any reason it is and I will ask about in any other place.

I have installed Xmame and reading the xmamerc file I have found out
that I have a problem with the keyboard remapping. To cut a long
story short, you have to set up the hexadecimal code of your keyboard
with the codes that Xmame understands. For example:

To use F8 key to insert coin you shoud use:
mapkey 0xffc5,0x0004

0xffc5 (Xcode) means the HEX code of the key as appears in
/usr/include/X11/keysymdef.h

0x0004 (Scancode) means the hexadecimal code that represents the
value used for Xmame in keyboard inputs, as defined in
src/osdepend.h Xmame source file.

So it is just to write in the xmamerc file the mapkeys
commands with Xcode and Scancode. Of course I have the
/usr/include/X11/keysymdef.h but I don't know where the
src/osdepend.h is. I have the Xcodes but I don't know the
Scancodes that Xmame understands.

Anybody knows where the src/osdepend.h is or does anybody
have a xmamerc file as a sample to send?

Thanks in advance,


---
mailto: aguavaca@xxxxxxxxxxx
XFMail 1.3 SuSE GNU/Linux
http://personal5.iddeo.es/aguavaca/
ICQ #5580328
---
Windows98: a 32 bit graphical front end to a 16 bit patch on an 8 bit operating
system written for a 4 bit processor by a 2 bit company without 1 bit of
decency...
---

--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >
This Thread
  • No further messages