### xmame running parameters ###

### Video Related ###
video-mode              1
fullscreen              1
arbheight               0
widthscale              1
heightscale             1
effect                  0
autodouble              1
frameskipper            1
throttle                1
frames_to_run           0
sleepidle               0
autoframeskip           1
maxautoframeskip        8
frameskip               0
brightness              1.000000
pause_brightness        0.650000
gamma                   1.000000
norotate                0
ror                     0
rol                     0
autoror                 0
autorol                 0
flipx                   0
flipy                   0

### Use additional game artwork? ###
artwork                 1
use_backdrops           1
use_overlays            1
use_bezels              1
artwork_crop            0
artwork_scale           1

### Vector Games Related ###
beam                    1.000000
flicker                 0.000000
intensity               1.500000
antialias               1
translucency            1
hardware-vectors        1

### Aspect ratio handling ###
keepaspect              1
perfectaspect           0
displayaspectratio      1.330000

### X11 Related ###
xsync                   1
root_window_id          0
run-in-root-window      0

### X11-window Related ###
mitshm                  1

### DGA Related ###
vsync-pagelimit         2

### Video Mode Selection Related ###

### XV Related ###
force-yuv               0
perfect-yuv             1

### OpenGL Related ###
gldblbuffer             1
gltexture_size          0
glbilinear              1
glbeam                  1.000000
glantialias             1
glantialiasvec          1
cabview                 0
cabinet                 glmamejau

### X11-input related ###
grabmouse               1
grabkeyboard            1
alwaysusemouse          0
cursor                  1
winkeys                 1

### Input device options ###
joytype                 0
analogstick             0
joydevname              /dev/js
ugcicoin                0
steadykey               0
a2d_deadzone            0.300000
# ctrlr                 <NULL> (not set)
digital                 none
usbpspad                0
rapidfire               0

### Sound Related ###
samples                 1
samplefreq              44100
bufsize                 3.000000
volume                  -3
# audiodevice           <NULL> (not set)
# mixerdevice           <NULL> (not set)

### Digital sound related ###
dsp-plugin              alsa
timer                   0

### Alsa Sound System ###
alsa-buffer             250000
artsBufferTime          10

### Sound mixer related ###
sound-mixer-plugin      alsa

### ALSA Mixer ###
alsa-mixer              PCM

### File I/O-related ###
rompath                 /usr/lib/games/xmame/roms
samplepath              /usr/lib/games/xmame/samples
inipath                 /usr/lib/games/xmame/ini
#cfg_directory           $HOME/.xmame/cfg
cfg_directory           /usr/lib/games/xmame/cfg
#nvram_directory         $HOME/.xmame/nvram
nvram_directory         /usr/lib/games/xmame/nvram
#memcard_directory       $HOME/.xmame/mem
memcard_directory       /usr/lib/games/xmame/memcard
input_directory         $HOME/.xmame/inp
#hiscore_directory       $HOME/.xmame/hi
hiscore_directory       /usr/lib/games/xmame/hi
state_directory         $HOME/.xmame/sta
artwork_directory       /usr/lib/games/xmame/artwork
snapshot_directory      $HOME/.xmame
diff_directory          $HOME/.xmame/diff
ctrlr_directory         /usr/lib/games/xmame/ctrlr
cheat_file              /usr/lib/games/xmame/cheat.dat
hiscore_file            /usr/lib/games/xmame/hiscore.dat
history_file            /usr/lib/games/xmame/history.dat
mameinfo_file           /usr/lib/games/xmame/mameinfo.dat
# record                <NULL> (not set)
# playback              <NULL> (not set)

### MAME Related ###
defaultgame             polyplay
language                english
fuzzycmp                1
cheat                   1
skip_disclaimer         0
skip_gameinfo           0
skip_validitychecks     1
crconly                 0
bios                    default
# state                 <NULL> (not set)

### Frontend Related ###
clones                  1

### Internal verification list commands (only for developers) ###

### Rom Identification Related ###

### General Options ###
loadconfig              1

### X11 keymapping ###
#
# mapkey	<Xcode>,<Scancode>
#
# Xcode means the HEX code of the key as appears in /usr/include/X11/keysymdef.h
# Scancode means the hexadecimal code that represents the value used for Xmame
# 	in keyboard inputs, as defined in src/unix/keyboard.h xmame source file
# IMPORTANT:
#	1- Due to some limitations, only LATIN-1 X-codes ( 0x0000-0x00ff ) and
#	Especial X-keycodes ( 0xff00-0xffff ) are supported
#	2- Some keys are keyboard dependent: As Xmame works internally with
#	Standard US-AT keyboard codes, you must take care in remmaping some keys
#

# An example: map space as "firebutton" (Mame predefines it as KEY_LCONTROL)
# in symbolic Xlib/Mame notation it should be:
#
# mapkey XK_space,KEY_LCONTROL
#
# So, looking in X11/keysymdef.h and src/unix/keyboard.h, we'll write
# mapkey 0x0020,0x001d
#
# (Other example). To use the F8 key to insert a coin, you should use
# mapkey 0xffc5,0x0006

# Latin1 keyboard mapping
mapkey 0x0026,0x0002 # & -> 1
mapkey 0x00e9,0x0003 #  -> 2
mapkey 0x0022,0x0004 # " -> 3
mapkey 0x0027,0x0005 # ' -> 4
mapkey 0x0028,0x0006 # ( -> 5
mapkey 0x002d,0x0007 # - -> 6
mapkey 0x00e8,0x0008 #  -> 7
mapkey 0x005f,0x0009 # _ -> 8
mapkey 0x00e7,0x000a #  -> 9
mapkey 0x00e0,0x000b #  -> 0

