;VERSION 0.9.33.3
;Edit this file at your own risk!
;File format: <key><single space><value><LF or CR+LF>

;Automatic load/save state on game load/save.
autosave 0

;Cache entire CD images in memory.
cd.image_memcache 0

;Enable (automatic) usage of this module.
cdplay.enable 1

;Force monophonic sound output.
cdplay.forcemono 0

;cdplay, Built-In, Controller: Next Track
cdplay.input.builtin.controller.next_track keyboard 275

;cdplay, Built-In, Controller: Next Track 10
cdplay.input.builtin.controller.next_track_10 keyboard 273

;cdplay, Built-In, Controller: Play/Pause
cdplay.input.builtin.controller.play_pause keyboard 32

;cdplay, Built-In, Controller: Previous Track
cdplay.input.builtin.controller.previous_track keyboard 276

;cdplay, Built-In, Controller: Previous Track 10
cdplay.input.builtin.controller.previous_track_10 keyboard 274

;cdplay, Built-In, Controller: Scan Forward
cdplay.input.builtin.controller.scan_forward keyboard 280

;cdplay, Built-In, Controller: Scan Reverse
cdplay.input.builtin.controller.scan_reverse keyboard 281

;cdplay, Built-In, Controller: Stop
cdplay.input.builtin.controller.stop keyboard 13

;Enable specified OpenGL pixel shader.
cdplay.pixshader none

;Enable scanlines with specified opacity.
cdplay.scanlines 0

;Enable specified special video scaler.
cdplay.special none

;Stretch to fill screen.
cdplay.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
cdplay.tblur 0

;Accumulate color data rather than discarding it.
cdplay.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
cdplay.tblur.accum.amount 50

;Enable (bi)linear interpolation.
cdplay.videoip 0

;Enable simple waveform visualization.
cdplay.visualization 1

;Full-screen horizontal resolution.
cdplay.xres 0

;Scaling factor for the X axis in windowed mode.
cdplay.xscale 4.000000

;Scaling factor for the X axis in fullscreen mode.
cdplay.xscalefs 1.000000

;Full-screen vertical resolution.
cdplay.yres 0

;Scaling factor for the Y axis in windowed mode.
cdplay.yscale 4.000000

;Scaling factor for the Y axis in fullscreen mode.
cdplay.yscalefs 1.000000

;Enable cheats.
cheats 1

;Save state 0 select
command.0 keyboard 48

;Save state 1 select
command.1 keyboard 49

;Save state 2 select
command.2 keyboard 50

;Save state 3 select
command.3 keyboard 51

;Save state 4 select
command.4 keyboard 52

;Save state 5 select
command.5 keyboard 53

;Save state 6 select
command.6 keyboard 54

;Save state 7 select
command.7 keyboard 55

;Save state 8 select
command.8 keyboard 56

;Save state 9 select
command.9 keyboard 57

;Activate barcode(for Famicom)
command.activate_barcode keyboard 289

;Advance frame
command.advance_frame keyboard 97+alt

;Select virtual device on virtual input port 1
command.device_select1 keyboard 49+ctrl+shift

;Select virtual device on virtual input port 2
command.device_select2 keyboard 50+ctrl+shift

;Select virtual device on virtual input port 3
command.device_select3 keyboard 51+ctrl+shift

;Select virtual device on virtual input port 4
command.device_select4 keyboard 52+ctrl+shift

;Select virtual device on virtual input port 5
command.device_select5 keyboard 53+ctrl+shift

;Select virtual device on virtual input port 6
command.device_select6 keyboard 54+ctrl+shift

;Select virtual device on virtual input port 7
command.device_select7 keyboard 55+ctrl+shift

;Select virtual device on virtual input port 8
command.device_select8 keyboard 56+ctrl+shift

;Exit
command.exit keyboard 285+alt

;Fast-forward
command.fast_forward keyboard 96

;Configure buttons on virtual port 1
command.input_config1 keyboard 49+alt+shift

;Configure buttons on virtual port 2
command.input_config2 keyboard 50+alt+shift

;Configure buttons on virtual port 3
command.input_config3 keyboard 51+alt+shift

;Configure buttons on virtual port 4
command.input_config4 keyboard 52+alt+shift

;Configure buttons on virtual port 5
command.input_config5 keyboard 53+alt+shift

;Configure buttons on virtual port 6
command.input_config6 keyboard 54+alt+shift

;Configure buttons on virtual port 7
command.input_config7 keyboard 55+alt+shift

;Configure buttons on virtual port 8
command.input_config8 keyboard 56+alt+shift

;Detect analog buttons on physical joysticks/gamepads(for use with the input configuration process).
command.input_config_abd keyboard 284

;Configure command key
command.input_configc keyboard 283

;Configure command key, for all-pressed-to-trigger mode
command.input_configc_am keyboard 283+shift

;Insert coin
command.insert_coin keyboard 289

;Insert/Eject disk/disc
command.insert_eject_disk keyboard 289

;Load movie
command.load_movie keyboard 288+shift

;Load state
command.load_state keyboard 288

;Movie 0 select
command.m0 keyboard 48+shift

;Movie 1 select
command.m1 keyboard 49+shift

;Movie 2 select
command.m2 keyboard 50+shift

;Movie 3 select
command.m3 keyboard 51+shift

;Movie 4 select
command.m4 keyboard 52+shift

;Movie 5 select
command.m5 keyboard 53+shift

;Movie 6 select
command.m6 keyboard 54+shift

;Movie 7 select
command.m7 keyboard 55+shift

;Movie 8 select
command.m8 keyboard 56+shift

;Movie 9 select
command.m9 keyboard 57+shift

;Power toggle
command.power keyboard 292

;Reset
command.reset keyboard 293

;Rotate screen
command.rotate_screen keyboard 111+alt

;Return to normal mode after advancing frames
command.run_normal keyboard 114+alt

;Save movie
command.save_movie keyboard 286+shift

;Save state
command.save_state keyboard 286

;Select disk/disc
command.select_disk keyboard 287

;Slow-forward
command.slow_forward keyboard 92

;Rewind
command.state_rewind keyboard 8

;Decrease selected save state slot by 1
command.state_slot_dec keyboard 45

;Increase selected save state slot by 1
command.state_slot_inc keyboard 61

;Take scaled(and filtered) screen snapshot
command.take_scaled_snapshot keyboard 290+shift

;Take screen snapshot
command.take_snapshot keyboard 290

;Toggle graphics layer 1
command.tl1 keyboard 49+ctrl

;Toggle graphics layer 2
command.tl2 keyboard 50+ctrl

;Toggle graphics layer 3
command.tl3 keyboard 51+ctrl

;Toggle graphics layer 4
command.tl4 keyboard 52+ctrl

;Toggle graphics layer 5
command.tl5 keyboard 53+ctrl

;Toggle graphics layer 6
command.tl6 keyboard 54+ctrl

;Toggle graphics layer 7
command.tl7 keyboard 55+ctrl

;Toggle graphics layer 8
command.tl8 keyboard 56+ctrl

;Toggle graphics layer 9
command.tl9 keyboard 57+ctrl

;Grab input and disable commands
command.toggle_cidisable keyboard 302+shift

;Toggle debugger
command.toggle_debugger keyboard 100+alt

;Toggle DIP switch view
command.toggle_dipview keyboard 287

;Toggle frames-per-second display
command.toggle_fps_view keyboard 282+shift

;Toggle fullscreen mode
command.toggle_fs keyboard 285

;Grab input
command.toggle_grab_input keyboard 302

;Toggle help screen
command.toggle_help keyboard 282

;Toggle state rewind functionality
command.toggle_state_rewind keyboard 115+alt

;Enable/Disable cheats
command.togglecheatactive keyboard 116+alt

;Toggle cheat console
command.togglecheatview keyboard 99+alt

;Toggle netplay console
command.togglenetview keyboard 116

;Automatically go into the debugger's step mode after a game is loaded.
debugger.autostepmode 0

;Silence sound output when fast-forwarding.
ffnosound 0

;Fast-forwarding speed multiplier.
ffspeed 4

;Treat the fast-forward button as a toggle.
fftoggle 0

;Disable gzip compression when saving save states and backup memory.
filesys.disablesavegz 0

;Format string for movie filename.
filesys.fname_movie %f.%M%p.%x

;Format string for save games filename.
filesys.fname_sav %F.%M%x

;Format string for screen snapshot filenames.
filesys.fname_snap %f-%p.%x

;Format string for state filename.
filesys.fname_state %f.%M%X

;Path to directory for cheats.
filesys.path_cheat cheats

;Path to directory for firmware.
filesys.path_firmware firmware

;Path to directory for movies.
filesys.path_movie mcm

;Path to directory for custom palettes.
filesys.path_palette palettes

;Path to directory for save games and nonvolatile memory.
filesys.path_sav sav

;Path to directory for screen snapshots.
filesys.path_snap snaps

;Path to directory for save states.
filesys.path_state mcs

;Enable untrusted file-inclusion path security check.
filesys.untrusted_fip_check 1

;Enable (automatic) usage of this module.
gb.enable 1

;Force monophonic sound output.
gb.forcemono 0

;gb, Built-In, Gamepad: A
gb.input.builtin.gamepad.a keyboard 259

;gb, Built-In, Gamepad: B
gb.input.builtin.gamepad.b keyboard 258

;gb, Built-In, Gamepad: DOWN ↓
gb.input.builtin.gamepad.down keyboard 115

;gb, Built-In, Gamepad: LEFT ←
gb.input.builtin.gamepad.left keyboard 97

;gb, Built-In, Gamepad: Rapid A
gb.input.builtin.gamepad.rapid_a 

;gb, Built-In, Gamepad: Rapid B
gb.input.builtin.gamepad.rapid_b 

;gb, Built-In, Gamepad: RIGHT →
gb.input.builtin.gamepad.right keyboard 100

;gb, Built-In, Gamepad: SELECT
gb.input.builtin.gamepad.select keyboard 9

;gb, Built-In, Gamepad: START
gb.input.builtin.gamepad.start keyboard 13

;gb, Built-In, Gamepad: UP ↑
gb.input.builtin.gamepad.up keyboard 119

;Enable specified OpenGL pixel shader.
gb.pixshader none

;Enable scanlines with specified opacity.
gb.scanlines 0

;Enable specified special video scaler.
gb.special none

;Stretch to fill screen.
gb.stretch aspect_mult2

;Emulated GB type.
gb.system_type auto

;Enable video temporal blur(50/50 previous/current frame by default).
gb.tblur 0

;Accumulate color data rather than discarding it.
gb.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
gb.tblur.accum.amount 50

;Enable (bi)linear interpolation.
gb.videoip 0

;Full-screen horizontal resolution.
gb.xres 0

;Scaling factor for the X axis in windowed mode.
gb.xscale 4.000000

;Scaling factor for the X axis in fullscreen mode.
gb.xscalefs 1.000000

;Full-screen vertical resolution.
gb.yres 0

;Scaling factor for the Y axis in windowed mode.
gb.yscale 4.000000

;Scaling factor for the Y axis in fullscreen mode.
gb.yscalefs 1.000000

;Path to optional GBA BIOS ROM image.
gba.bios 

;Enable (automatic) usage of this module.
gba.enable 1

;Force monophonic sound output.
gba.forcemono 0

;gba, Built-In, Gamepad: A
gba.input.builtin.gamepad.a keyboard 259

;gba, Built-In, Gamepad: B
gba.input.builtin.gamepad.b keyboard 258

;gba, Built-In, Gamepad: DOWN ↓
gba.input.builtin.gamepad.down keyboard 115

;gba, Built-In, Gamepad: LEFT ←
gba.input.builtin.gamepad.left keyboard 97

;gba, Built-In, Gamepad: Rapid A
gba.input.builtin.gamepad.rapid_a 

;gba, Built-In, Gamepad: Rapid B
gba.input.builtin.gamepad.rapid_b 

;gba, Built-In, Gamepad: RIGHT →
gba.input.builtin.gamepad.right keyboard 100

;gba, Built-In, Gamepad: SELECT
gba.input.builtin.gamepad.select keyboard 9

;gba, Built-In, Gamepad: SHOULDER L
gba.input.builtin.gamepad.shoulder_l keyboard 261

;gba, Built-In, Gamepad: SHOULDER R
gba.input.builtin.gamepad.shoulder_r keyboard 262

;gba, Built-In, Gamepad: START
gba.input.builtin.gamepad.start keyboard 13

;gba, Built-In, Gamepad: UP ↑
gba.input.builtin.gamepad.up keyboard 119

;Enable specified OpenGL pixel shader.
gba.pixshader none

;Enable scanlines with specified opacity.
gba.scanlines 0

;Enable specified special video scaler.
gba.special none

;Stretch to fill screen.
gba.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
gba.tblur 0

;Accumulate color data rather than discarding it.
gba.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
gba.tblur.accum.amount 50

;Enable (bi)linear interpolation.
gba.videoip 0

;Full-screen horizontal resolution.
gba.xres 0

;Scaling factor for the X axis in windowed mode.
gba.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
gba.xscalefs 1.000000

;Full-screen vertical resolution.
gba.yres 0

;Scaling factor for the Y axis in windowed mode.
gba.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
gba.yscalefs 1.000000

;Enable (automatic) usage of this module.
gg.enable 1

;Force monophonic sound output.
gg.forcemono 0

;gg, Built-In, Gamepad: Button 1
gg.input.builtin.gamepad.button1 keyboard 258

;gg, Built-In, Gamepad: Button 2
gg.input.builtin.gamepad.button2 keyboard 259

;gg, Built-In, Gamepad: DOWN ↓
gg.input.builtin.gamepad.down keyboard 115

;gg, Built-In, Gamepad: LEFT ←
gg.input.builtin.gamepad.left keyboard 97

;gg, Built-In, Gamepad: Rapid Button 1
gg.input.builtin.gamepad.rapid_button1 

;gg, Built-In, Gamepad: Rapid Button 2
gg.input.builtin.gamepad.rapid_button2 

;gg, Built-In, Gamepad: RIGHT →
gg.input.builtin.gamepad.right keyboard 100

;gg, Built-In, Gamepad: Start
gg.input.builtin.gamepad.start keyboard 13

;gg, Built-In, Gamepad: UP ↑
gg.input.builtin.gamepad.up keyboard 119

;Enable specified OpenGL pixel shader.
gg.pixshader none

;Enable scanlines with specified opacity.
gg.scanlines 0

;Enable specified special video scaler.
gg.special none

;Stretch to fill screen.
gg.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
gg.tblur 0

;Accumulate color data rather than discarding it.
gg.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
gg.tblur.accum.amount 50

;Enable (bi)linear interpolation.
gg.videoip 0

;Full-screen horizontal resolution.
gg.xres 0

;Scaling factor for the X axis in windowed mode.
gg.xscale 4.000000

;Scaling factor for the X axis in fullscreen mode.
gg.xscalefs 1.000000

;Full-screen vertical resolution.
gg.yres 0

;Scaling factor for the Y axis in windowed mode.
gg.yscale 4.000000

;Scaling factor for the Y axis in fullscreen mode.
gg.yscalefs 1.000000

;Auto-fire frequency.
input.autofirefreq 3

;Dangerous key action delay.
input.ckdelay 0

;Analog axis binary press detection threshold.
input.joystick.axis_threshold 75

;Update physical joystick(s) internal state in Mednafen even when Mednafen lacks OS focus.
input.joystick.global_focus 1

;Enable (automatic) usage of this module.
lynx.enable 1

;Force monophonic sound output.
lynx.forcemono 0

;lynx, Built-In, Gamepad: A (outer)
lynx.input.builtin.gamepad.a keyboard 259

;lynx, Built-In, Gamepad: B (inner)
lynx.input.builtin.gamepad.b keyboard 258

;lynx, Built-In, Gamepad: DOWN ↓
lynx.input.builtin.gamepad.down keyboard 115

;lynx, Built-In, Gamepad: LEFT ←
lynx.input.builtin.gamepad.left keyboard 97

;lynx, Built-In, Gamepad: Option 1 (upper)
lynx.input.builtin.gamepad.option_1 keyboard 263

;lynx, Built-In, Gamepad: Option 2 (lower)
lynx.input.builtin.gamepad.option_2 keyboard 257

;lynx, Built-In, Gamepad: PAUSE
lynx.input.builtin.gamepad.pause keyboard 13

;lynx, Built-In, Gamepad: Rapid A (outer)
lynx.input.builtin.gamepad.rapid_a 

;lynx, Built-In, Gamepad: Rapid B (inner)
lynx.input.builtin.gamepad.rapid_b 

;lynx, Built-In, Gamepad: Rapid Option 1 (upper)
lynx.input.builtin.gamepad.rapid_option_1 

;lynx, Built-In, Gamepad: Rapid Option 2 (lower)
lynx.input.builtin.gamepad.rapid_option_2 

;lynx, Built-In, Gamepad: RIGHT →
lynx.input.builtin.gamepad.right keyboard 100

;lynx, Built-In, Gamepad: UP ↑
lynx.input.builtin.gamepad.up keyboard 119

;Enable sound output lowpass filter.
lynx.lowpass 1

;Enable specified OpenGL pixel shader.
lynx.pixshader none

;Virtually rotate D-pad along with screen.
lynx.rotateinput 1

;Enable scanlines with specified opacity.
lynx.scanlines 0

;Enable specified special video scaler.
lynx.special none

;Stretch to fill screen.
lynx.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
lynx.tblur 0

;Accumulate color data rather than discarding it.
lynx.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
lynx.tblur.accum.amount 50

;Enable (bi)linear interpolation.
lynx.videoip 0

;Full-screen horizontal resolution.
lynx.xres 0

;Scaling factor for the X axis in windowed mode.
lynx.xscale 4.000000

;Scaling factor for the X axis in fullscreen mode.
lynx.xscalefs 1.000000

;Full-screen vertical resolution.
lynx.yres 0

;Scaling factor for the Y axis in windowed mode.
lynx.yscale 4.000000

;Scaling factor for the Y axis in fullscreen mode.
lynx.yscalefs 1.000000

;Path to the CD BIOS
md.cdbios us_scd1_9210.bin

;Correct the aspect ratio.
md.correct_aspect 1

;Disassembly font size.
md.debugger.disfontsize medium

;Character encoding for the debugger's memory editor.
md.debugger.memcharenc shift_jis

;Enable (automatic) usage of this module.
md.enable 1

;Force monophonic sound output.
md.forcemono 0

;Input device for Port 1
md.input.port1 gamepad

;md, Port 1, 3-Button Gamepad: A
md.input.port1.gamepad.a keyboard 257

;md, Port 1, 3-Button Gamepad: B
md.input.port1.gamepad.b keyboard 258

;md, Port 1, 3-Button Gamepad: C
md.input.port1.gamepad.c keyboard 259

;md, Port 1, 3-Button Gamepad: DOWN ↓
md.input.port1.gamepad.down keyboard 115

;md, Port 1, 3-Button Gamepad: LEFT ←
md.input.port1.gamepad.left keyboard 97

;md, Port 1, 3-Button Gamepad: Rapid A
md.input.port1.gamepad.rapid_a 

;md, Port 1, 3-Button Gamepad: Rapid B
md.input.port1.gamepad.rapid_b 

;md, Port 1, 3-Button Gamepad: Rapid C
md.input.port1.gamepad.rapid_c 

;md, Port 1, 3-Button Gamepad: RIGHT →
md.input.port1.gamepad.right keyboard 100

;md, Port 1, 3-Button Gamepad: Start
md.input.port1.gamepad.start keyboard 13

;md, Port 1, 3-Button Gamepad: UP ↑
md.input.port1.gamepad.up keyboard 119

;md, Port 1, 2-Button Gamepad: A
md.input.port1.gamepad2.a 

;md, Port 1, 2-Button Gamepad: B
md.input.port1.gamepad2.b 

;md, Port 1, 2-Button Gamepad: DOWN ↓
md.input.port1.gamepad2.down 

;md, Port 1, 2-Button Gamepad: LEFT ←
md.input.port1.gamepad2.left 

;md, Port 1, 2-Button Gamepad: Rapid A
md.input.port1.gamepad2.rapid_a 

;md, Port 1, 2-Button Gamepad: Rapid B
md.input.port1.gamepad2.rapid_b 

;md, Port 1, 2-Button Gamepad: RIGHT →
md.input.port1.gamepad2.right 

;md, Port 1, 2-Button Gamepad: Start
md.input.port1.gamepad2.start 

;md, Port 1, 2-Button Gamepad: UP ↑
md.input.port1.gamepad2.up 

;md, Port 1, 6-Button Gamepad: A
md.input.port1.gamepad6.a 

;md, Port 1, 6-Button Gamepad: B
md.input.port1.gamepad6.b 

;md, Port 1, 6-Button Gamepad: C
md.input.port1.gamepad6.c 

;md, Port 1, 6-Button Gamepad: DOWN ↓
md.input.port1.gamepad6.down 

;md, Port 1, 6-Button Gamepad: LEFT ←
md.input.port1.gamepad6.left 

;md, Port 1, 6-Button Gamepad: Mode
md.input.port1.gamepad6.mode 

;md, Port 1, 6-Button Gamepad: Rapid A
md.input.port1.gamepad6.rapid_a 

;md, Port 1, 6-Button Gamepad: Rapid B
md.input.port1.gamepad6.rapid_b 

;md, Port 1, 6-Button Gamepad: Rapid C
md.input.port1.gamepad6.rapid_c 

;md, Port 1, 6-Button Gamepad: Rapid X
md.input.port1.gamepad6.rapid_x 

;md, Port 1, 6-Button Gamepad: Rapid Y
md.input.port1.gamepad6.rapid_y 

;md, Port 1, 6-Button Gamepad: Rapid Z
md.input.port1.gamepad6.rapid_z 

;md, Port 1, 6-Button Gamepad: RIGHT →
md.input.port1.gamepad6.right 

;md, Port 1, 6-Button Gamepad: Start
md.input.port1.gamepad6.start 

;md, Port 1, 6-Button Gamepad: UP ↑
md.input.port1.gamepad6.up 

;md, Port 1, 6-Button Gamepad: X
md.input.port1.gamepad6.x 

;md, Port 1, 6-Button Gamepad: Y
md.input.port1.gamepad6.y 

;md, Port 1, 6-Button Gamepad: Z
md.input.port1.gamepad6.z 

;md, Port 1, Sega Mega Mouse: Left Button
md.input.port1.megamouse.left 

;md, Port 1, Sega Mega Mouse: Middle Button
md.input.port1.megamouse.middle 

;md, Port 1, Sega Mega Mouse: Right Button
md.input.port1.megamouse.right 

;md, Port 1, Sega Mega Mouse: Start Button
md.input.port1.megamouse.start 

;Input device for Port 2
md.input.port2 gamepad

;md, Port 2, 3-Button Gamepad: A
md.input.port2.gamepad.a 

;md, Port 2, 3-Button Gamepad: B
md.input.port2.gamepad.b 

;md, Port 2, 3-Button Gamepad: C
md.input.port2.gamepad.c 

;md, Port 2, 3-Button Gamepad: DOWN ↓
md.input.port2.gamepad.down 

;md, Port 2, 3-Button Gamepad: LEFT ←
md.input.port2.gamepad.left 

;md, Port 2, 3-Button Gamepad: Rapid A
md.input.port2.gamepad.rapid_a 

;md, Port 2, 3-Button Gamepad: Rapid B
md.input.port2.gamepad.rapid_b 

;md, Port 2, 3-Button Gamepad: Rapid C
md.input.port2.gamepad.rapid_c 

;md, Port 2, 3-Button Gamepad: RIGHT →
md.input.port2.gamepad.right 

;md, Port 2, 3-Button Gamepad: Start
md.input.port2.gamepad.start 

;md, Port 2, 3-Button Gamepad: UP ↑
md.input.port2.gamepad.up 

;md, Port 2, 2-Button Gamepad: A
md.input.port2.gamepad2.a 

;md, Port 2, 2-Button Gamepad: B
md.input.port2.gamepad2.b 

;md, Port 2, 2-Button Gamepad: DOWN ↓
md.input.port2.gamepad2.down 

;md, Port 2, 2-Button Gamepad: LEFT ←
md.input.port2.gamepad2.left 

;md, Port 2, 2-Button Gamepad: Rapid A
md.input.port2.gamepad2.rapid_a 

;md, Port 2, 2-Button Gamepad: Rapid B
md.input.port2.gamepad2.rapid_b 

;md, Port 2, 2-Button Gamepad: RIGHT →
md.input.port2.gamepad2.right 

;md, Port 2, 2-Button Gamepad: Start
md.input.port2.gamepad2.start 

;md, Port 2, 2-Button Gamepad: UP ↑
md.input.port2.gamepad2.up 

;md, Port 2, 6-Button Gamepad: A
md.input.port2.gamepad6.a 

;md, Port 2, 6-Button Gamepad: B
md.input.port2.gamepad6.b 

;md, Port 2, 6-Button Gamepad: C
md.input.port2.gamepad6.c 

;md, Port 2, 6-Button Gamepad: DOWN ↓
md.input.port2.gamepad6.down 

;md, Port 2, 6-Button Gamepad: LEFT ←
md.input.port2.gamepad6.left 

;md, Port 2, 6-Button Gamepad: Mode
md.input.port2.gamepad6.mode 

;md, Port 2, 6-Button Gamepad: Rapid A
md.input.port2.gamepad6.rapid_a 

;md, Port 2, 6-Button Gamepad: Rapid B
md.input.port2.gamepad6.rapid_b 

;md, Port 2, 6-Button Gamepad: Rapid C
md.input.port2.gamepad6.rapid_c 

;md, Port 2, 6-Button Gamepad: Rapid X
md.input.port2.gamepad6.rapid_x 

;md, Port 2, 6-Button Gamepad: Rapid Y
md.input.port2.gamepad6.rapid_y 

;md, Port 2, 6-Button Gamepad: Rapid Z
md.input.port2.gamepad6.rapid_z 

;md, Port 2, 6-Button Gamepad: RIGHT →
md.input.port2.gamepad6.right 

;md, Port 2, 6-Button Gamepad: Start
md.input.port2.gamepad6.start 

;md, Port 2, 6-Button Gamepad: UP ↑
md.input.port2.gamepad6.up 

;md, Port 2, 6-Button Gamepad: X
md.input.port2.gamepad6.x 

;md, Port 2, 6-Button Gamepad: Y
md.input.port2.gamepad6.y 

;md, Port 2, 6-Button Gamepad: Z
md.input.port2.gamepad6.z 

;md, Port 2, Sega Mega Mouse: Left Button
md.input.port2.megamouse.left 

;md, Port 2, Sega Mega Mouse: Middle Button
md.input.port2.megamouse.middle 

;md, Port 2, Sega Mega Mouse: Right Button
md.input.port2.megamouse.right 

;md, Port 2, Sega Mega Mouse: Start Button
md.input.port2.megamouse.start 

;Enable specified OpenGL pixel shader.
md.pixshader none

;Emulate the specified region's Genesis/MegaDrive
md.region game

;Region reported to the game.
md.reported_region same

;Enable scanlines with specified opacity.
md.scanlines 0

;Enable specified special video scaler.
md.special none

;Stretch to fill screen.
md.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
md.tblur 0

;Accumulate color data rather than discarding it.
md.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
md.tblur.accum.amount 50

;Enable (bi)linear interpolation.
md.videoip 1

;Full-screen horizontal resolution.
md.xres 0

;Scaling factor for the X axis in windowed mode.
md.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
md.xscalefs 1.000000

;Full-screen vertical resolution.
md.yres 0

;Scaling factor for the Y axis in windowed mode.
md.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
md.yscalefs 1.000000

;Clip left+right 8 pixel columns.
nes.clipsides 0

;Correct the aspect ratio.
nes.correct_aspect 0

;Disassembly font size.
nes.debugger.disfontsize medium

;Character encoding for the debugger's memory editor.
nes.debugger.memcharenc cp437

;Enable (automatic) usage of this module.
nes.enable 1

;Scan filename for (U),(J),(E),etc. strings to en/dis-able PAL emulation.
nes.fnscan 1

;Enable Game Genie emulation.
nes.gg 0

;Path to Game Genie ROM image.
nes.ggrom gg.rom

;Input device for Famicom Expansion Port
nes.input.fcexp none

;nes, Famicom Expansion Port, Arkanoid Paddle: Button
nes.input.fcexp.arkanoid.button mouse 0

;nes, Famicom Expansion Port, Family Keyboard: 0
nes.input.fcexp.fkb.0 keyboard 48

;nes, Famicom Expansion Port, Family Keyboard: 1
nes.input.fcexp.fkb.1 keyboard 49

;nes, Famicom Expansion Port, Family Keyboard: 2
nes.input.fcexp.fkb.2 keyboard 50

;nes, Famicom Expansion Port, Family Keyboard: 3
nes.input.fcexp.fkb.3 keyboard 51

;nes, Famicom Expansion Port, Family Keyboard: 4
nes.input.fcexp.fkb.4 keyboard 52

;nes, Famicom Expansion Port, Family Keyboard: 5
nes.input.fcexp.fkb.5 keyboard 53

;nes, Famicom Expansion Port, Family Keyboard: 6
nes.input.fcexp.fkb.6 keyboard 54

;nes, Famicom Expansion Port, Family Keyboard: 7
nes.input.fcexp.fkb.7 keyboard 55

;nes, Famicom Expansion Port, Family Keyboard: 8
nes.input.fcexp.fkb.8 keyboard 56

;nes, Famicom Expansion Port, Family Keyboard: 9
nes.input.fcexp.fkb.9 keyboard 57

;nes, Famicom Expansion Port, Family Keyboard: A
nes.input.fcexp.fkb.a keyboard 97

;nes, Famicom Expansion Port, Family Keyboard: @
nes.input.fcexp.fkb.at keyboard 96

;nes, Famicom Expansion Port, Family Keyboard: B
nes.input.fcexp.fkb.b keyboard 98

;nes, Famicom Expansion Port, Family Keyboard: \
nes.input.fcexp.fkb.backslash keyboard 92

;nes, Famicom Expansion Port, Family Keyboard: C
nes.input.fcexp.fkb.c keyboard 99

;nes, Famicom Expansion Port, Family Keyboard: ^
nes.input.fcexp.fkb.caret keyboard 61

;nes, Famicom Expansion Port, Family Keyboard: CLR
nes.input.fcexp.fkb.clear keyboard 127

;nes, Famicom Expansion Port, Family Keyboard: :
nes.input.fcexp.fkb.colon keyboard 39

;nes, Famicom Expansion Port, Family Keyboard: ,
nes.input.fcexp.fkb.comma keyboard 44

;nes, Famicom Expansion Port, Family Keyboard: CTR
nes.input.fcexp.fkb.ctrl keyboard 306

;nes, Famicom Expansion Port, Family Keyboard: D
nes.input.fcexp.fkb.d keyboard 100

;nes, Famicom Expansion Port, Family Keyboard: DEL
nes.input.fcexp.fkb.delete keyboard 281

;nes, Famicom Expansion Port, Family Keyboard: DOWN
nes.input.fcexp.fkb.down keyboard 274

;nes, Famicom Expansion Port, Family Keyboard: E
nes.input.fcexp.fkb.e keyboard 101

;nes, Famicom Expansion Port, Family Keyboard: Empty
nes.input.fcexp.fkb.empty keyboard 307

;nes, Famicom Expansion Port, Family Keyboard: ESC
nes.input.fcexp.fkb.escape keyboard 27

;nes, Famicom Expansion Port, Family Keyboard: F
nes.input.fcexp.fkb.f keyboard 102

;nes, Famicom Expansion Port, Family Keyboard: F1
nes.input.fcexp.fkb.f1 keyboard 282

;nes, Famicom Expansion Port, Family Keyboard: F2
nes.input.fcexp.fkb.f2 keyboard 283

;nes, Famicom Expansion Port, Family Keyboard: F3
nes.input.fcexp.fkb.f3 keyboard 284

;nes, Famicom Expansion Port, Family Keyboard: F4
nes.input.fcexp.fkb.f4 keyboard 285

;nes, Famicom Expansion Port, Family Keyboard: F5
nes.input.fcexp.fkb.f5 keyboard 286

;nes, Famicom Expansion Port, Family Keyboard: F6
nes.input.fcexp.fkb.f6 keyboard 287

;nes, Famicom Expansion Port, Family Keyboard: F7
nes.input.fcexp.fkb.f7 keyboard 288

;nes, Famicom Expansion Port, Family Keyboard: F8
nes.input.fcexp.fkb.f8 keyboard 289

;nes, Famicom Expansion Port, Family Keyboard: G
nes.input.fcexp.fkb.g keyboard 103

;nes, Famicom Expansion Port, Family Keyboard: GRPH
nes.input.fcexp.fkb.graph keyboard 308

;nes, Famicom Expansion Port, Family Keyboard: H
nes.input.fcexp.fkb.h keyboard 104

;nes, Famicom Expansion Port, Family Keyboard: I
nes.input.fcexp.fkb.i keyboard 105

;nes, Famicom Expansion Port, Family Keyboard: INS
nes.input.fcexp.fkb.insert keyboard 279

;nes, Famicom Expansion Port, Family Keyboard: J
nes.input.fcexp.fkb.j keyboard 106

;nes, Famicom Expansion Port, Family Keyboard: K
nes.input.fcexp.fkb.k keyboard 107

;nes, Famicom Expansion Port, Family Keyboard: カナ
nes.input.fcexp.fkb.kana keyboard 277

;nes, Famicom Expansion Port, Family Keyboard: L
nes.input.fcexp.fkb.l keyboard 108

;nes, Famicom Expansion Port, Family Keyboard: LEFT
nes.input.fcexp.fkb.left keyboard 276

;nes, Famicom Expansion Port, Family Keyboard: [
nes.input.fcexp.fkb.left_bracket keyboard 91

;nes, Famicom Expansion Port, Family Keyboard: Left SHIFT
nes.input.fcexp.fkb.left_shift keyboard 304

;nes, Famicom Expansion Port, Family Keyboard: M
nes.input.fcexp.fkb.m keyboard 109

;nes, Famicom Expansion Port, Family Keyboard: -
nes.input.fcexp.fkb.minus keyboard 45

;nes, Famicom Expansion Port, Family Keyboard: N
nes.input.fcexp.fkb.n keyboard 110

;nes, Famicom Expansion Port, Family Keyboard: O
nes.input.fcexp.fkb.o keyboard 111

;nes, Famicom Expansion Port, Family Keyboard: P
nes.input.fcexp.fkb.p keyboard 112

;nes, Famicom Expansion Port, Family Keyboard: .
nes.input.fcexp.fkb.period keyboard 46

;nes, Famicom Expansion Port, Family Keyboard: Q
nes.input.fcexp.fkb.q keyboard 113

;nes, Famicom Expansion Port, Family Keyboard: R
nes.input.fcexp.fkb.r keyboard 114

;nes, Famicom Expansion Port, Family Keyboard: RETURN
nes.input.fcexp.fkb.return keyboard 13

;nes, Famicom Expansion Port, Family Keyboard: RIGHT
nes.input.fcexp.fkb.right keyboard 275

;nes, Famicom Expansion Port, Family Keyboard: ]
nes.input.fcexp.fkb.right_bracket keyboard 93

;nes, Famicom Expansion Port, Family Keyboard: Right SHIFT
nes.input.fcexp.fkb.right_shift keyboard 303

;nes, Famicom Expansion Port, Family Keyboard: S
nes.input.fcexp.fkb.s keyboard 115

;nes, Famicom Expansion Port, Family Keyboard: ;
nes.input.fcexp.fkb.semicolon keyboard 59

;nes, Famicom Expansion Port, Family Keyboard: /
nes.input.fcexp.fkb.slash keyboard 47

;nes, Famicom Expansion Port, Family Keyboard: SPACE
nes.input.fcexp.fkb.space keyboard 32

;nes, Famicom Expansion Port, Family Keyboard: STOP
nes.input.fcexp.fkb.stop keyboard 8

;nes, Famicom Expansion Port, Family Keyboard: T
nes.input.fcexp.fkb.t keyboard 116

;nes, Famicom Expansion Port, Family Keyboard: U
nes.input.fcexp.fkb.u keyboard 117

;nes, Famicom Expansion Port, Family Keyboard: UP
nes.input.fcexp.fkb.up keyboard 273

;nes, Famicom Expansion Port, Family Keyboard: V
nes.input.fcexp.fkb.v keyboard 118

;nes, Famicom Expansion Port, Family Keyboard: W
nes.input.fcexp.fkb.w keyboard 119

;nes, Famicom Expansion Port, Family Keyboard: X
nes.input.fcexp.fkb.x keyboard 120

;nes, Famicom Expansion Port, Family Keyboard: Y
nes.input.fcexp.fkb.y keyboard 121

;nes, Famicom Expansion Port, Family Keyboard: Z
nes.input.fcexp.fkb.z keyboard 122

;nes, Famicom Expansion Port, Family Trainer Side A: 1
nes.input.fcexp.ftrainera.1 keyboard 111

;nes, Famicom Expansion Port, Family Trainer Side A: 10
nes.input.fcexp.ftrainera.10 keyboard 44

;nes, Famicom Expansion Port, Family Trainer Side A: 11
nes.input.fcexp.ftrainera.11 keyboard 46

;nes, Famicom Expansion Port, Family Trainer Side A: 12
nes.input.fcexp.ftrainera.12 keyboard 47

;nes, Famicom Expansion Port, Family Trainer Side A: 2
nes.input.fcexp.ftrainera.2 keyboard 112

;nes, Famicom Expansion Port, Family Trainer Side A: 3
nes.input.fcexp.ftrainera.3 keyboard 91

;nes, Famicom Expansion Port, Family Trainer Side A: 4
nes.input.fcexp.ftrainera.4 keyboard 93

;nes, Famicom Expansion Port, Family Trainer Side A: 5
nes.input.fcexp.ftrainera.5 keyboard 107

;nes, Famicom Expansion Port, Family Trainer Side A: 6
nes.input.fcexp.ftrainera.6 keyboard 108

;nes, Famicom Expansion Port, Family Trainer Side A: 7
nes.input.fcexp.ftrainera.7 keyboard 59

;nes, Famicom Expansion Port, Family Trainer Side A: 8
nes.input.fcexp.ftrainera.8 keyboard 39

;nes, Famicom Expansion Port, Family Trainer Side A: 9
nes.input.fcexp.ftrainera.9 keyboard 109

;nes, Famicom Expansion Port, Family Trainer Side B: 1
nes.input.fcexp.ftrainerb.1 keyboard 111

;nes, Famicom Expansion Port, Family Trainer Side B: 10
nes.input.fcexp.ftrainerb.10 keyboard 44

;nes, Famicom Expansion Port, Family Trainer Side B: 11
nes.input.fcexp.ftrainerb.11 keyboard 46

;nes, Famicom Expansion Port, Family Trainer Side B: 12
nes.input.fcexp.ftrainerb.12 keyboard 47

;nes, Famicom Expansion Port, Family Trainer Side B: 2
nes.input.fcexp.ftrainerb.2 keyboard 112

;nes, Famicom Expansion Port, Family Trainer Side B: 3
nes.input.fcexp.ftrainerb.3 keyboard 91

;nes, Famicom Expansion Port, Family Trainer Side B: 4
nes.input.fcexp.ftrainerb.4 keyboard 93

;nes, Famicom Expansion Port, Family Trainer Side B: 5
nes.input.fcexp.ftrainerb.5 keyboard 107

;nes, Famicom Expansion Port, Family Trainer Side B: 6
nes.input.fcexp.ftrainerb.6 keyboard 108

;nes, Famicom Expansion Port, Family Trainer Side B: 7
nes.input.fcexp.ftrainerb.7 keyboard 59

;nes, Famicom Expansion Port, Family Trainer Side B: 8
nes.input.fcexp.ftrainerb.8 keyboard 39

;nes, Famicom Expansion Port, Family Trainer Side B: 9
nes.input.fcexp.ftrainerb.9 keyboard 109

;nes, Famicom Expansion Port, Hypershot Paddles: I, JUMP
nes.input.fcexp.hypershot.i_jump keyboard 119

;nes, Famicom Expansion Port, Hypershot Paddles: I, RUN
nes.input.fcexp.hypershot.i_run keyboard 113

;nes, Famicom Expansion Port, Hypershot Paddles: II, JUMP
nes.input.fcexp.hypershot.ii_jump keyboard 114

;nes, Famicom Expansion Port, Hypershot Paddles: II, RUN
nes.input.fcexp.hypershot.ii_run keyboard 101

;nes, Famicom Expansion Port, Hypershot Paddles: Rapid I, JUMP
nes.input.fcexp.hypershot.rapid_i_jump 

;nes, Famicom Expansion Port, Hypershot Paddles: Rapid I, RUN
nes.input.fcexp.hypershot.rapid_i_run 

;nes, Famicom Expansion Port, Hypershot Paddles: Rapid II, JUMP
nes.input.fcexp.hypershot.rapid_ii_jump 

;nes, Famicom Expansion Port, Hypershot Paddles: Rapid II, RUN
nes.input.fcexp.hypershot.rapid_ii_run 

;nes, Famicom Expansion Port, Mahjong Controller: 1
nes.input.fcexp.mahjong.1 keyboard 113

;nes, Famicom Expansion Port, Mahjong Controller: 10
nes.input.fcexp.mahjong.10 keyboard 103

;nes, Famicom Expansion Port, Mahjong Controller: 11
nes.input.fcexp.mahjong.11 keyboard 104

;nes, Famicom Expansion Port, Mahjong Controller: 12
nes.input.fcexp.mahjong.12 keyboard 106

;nes, Famicom Expansion Port, Mahjong Controller: 13
nes.input.fcexp.mahjong.13 keyboard 107

;nes, Famicom Expansion Port, Mahjong Controller: 14
nes.input.fcexp.mahjong.14 keyboard 108

;nes, Famicom Expansion Port, Mahjong Controller: 15
nes.input.fcexp.mahjong.15 keyboard 122

;nes, Famicom Expansion Port, Mahjong Controller: 16
nes.input.fcexp.mahjong.16 keyboard 120

;nes, Famicom Expansion Port, Mahjong Controller: 17
nes.input.fcexp.mahjong.17 keyboard 99

;nes, Famicom Expansion Port, Mahjong Controller: 18
nes.input.fcexp.mahjong.18 keyboard 118

;nes, Famicom Expansion Port, Mahjong Controller: 19
nes.input.fcexp.mahjong.19 keyboard 98

;nes, Famicom Expansion Port, Mahjong Controller: 2
nes.input.fcexp.mahjong.2 keyboard 119

;nes, Famicom Expansion Port, Mahjong Controller: 20
nes.input.fcexp.mahjong.20 keyboard 110

;nes, Famicom Expansion Port, Mahjong Controller: 21
nes.input.fcexp.mahjong.21 keyboard 109

;nes, Famicom Expansion Port, Mahjong Controller: 3
nes.input.fcexp.mahjong.3 keyboard 101

;nes, Famicom Expansion Port, Mahjong Controller: 4
nes.input.fcexp.mahjong.4 keyboard 114

;nes, Famicom Expansion Port, Mahjong Controller: 5
nes.input.fcexp.mahjong.5 keyboard 116

;nes, Famicom Expansion Port, Mahjong Controller: 6
nes.input.fcexp.mahjong.6 keyboard 97

;nes, Famicom Expansion Port, Mahjong Controller: 7
nes.input.fcexp.mahjong.7 keyboard 115

;nes, Famicom Expansion Port, Mahjong Controller: 8
nes.input.fcexp.mahjong.8 keyboard 100

;nes, Famicom Expansion Port, Mahjong Controller: 9
nes.input.fcexp.mahjong.9 keyboard 102

;nes, Famicom Expansion Port, Oeka Kids Tablet: Button
nes.input.fcexp.oekakids.button mouse 0

;nes, Famicom Expansion Port, Party Tap: Buzzer 1
nes.input.fcexp.partytap.buzzer_1 keyboard 113

;nes, Famicom Expansion Port, Party Tap: Buzzer 2
nes.input.fcexp.partytap.buzzer_2 keyboard 119

;nes, Famicom Expansion Port, Party Tap: Buzzer 3
nes.input.fcexp.partytap.buzzer_3 keyboard 101

;nes, Famicom Expansion Port, Party Tap: Buzzer 4
nes.input.fcexp.partytap.buzzer_4 keyboard 114

;nes, Famicom Expansion Port, Party Tap: Buzzer 5
nes.input.fcexp.partytap.buzzer_5 keyboard 116

;nes, Famicom Expansion Port, Party Tap: Buzzer 6
nes.input.fcexp.partytap.buzzer_6 keyboard 121

;nes, Famicom Expansion Port, Space Shadow Gun: Away Trigger
nes.input.fcexp.shadow.away_trigger 

;nes, Famicom Expansion Port, Space Shadow Gun: Trigger
nes.input.fcexp.shadow.trigger 

;Input device for Port 1
nes.input.port1 gamepad

;nes, Port 1, Arkanoid Paddle: Button
nes.input.port1.arkanoid.button mouse 0

;nes, Port 1, Gamepad: A
nes.input.port1.gamepad.a keyboard 259

;nes, Port 1, Gamepad: B
nes.input.port1.gamepad.b keyboard 258

;nes, Port 1, Gamepad: DOWN ↓
nes.input.port1.gamepad.down keyboard 115

;nes, Port 1, Gamepad: LEFT ←
nes.input.port1.gamepad.left keyboard 97

;nes, Port 1, Gamepad: Rapid A
nes.input.port1.gamepad.rapid_a 

;nes, Port 1, Gamepad: Rapid B
nes.input.port1.gamepad.rapid_b 

;nes, Port 1, Gamepad: RIGHT →
nes.input.port1.gamepad.right keyboard 100

;nes, Port 1, Gamepad: SELECT
nes.input.port1.gamepad.select keyboard 9

;nes, Port 1, Gamepad: START
nes.input.port1.gamepad.start keyboard 13

;nes, Port 1, Gamepad: UP ↑
nes.input.port1.gamepad.up keyboard 119

;nes, Port 1, Power Pad Side A: 1
nes.input.port1.powerpada.1 keyboard 111

;nes, Port 1, Power Pad Side A: 10
nes.input.port1.powerpada.10 keyboard 44

;nes, Port 1, Power Pad Side A: 11
nes.input.port1.powerpada.11 keyboard 46

;nes, Port 1, Power Pad Side A: 12
nes.input.port1.powerpada.12 keyboard 47

;nes, Port 1, Power Pad Side A: 2
nes.input.port1.powerpada.2 keyboard 112

;nes, Port 1, Power Pad Side A: 3
nes.input.port1.powerpada.3 keyboard 91

;nes, Port 1, Power Pad Side A: 4
nes.input.port1.powerpada.4 keyboard 93

;nes, Port 1, Power Pad Side A: 5
nes.input.port1.powerpada.5 keyboard 107

;nes, Port 1, Power Pad Side A: 6
nes.input.port1.powerpada.6 keyboard 108

;nes, Port 1, Power Pad Side A: 7
nes.input.port1.powerpada.7 keyboard 59

;nes, Port 1, Power Pad Side A: 8
nes.input.port1.powerpada.8 keyboard 39

;nes, Port 1, Power Pad Side A: 9
nes.input.port1.powerpada.9 keyboard 109

;nes, Port 1, Power Pad Side B: 1
nes.input.port1.powerpadb.1 

;nes, Port 1, Power Pad Side B: 10
nes.input.port1.powerpadb.10 

;nes, Port 1, Power Pad Side B: 11
nes.input.port1.powerpadb.11 

;nes, Port 1, Power Pad Side B: 12
nes.input.port1.powerpadb.12 

;nes, Port 1, Power Pad Side B: 2
nes.input.port1.powerpadb.2 

;nes, Port 1, Power Pad Side B: 3
nes.input.port1.powerpadb.3 

;nes, Port 1, Power Pad Side B: 4
nes.input.port1.powerpadb.4 

;nes, Port 1, Power Pad Side B: 5
nes.input.port1.powerpadb.5 

;nes, Port 1, Power Pad Side B: 6
nes.input.port1.powerpadb.6 

;nes, Port 1, Power Pad Side B: 7
nes.input.port1.powerpadb.7 

;nes, Port 1, Power Pad Side B: 8
nes.input.port1.powerpadb.8 

;nes, Port 1, Power Pad Side B: 9
nes.input.port1.powerpadb.9 

;nes, Port 1, Zapper: Away Trigger
nes.input.port1.zapper.away_trigger mouse 2

;nes, Port 1, Zapper: Trigger
nes.input.port1.zapper.trigger mouse 0

;Input device for Port 2
nes.input.port2 gamepad

;nes, Port 2, Arkanoid Paddle: Button
nes.input.port2.arkanoid.button mouse 0

;nes, Port 2, Gamepad: A
nes.input.port2.gamepad.a 

;nes, Port 2, Gamepad: B
nes.input.port2.gamepad.b 

;nes, Port 2, Gamepad: DOWN ↓
nes.input.port2.gamepad.down 

;nes, Port 2, Gamepad: LEFT ←
nes.input.port2.gamepad.left 

;nes, Port 2, Gamepad: Rapid A
nes.input.port2.gamepad.rapid_a 

;nes, Port 2, Gamepad: Rapid B
nes.input.port2.gamepad.rapid_b 

;nes, Port 2, Gamepad: RIGHT →
nes.input.port2.gamepad.right 

;nes, Port 2, Gamepad: SELECT
nes.input.port2.gamepad.select 

;nes, Port 2, Gamepad: START
nes.input.port2.gamepad.start 

;nes, Port 2, Gamepad: UP ↑
nes.input.port2.gamepad.up 

;nes, Port 2, Power Pad Side A: 1
nes.input.port2.powerpada.1 keyboard 111

;nes, Port 2, Power Pad Side A: 10
nes.input.port2.powerpada.10 keyboard 44

;nes, Port 2, Power Pad Side A: 11
nes.input.port2.powerpada.11 keyboard 46

;nes, Port 2, Power Pad Side A: 12
nes.input.port2.powerpada.12 keyboard 47

;nes, Port 2, Power Pad Side A: 2
nes.input.port2.powerpada.2 keyboard 112

;nes, Port 2, Power Pad Side A: 3
nes.input.port2.powerpada.3 keyboard 91

;nes, Port 2, Power Pad Side A: 4
nes.input.port2.powerpada.4 keyboard 93

;nes, Port 2, Power Pad Side A: 5
nes.input.port2.powerpada.5 keyboard 107

;nes, Port 2, Power Pad Side A: 6
nes.input.port2.powerpada.6 keyboard 108

;nes, Port 2, Power Pad Side A: 7
nes.input.port2.powerpada.7 keyboard 59

;nes, Port 2, Power Pad Side A: 8
nes.input.port2.powerpada.8 keyboard 39

;nes, Port 2, Power Pad Side A: 9
nes.input.port2.powerpada.9 keyboard 109

;nes, Port 2, Power Pad Side B: 1
nes.input.port2.powerpadb.1 

;nes, Port 2, Power Pad Side B: 10
nes.input.port2.powerpadb.10 

;nes, Port 2, Power Pad Side B: 11
nes.input.port2.powerpadb.11 

;nes, Port 2, Power Pad Side B: 12
nes.input.port2.powerpadb.12 

;nes, Port 2, Power Pad Side B: 2
nes.input.port2.powerpadb.2 

;nes, Port 2, Power Pad Side B: 3
nes.input.port2.powerpadb.3 

;nes, Port 2, Power Pad Side B: 4
nes.input.port2.powerpadb.4 

;nes, Port 2, Power Pad Side B: 5
nes.input.port2.powerpadb.5 

;nes, Port 2, Power Pad Side B: 6
nes.input.port2.powerpadb.6 

;nes, Port 2, Power Pad Side B: 7
nes.input.port2.powerpadb.7 

;nes, Port 2, Power Pad Side B: 8
nes.input.port2.powerpadb.8 

;nes, Port 2, Power Pad Side B: 9
nes.input.port2.powerpadb.9 

;nes, Port 2, Zapper: Away Trigger
nes.input.port2.zapper.away_trigger mouse 2

;nes, Port 2, Zapper: Trigger
nes.input.port2.zapper.trigger mouse 0

;Input device for Port 3
nes.input.port3 gamepad

;nes, Port 3, Gamepad: A
nes.input.port3.gamepad.a 

;nes, Port 3, Gamepad: B
nes.input.port3.gamepad.b 

;nes, Port 3, Gamepad: DOWN ↓
nes.input.port3.gamepad.down 

;nes, Port 3, Gamepad: LEFT ←
nes.input.port3.gamepad.left 

;nes, Port 3, Gamepad: Rapid A
nes.input.port3.gamepad.rapid_a 

;nes, Port 3, Gamepad: Rapid B
nes.input.port3.gamepad.rapid_b 

;nes, Port 3, Gamepad: RIGHT →
nes.input.port3.gamepad.right 

;nes, Port 3, Gamepad: SELECT
nes.input.port3.gamepad.select 

;nes, Port 3, Gamepad: START
nes.input.port3.gamepad.start 

;nes, Port 3, Gamepad: UP ↑
nes.input.port3.gamepad.up 

;Input device for Port 4
nes.input.port4 gamepad

;nes, Port 4, Gamepad: A
nes.input.port4.gamepad.a 

;nes, Port 4, Gamepad: B
nes.input.port4.gamepad.b 

;nes, Port 4, Gamepad: DOWN ↓
nes.input.port4.gamepad.down 

;nes, Port 4, Gamepad: LEFT ←
nes.input.port4.gamepad.left 

;nes, Port 4, Gamepad: Rapid A
nes.input.port4.gamepad.rapid_a 

;nes, Port 4, Gamepad: Rapid B
nes.input.port4.gamepad.rapid_b 

;nes, Port 4, Gamepad: RIGHT →
nes.input.port4.gamepad.right 

;nes, Port 4, Gamepad: SELECT
nes.input.port4.gamepad.select 

;nes, Port 4, Gamepad: START
nes.input.port4.gamepad.start 

;nes, Port 4, Gamepad: UP ↑
nes.input.port4.gamepad.up 

;Enable less-accurate, but better sounding, Namco 106(mapper 19) sound emulation.
nes.n106bs 0

;Remove 8-sprites-per-scanline hardware limit.
nes.no8lim 0

;Disable four-score emulation.
nes.nofs 0

;NTSC composite blitter brightness.
nes.ntsc.brightness 0

;NTSC composite blitter contrast.
nes.ntsc.contrast 0

;NTSC composite blitter hue.
nes.ntsc.hue 0

;Enable NTSC custom decoder matrix.
nes.ntsc.matrix 0

;NTSC custom decoder matrix element 0(red, value * V).
nes.ntsc.matrix.0 1.539

;NTSC custom decoder matrix element 1(red, value * U).
nes.ntsc.matrix.1 -0.622

;NTSC custom decoder matrix element 2(green, value * V).
nes.ntsc.matrix.2 -0.571

;NTSC custom decoder matrix element 3(green, value * U).
nes.ntsc.matrix.3 -0.185

;NTSC custom decoder matrix element 4(blue, value * V).
nes.ntsc.matrix.4 0.000

;NTSC custom decoder matrix element 5(blue, value * U.
nes.ntsc.matrix.5 2.000

;Merge fields to partially work around !=60.1Hz refresh rates.
nes.ntsc.mergefields 0

;Video quality/type preset.
nes.ntsc.preset none

;NTSC composite blitter saturation.
nes.ntsc.saturation 0

;NTSC composite blitter sharpness.
nes.ntsc.sharpness 0

;Enable NTSC color generation and blitter.
nes.ntscblitter 0

;Enable PAL(50Hz) NES emulation.
nes.pal 0

;Enable specified OpenGL pixel shader.
nes.pixshader none

;Enable scanlines with specified opacity.
nes.scanlines 0

;Last displayed scanline in NTSC mode.
nes.slend 231

;Last displayed scanline in PAL mode.
nes.slendp 239

;First displayed scanline in NTSC mode.
nes.slstart 8

;First displayed scanline in PAL mode.
nes.slstartp 0

;Output rate tolerance.
nes.sound_rate_error 0.00004

;Sound quality.
nes.soundq 0

;Enable specified special video scaler.
nes.special none

;Stretch to fill screen.
nes.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
nes.tblur 0

;Accumulate color data rather than discarding it.
nes.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
nes.tblur.accum.amount 50

;Enable (bi)linear interpolation.
nes.videoip 0

;Full-screen horizontal resolution.
nes.xres 0

;Scaling factor for the X axis in windowed mode.
nes.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
nes.xscalefs 1.000000

;Full-screen vertical resolution.
nes.yres 0

;Scaling factor for the Y axis in windowed mode.
nes.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
nes.yscalefs 1.000000

;Key to hash with the MD5 hash of the game.
netplay.gamekey 

;Server hostname.
netplay.host netplay.fobby.net

;Local player count.
netplay.localplayers 1

;Nickname.
netplay.nick 

;Server password.
netplay.password 

;Server port.
netplay.port 4046

;Use small(tiny!) font for netplay chat console.
netplay.smallfont 0

;Enable (automatic) usage of this module.
ngp.enable 1

;Force monophonic sound output.
ngp.forcemono 0

;ngp, Built-In, Gamepad: A
ngp.input.builtin.gamepad.a keyboard 258

;ngp, Built-In, Gamepad: B
ngp.input.builtin.gamepad.b keyboard 259

;ngp, Built-In, Gamepad: DOWN ↓
ngp.input.builtin.gamepad.down keyboard 115

;ngp, Built-In, Gamepad: LEFT ←
ngp.input.builtin.gamepad.left keyboard 97

;ngp, Built-In, Gamepad: OPTION
ngp.input.builtin.gamepad.option keyboard 13

;ngp, Built-In, Gamepad: Rapid A
ngp.input.builtin.gamepad.rapid_a 

;ngp, Built-In, Gamepad: Rapid B
ngp.input.builtin.gamepad.rapid_b 

;ngp, Built-In, Gamepad: RIGHT →
ngp.input.builtin.gamepad.right keyboard 100

;ngp, Built-In, Gamepad: UP ↑
ngp.input.builtin.gamepad.up keyboard 119

;Language games should display text in.
ngp.language english

;Enable specified OpenGL pixel shader.
ngp.pixshader none

;Enable scanlines with specified opacity.
ngp.scanlines 0

;Enable specified special video scaler.
ngp.special none

;Stretch to fill screen.
ngp.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
ngp.tblur 0

;Accumulate color data rather than discarding it.
ngp.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
ngp.tblur.accum.amount 50

;Enable (bi)linear interpolation.
ngp.videoip 0

;Full-screen horizontal resolution.
ngp.xres 0

;Scaling factor for the X axis in windowed mode.
ngp.xscale 4.000000

;Scaling factor for the X axis in fullscreen mode.
ngp.xscalefs 1.000000

;Full-screen vertical resolution.
ngp.yres 0

;Scaling factor for the Y axis in windowed mode.
ngp.yscale 4.000000

;Scaling factor for the Y axis in fullscreen mode.
ngp.yscalefs 1.000000

;Disable speed throttling when sound is disabled.
nothrottle 0

;Enable alpha blending for OSD elements.
osd.alpha_blend 1

;The length of time, in milliseconds, to display the save state or the movie selector after selecting a state or movie.
osd.state_display_time 2000

;Output the full 12-bit ADPCM predictor.
pce.adpcmextraprec 0

;ADPCM volume.
pce.adpcmvolume 100

;Enable Arcade Card emulation.
pce.arcadecard 1

;Path to the CD BIOS
pce.cdbios syscard3.pce

;CD-DA volume.
pce.cddavolume 100

;PSG volume when playing a CD game.
pce.cdpsgvolume 100

;Disassembly font size.
pce.debugger.disfontsize medium

;Character encoding for the debugger's memory editor.
pce.debugger.memcharenc shift_jis

;Disable BRAM(saved game memory) for CD games.
pce.disable_bram_cd 0

;Disable BRAM(saved game memory) for HuCard games.
pce.disable_bram_hucard 0

;If set, when RUN+SEL are pressed simultaneously, disable both buttons temporarily.
pce.disable_softreset 0

;Enable (automatic) usage of this module.
pce.enable 1

;Force monophonic sound output.
pce.forcemono 0

;Force SuperGrafx emulation.
pce.forcesgx 0

;Path to the GE CD BIOS
pce.gecdbios gecard.pce

;Show horizontal overscan area.
pce.h_overscan 0

;Enable multitap(TurboTap) emulation.
pce.input.multitap 1

;Input device for Port 1
pce.input.port1 gamepad

;pce, Port 1, Gamepad: DOWN ↓
pce.input.port1.gamepad.down keyboard 115

;pce, Port 1, Gamepad: I
pce.input.port1.gamepad.i keyboard 259

;pce, Port 1, Gamepad: II
pce.input.port1.gamepad.ii keyboard 258

;pce, Port 1, Gamepad: III
pce.input.port1.gamepad.iii keyboard 257

;pce, Port 1, Gamepad: IV
pce.input.port1.gamepad.iv keyboard 260

;pce, Port 1, Gamepad: LEFT ←
pce.input.port1.gamepad.left keyboard 97

;pce, Port 1, Gamepad: 2/6 Mode Select
pce.input.port1.gamepad.mode_select keyboard 109

;pce, Port 1, Gamepad: Rapid I
pce.input.port1.gamepad.rapid_i 

;pce, Port 1, Gamepad: Rapid II
pce.input.port1.gamepad.rapid_ii 

;pce, Port 1, Gamepad: RIGHT →
pce.input.port1.gamepad.right keyboard 100

;pce, Port 1, Gamepad: RUN
pce.input.port1.gamepad.run keyboard 13

;pce, Port 1, Gamepad: SELECT
pce.input.port1.gamepad.select keyboard 9

;pce, Port 1, Gamepad: UP ↑
pce.input.port1.gamepad.up keyboard 119

;pce, Port 1, Gamepad: V
pce.input.port1.gamepad.v keyboard 261

;pce, Port 1, Gamepad: VI
pce.input.port1.gamepad.vi keyboard 262

;pce, Port 1, Mouse: Left Button
pce.input.port1.mouse.left mouse 0

;pce, Port 1, Mouse: Right Button
pce.input.port1.mouse.right mouse 2

;pce, Port 1, Mouse: RUN
pce.input.port1.mouse.run keyboard 13

;pce, Port 1, Mouse: SELECT
pce.input.port1.mouse.select keyboard 9

;pce, Port 1, Tsushin Keyboard: 0
pce.input.port1.tsushinkb.0 keyboard 48

;pce, Port 1, Tsushin Keyboard: 1
pce.input.port1.tsushinkb.1 keyboard 49

;pce, Port 1, Tsushin Keyboard: 2
pce.input.port1.tsushinkb.2 keyboard 50

;pce, Port 1, Tsushin Keyboard: 3
pce.input.port1.tsushinkb.3 keyboard 51

;pce, Port 1, Tsushin Keyboard: 4
pce.input.port1.tsushinkb.4 keyboard 52

;pce, Port 1, Tsushin Keyboard: 5
pce.input.port1.tsushinkb.5 keyboard 53

;pce, Port 1, Tsushin Keyboard: 6
pce.input.port1.tsushinkb.6 keyboard 54

;pce, Port 1, Tsushin Keyboard: 7
pce.input.port1.tsushinkb.7 keyboard 55

;pce, Port 1, Tsushin Keyboard: 8
pce.input.port1.tsushinkb.8 keyboard 56

;pce, Port 1, Tsushin Keyboard: 9
pce.input.port1.tsushinkb.9 keyboard 57

;pce, Port 1, Tsushin Keyboard: a
pce.input.port1.tsushinkb.a keyboard 97

;pce, Port 1, Tsushin Keyboard: @
pce.input.port1.tsushinkb.at keyboard 96

;pce, Port 1, Tsushin Keyboard: b
pce.input.port1.tsushinkb.b keyboard 98

;pce, Port 1, Tsushin Keyboard: backspace
pce.input.port1.tsushinkb.backspace keyboard 8

;pce, Port 1, Tsushin Keyboard: c
pce.input.port1.tsushinkb.c keyboard 99

;pce, Port 1, Tsushin Keyboard: Caps Lock
pce.input.port1.tsushinkb.caps_lock keyboard 301

;pce, Port 1, Tsushin Keyboard: ^
pce.input.port1.tsushinkb.caret keyboard 61

;pce, Port 1, Tsushin Keyboard: clear
pce.input.port1.tsushinkb.clear keyboard 278

;pce, Port 1, Tsushin Keyboard: :
pce.input.port1.tsushinkb.colon keyboard 39

;pce, Port 1, Tsushin Keyboard: ,
pce.input.port1.tsushinkb.comma keyboard 44

;pce, Port 1, Tsushin Keyboard: 変換
pce.input.port1.tsushinkb.convert keyboard 307

;pce, Port 1, Tsushin Keyboard: Copy
pce.input.port1.tsushinkb.copy keyboard 316

;pce, Port 1, Tsushin Keyboard: CTRL/Control
pce.input.port1.tsushinkb.ctrl keyboard 306

;pce, Port 1, Tsushin Keyboard: d
pce.input.port1.tsushinkb.d keyboard 100

;pce, Port 1, Tsushin Keyboard: Delete
pce.input.port1.tsushinkb.delete keyboard 127

;pce, Port 1, Tsushin Keyboard: down
pce.input.port1.tsushinkb.down keyboard 274

;pce, Port 1, Tsushin Keyboard: e
pce.input.port1.tsushinkb.e keyboard 101

;pce, Port 1, Tsushin Keyboard: Escape
pce.input.port1.tsushinkb.escape keyboard 27

;pce, Port 1, Tsushin Keyboard: f
pce.input.port1.tsushinkb.f keyboard 102

;pce, Port 1, Tsushin Keyboard: F1
pce.input.port1.tsushinkb.f1 keyboard 282

;pce, Port 1, Tsushin Keyboard: F10
pce.input.port1.tsushinkb.f10 keyboard 291

;pce, Port 1, Tsushin Keyboard: F2
pce.input.port1.tsushinkb.f2 keyboard 283

;pce, Port 1, Tsushin Keyboard: F3
pce.input.port1.tsushinkb.f3 keyboard 284

;pce, Port 1, Tsushin Keyboard: F4
pce.input.port1.tsushinkb.f4 keyboard 285

;pce, Port 1, Tsushin Keyboard: F5
pce.input.port1.tsushinkb.f5 keyboard 286

;pce, Port 1, Tsushin Keyboard: f6
pce.input.port1.tsushinkb.f6 keyboard 287

;pce, Port 1, Tsushin Keyboard: f7
pce.input.port1.tsushinkb.f7 keyboard 288

;pce, Port 1, Tsushin Keyboard: f8
pce.input.port1.tsushinkb.f8 keyboard 289

;pce, Port 1, Tsushin Keyboard: f9
pce.input.port1.tsushinkb.f9 keyboard 290

;pce, Port 1, Tsushin Keyboard: g
pce.input.port1.tsushinkb.g keyboard 103

;pce, Port 1, Tsushin Keyboard: GRPH
pce.input.port1.tsushinkb.grph keyboard 0

;pce, Port 1, Tsushin Keyboard: h
pce.input.port1.tsushinkb.h keyboard 104

;pce, Port 1, Tsushin Keyboard: Help
pce.input.port1.tsushinkb.help keyboard 279

;pce, Port 1, Tsushin Keyboard: i
pce.input.port1.tsushinkb.i keyboard 105

;pce, Port 1, Tsushin Keyboard: insert
pce.input.port1.tsushinkb.insert keyboard 277

;pce, Port 1, Tsushin Keyboard: j
pce.input.port1.tsushinkb.j keyboard 106

;pce, Port 1, Tsushin Keyboard: k
pce.input.port1.tsushinkb.k keyboard 107

;pce, Port 1, Tsushin Keyboard: カナ
pce.input.port1.tsushinkb.kana keyboard 311

;pce, Port 1, Tsushin Keyboard: Keypad 0
pce.input.port1.tsushinkb.kp_0 keyboard 256

;pce, Port 1, Tsushin Keyboard: Keypad 1
pce.input.port1.tsushinkb.kp_1 keyboard 257

;pce, Port 1, Tsushin Keyboard: Keypad 2
pce.input.port1.tsushinkb.kp_2 keyboard 258

;pce, Port 1, Tsushin Keyboard: Keypad 3
pce.input.port1.tsushinkb.kp_3 keyboard 259

;pce, Port 1, Tsushin Keyboard: Keypad 4
pce.input.port1.tsushinkb.kp_4 keyboard 260

;pce, Port 1, Tsushin Keyboard: Keypad 5
pce.input.port1.tsushinkb.kp_5 keyboard 261

;pce, Port 1, Tsushin Keyboard: Keypad 6
pce.input.port1.tsushinkb.kp_6 keyboard 262

;pce, Port 1, Tsushin Keyboard: Keypad 7
pce.input.port1.tsushinkb.kp_7 keyboard 263

;pce, Port 1, Tsushin Keyboard: Keypad 8
pce.input.port1.tsushinkb.kp_8 keyboard 264

;pce, Port 1, Tsushin Keyboard: Keypad 9
pce.input.port1.tsushinkb.kp_9 keyboard 265

;pce, Port 1, Tsushin Keyboard: Keypad ,
pce.input.port1.tsushinkb.kp_comma keyboard 0

;pce, Port 1, Tsushin Keyboard: Keypad Divide
pce.input.port1.tsushinkb.kp_divide keyboard 267

;pce, Port 1, Tsushin Keyboard: Keypad Enter
pce.input.port1.tsushinkb.kp_enter keyboard 271

;pce, Port 1, Tsushin Keyboard: Keypad =
pce.input.port1.tsushinkb.kp_equals keyboard 272

;pce, Port 1, Tsushin Keyboard: Keypad Minus
pce.input.port1.tsushinkb.kp_minus keyboard 269

;pce, Port 1, Tsushin Keyboard: Keypad *
pce.input.port1.tsushinkb.kp_multiply keyboard 268

;pce, Port 1, Tsushin Keyboard: Keypad .
pce.input.port1.tsushinkb.kp_period keyboard 266

;pce, Port 1, Tsushin Keyboard: Keypad +
pce.input.port1.tsushinkb.kp_plus keyboard 270

;pce, Port 1, Tsushin Keyboard: l
pce.input.port1.tsushinkb.l keyboard 108

;pce, Port 1, Tsushin Keyboard: left
pce.input.port1.tsushinkb.left keyboard 276

;pce, Port 1, Tsushin Keyboard: [
pce.input.port1.tsushinkb.left_bracket keyboard 91

;pce, Port 1, Tsushin Keyboard: Left Shift
pce.input.port1.tsushinkb.left_shift keyboard 304

;pce, Port 1, Tsushin Keyboard: m
pce.input.port1.tsushinkb.m keyboard 109

;pce, Port 1, Tsushin Keyboard: Minus
pce.input.port1.tsushinkb.minus keyboard 45

;pce, Port 1, Tsushin Keyboard: n
pce.input.port1.tsushinkb.n keyboard 110

;pce, Port 1, Tsushin Keyboard: 決定
pce.input.port1.tsushinkb.nonconvert keyboard 308

;pce, Port 1, Tsushin Keyboard: o
pce.input.port1.tsushinkb.o keyboard 111

;pce, Port 1, Tsushin Keyboard: p
pce.input.port1.tsushinkb.p keyboard 112

;pce, Port 1, Tsushin Keyboard: PC
pce.input.port1.tsushinkb.pc keyboard 312

;pce, Port 1, Tsushin Keyboard: .
pce.input.port1.tsushinkb.period keyboard 46

;pce, Port 1, Tsushin Keyboard: q
pce.input.port1.tsushinkb.q keyboard 113

;pce, Port 1, Tsushin Keyboard: r
pce.input.port1.tsushinkb.r keyboard 114

;pce, Port 1, Tsushin Keyboard: return
pce.input.port1.tsushinkb.return keyboard 13

;pce, Port 1, Tsushin Keyboard: right
pce.input.port1.tsushinkb.right keyboard 275

;pce, Port 1, Tsushin Keyboard: ]
pce.input.port1.tsushinkb.right_bracket keyboard 93

;pce, Port 1, Tsushin Keyboard: Right Shift
pce.input.port1.tsushinkb.right_shift keyboard 303

;pce, Port 1, Tsushin Keyboard: ROLL DOWN
pce.input.port1.tsushinkb.roll_down keyboard 281

;pce, Port 1, Tsushin Keyboard: ROLL UP
pce.input.port1.tsushinkb.roll_up keyboard 280

;pce, Port 1, Tsushin Keyboard: s
pce.input.port1.tsushinkb.s keyboard 115

;pce, Port 1, Tsushin Keyboard: ;
pce.input.port1.tsushinkb.semicolon keyboard 59

;pce, Port 1, Tsushin Keyboard: /
pce.input.port1.tsushinkb.slash keyboard 47

;pce, Port 1, Tsushin Keyboard: space
pce.input.port1.tsushinkb.space keyboard 32

;pce, Port 1, Tsushin Keyboard: STOP
pce.input.port1.tsushinkb.stop keyboard 318

;pce, Port 1, Tsushin Keyboard: t
pce.input.port1.tsushinkb.t keyboard 116

;pce, Port 1, Tsushin Keyboard: Tab
pce.input.port1.tsushinkb.tab keyboard 9

;pce, Port 1, Tsushin Keyboard: u
pce.input.port1.tsushinkb.u keyboard 117

;pce, Port 1, Tsushin Keyboard: Underscore
pce.input.port1.tsushinkb.underscore keyboard 0

;pce, Port 1, Tsushin Keyboard: up
pce.input.port1.tsushinkb.up keyboard 273

;pce, Port 1, Tsushin Keyboard: v
pce.input.port1.tsushinkb.v keyboard 118

;pce, Port 1, Tsushin Keyboard: w
pce.input.port1.tsushinkb.w keyboard 119

;pce, Port 1, Tsushin Keyboard: 変換
pce.input.port1.tsushinkb.width keyboard 305

;pce, Port 1, Tsushin Keyboard: x
pce.input.port1.tsushinkb.x keyboard 120

;pce, Port 1, Tsushin Keyboard: y
pce.input.port1.tsushinkb.y keyboard 121

;pce, Port 1, Tsushin Keyboard: Yen
pce.input.port1.tsushinkb.yen keyboard 43

;pce, Port 1, Tsushin Keyboard: z
pce.input.port1.tsushinkb.z keyboard 122

;Input device for Port 2
pce.input.port2 gamepad

;pce, Port 2, Gamepad: DOWN ↓
pce.input.port2.gamepad.down 

;pce, Port 2, Gamepad: I
pce.input.port2.gamepad.i 

;pce, Port 2, Gamepad: II
pce.input.port2.gamepad.ii 

;pce, Port 2, Gamepad: III
pce.input.port2.gamepad.iii 

;pce, Port 2, Gamepad: IV
pce.input.port2.gamepad.iv 

;pce, Port 2, Gamepad: LEFT ←
pce.input.port2.gamepad.left 

;pce, Port 2, Gamepad: 2/6 Mode Select
pce.input.port2.gamepad.mode_select 

;pce, Port 2, Gamepad: Rapid I
pce.input.port2.gamepad.rapid_i 

;pce, Port 2, Gamepad: Rapid II
pce.input.port2.gamepad.rapid_ii 

;pce, Port 2, Gamepad: RIGHT →
pce.input.port2.gamepad.right 

;pce, Port 2, Gamepad: RUN
pce.input.port2.gamepad.run 

;pce, Port 2, Gamepad: SELECT
pce.input.port2.gamepad.select 

;pce, Port 2, Gamepad: UP ↑
pce.input.port2.gamepad.up 

;pce, Port 2, Gamepad: V
pce.input.port2.gamepad.v 

;pce, Port 2, Gamepad: VI
pce.input.port2.gamepad.vi 

;pce, Port 2, Mouse: Left Button
pce.input.port2.mouse.left mouse 0

;pce, Port 2, Mouse: Right Button
pce.input.port2.mouse.right mouse 2

;pce, Port 2, Mouse: RUN
pce.input.port2.mouse.run keyboard 13

;pce, Port 2, Mouse: SELECT
pce.input.port2.mouse.select keyboard 9

;Input device for Port 3
pce.input.port3 gamepad

;pce, Port 3, Gamepad: DOWN ↓
pce.input.port3.gamepad.down 

;pce, Port 3, Gamepad: I
pce.input.port3.gamepad.i 

;pce, Port 3, Gamepad: II
pce.input.port3.gamepad.ii 

;pce, Port 3, Gamepad: III
pce.input.port3.gamepad.iii 

;pce, Port 3, Gamepad: IV
pce.input.port3.gamepad.iv 

;pce, Port 3, Gamepad: LEFT ←
pce.input.port3.gamepad.left 

;pce, Port 3, Gamepad: 2/6 Mode Select
pce.input.port3.gamepad.mode_select 

;pce, Port 3, Gamepad: Rapid I
pce.input.port3.gamepad.rapid_i 

;pce, Port 3, Gamepad: Rapid II
pce.input.port3.gamepad.rapid_ii 

;pce, Port 3, Gamepad: RIGHT →
pce.input.port3.gamepad.right 

;pce, Port 3, Gamepad: RUN
pce.input.port3.gamepad.run 

;pce, Port 3, Gamepad: SELECT
pce.input.port3.gamepad.select 

;pce, Port 3, Gamepad: UP ↑
pce.input.port3.gamepad.up 

;pce, Port 3, Gamepad: V
pce.input.port3.gamepad.v 

;pce, Port 3, Gamepad: VI
pce.input.port3.gamepad.vi 

;pce, Port 3, Mouse: Left Button
pce.input.port3.mouse.left mouse 0

;pce, Port 3, Mouse: Right Button
pce.input.port3.mouse.right mouse 2

;pce, Port 3, Mouse: RUN
pce.input.port3.mouse.run keyboard 13

;pce, Port 3, Mouse: SELECT
pce.input.port3.mouse.select keyboard 9

;Input device for Port 4
pce.input.port4 gamepad

;pce, Port 4, Gamepad: DOWN ↓
pce.input.port4.gamepad.down 

;pce, Port 4, Gamepad: I
pce.input.port4.gamepad.i 

;pce, Port 4, Gamepad: II
pce.input.port4.gamepad.ii 

;pce, Port 4, Gamepad: III
pce.input.port4.gamepad.iii 

;pce, Port 4, Gamepad: IV
pce.input.port4.gamepad.iv 

;pce, Port 4, Gamepad: LEFT ←
pce.input.port4.gamepad.left 

;pce, Port 4, Gamepad: 2/6 Mode Select
pce.input.port4.gamepad.mode_select 

;pce, Port 4, Gamepad: Rapid I
pce.input.port4.gamepad.rapid_i 

;pce, Port 4, Gamepad: Rapid II
pce.input.port4.gamepad.rapid_ii 

;pce, Port 4, Gamepad: RIGHT →
pce.input.port4.gamepad.right 

;pce, Port 4, Gamepad: RUN
pce.input.port4.gamepad.run 

;pce, Port 4, Gamepad: SELECT
pce.input.port4.gamepad.select 

;pce, Port 4, Gamepad: UP ↑
pce.input.port4.gamepad.up 

;pce, Port 4, Gamepad: V
pce.input.port4.gamepad.v 

;pce, Port 4, Gamepad: VI
pce.input.port4.gamepad.vi 

;pce, Port 4, Mouse: Left Button
pce.input.port4.mouse.left mouse 0

;pce, Port 4, Mouse: Right Button
pce.input.port4.mouse.right mouse 2

;pce, Port 4, Mouse: RUN
pce.input.port4.mouse.run keyboard 13

;pce, Port 4, Mouse: SELECT
pce.input.port4.mouse.select keyboard 9

;Input device for Port 5
pce.input.port5 gamepad

;pce, Port 5, Gamepad: DOWN ↓
pce.input.port5.gamepad.down 

;pce, Port 5, Gamepad: I
pce.input.port5.gamepad.i 

;pce, Port 5, Gamepad: II
pce.input.port5.gamepad.ii 

;pce, Port 5, Gamepad: III
pce.input.port5.gamepad.iii 

;pce, Port 5, Gamepad: IV
pce.input.port5.gamepad.iv 

;pce, Port 5, Gamepad: LEFT ←
pce.input.port5.gamepad.left 

;pce, Port 5, Gamepad: 2/6 Mode Select
pce.input.port5.gamepad.mode_select 

;pce, Port 5, Gamepad: Rapid I
pce.input.port5.gamepad.rapid_i 

;pce, Port 5, Gamepad: Rapid II
pce.input.port5.gamepad.rapid_ii 

;pce, Port 5, Gamepad: RIGHT →
pce.input.port5.gamepad.right 

;pce, Port 5, Gamepad: RUN
pce.input.port5.gamepad.run 

;pce, Port 5, Gamepad: SELECT
pce.input.port5.gamepad.select 

;pce, Port 5, Gamepad: UP ↑
pce.input.port5.gamepad.up 

;pce, Port 5, Gamepad: V
pce.input.port5.gamepad.v 

;pce, Port 5, Gamepad: VI
pce.input.port5.gamepad.vi 

;pce, Port 5, Mouse: Left Button
pce.input.port5.mouse.left mouse 0

;pce, Port 5, Mouse: Right Button
pce.input.port5.mouse.right mouse 2

;pce, Port 5, Mouse: RUN
pce.input.port5.mouse.run keyboard 13

;pce, Port 5, Mouse: SELECT
pce.input.port5.mouse.select keyboard 9

;Emulated mouse sensitivity.
pce.mouse_sensitivity 0.50

;Remove 16-sprites-per-scanline hardware limit.
pce.nospritelimit 0

;Enable specified OpenGL pixel shader.
pce.pixshader none

;Select PSG revision.
pce.psgrevision match

;Sound quality.
pce.resamp_quality 3

;Sound output rate tolerance.
pce.resamp_rate_error 0.0000009

;Enable scanlines with specified opacity.
pce.scanlines 0

;Last rendered scanline.
pce.slend 235

;First rendered scanline.
pce.slstart 4

;Enable specified special video scaler.
pce.special none

;Stretch to fill screen.
pce.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
pce.tblur 0

;Accumulate color data rather than discarding it.
pce.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
pce.tblur.accum.amount 50

;Enable (bi)linear interpolation.
pce.videoip 1

;Size of emulated VRAM per VDC in 16-bit words.  DO NOT CHANGE THIS UNLESS YOU KNOW WTF YOU ARE DOING.
pce.vramsize 32768

;Full-screen horizontal resolution.
pce.xres 0

;Scaling factor for the X axis in windowed mode.
pce.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
pce.xscalefs 1.000000

;Full-screen vertical resolution.
pce.yres 0

;Scaling factor for the Y axis in windowed mode.
pce.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
pce.yscalefs 1.000000

;Enable dynamic ADPCM lowpass filter.
pce_fast.adpcmlp 0

;ADPCM volume.
pce_fast.adpcmvolume 100

;Enable Arcade Card emulation.
pce_fast.arcadecard 1

;Path to the CD BIOS
pce_fast.cdbios syscard3.pce

;CD-DA volume.
pce_fast.cddavolume 100

;PSG volume when playing a CD game.
pce_fast.cdpsgvolume 100

;CD-ROM data transfer speed multiplier.
pce_fast.cdspeed 1

;Correct the aspect ratio.
pce_fast.correct_aspect 1

;If set, when RUN+SEL are pressed simultaneously, disable both buttons temporarily.
pce_fast.disable_softreset 0

;Enable (automatic) usage of this module.
pce_fast.enable 1

;Force monophonic sound output.
pce_fast.forcemono 0

;Force SuperGrafx emulation.
pce_fast.forcesgx 0

;Input device for Port 1
pce_fast.input.port1 gamepad

;pce_fast, Port 1, Gamepad: DOWN ↓
pce_fast.input.port1.gamepad.down 

;pce_fast, Port 1, Gamepad: I
pce_fast.input.port1.gamepad.i 

;pce_fast, Port 1, Gamepad: II
pce_fast.input.port1.gamepad.ii 

;pce_fast, Port 1, Gamepad: III
pce_fast.input.port1.gamepad.iii 

;pce_fast, Port 1, Gamepad: IV
pce_fast.input.port1.gamepad.iv 

;pce_fast, Port 1, Gamepad: LEFT ←
pce_fast.input.port1.gamepad.left 

;pce_fast, Port 1, Gamepad: 2/6 Mode Select
pce_fast.input.port1.gamepad.mode_select 

;pce_fast, Port 1, Gamepad: Rapid I
pce_fast.input.port1.gamepad.rapid_i 

;pce_fast, Port 1, Gamepad: Rapid II
pce_fast.input.port1.gamepad.rapid_ii 

;pce_fast, Port 1, Gamepad: RIGHT →
pce_fast.input.port1.gamepad.right 

;pce_fast, Port 1, Gamepad: RUN
pce_fast.input.port1.gamepad.run 

;pce_fast, Port 1, Gamepad: SELECT
pce_fast.input.port1.gamepad.select 

;pce_fast, Port 1, Gamepad: UP ↑
pce_fast.input.port1.gamepad.up 

;pce_fast, Port 1, Gamepad: V
pce_fast.input.port1.gamepad.v 

;pce_fast, Port 1, Gamepad: VI
pce_fast.input.port1.gamepad.vi 

;pce_fast, Port 1, Mouse: Left Button
pce_fast.input.port1.mouse.left 

;pce_fast, Port 1, Mouse: Right Button
pce_fast.input.port1.mouse.right 

;Input device for Port 2
pce_fast.input.port2 gamepad

;pce_fast, Port 2, Gamepad: DOWN ↓
pce_fast.input.port2.gamepad.down 

;pce_fast, Port 2, Gamepad: I
pce_fast.input.port2.gamepad.i 

;pce_fast, Port 2, Gamepad: II
pce_fast.input.port2.gamepad.ii 

;pce_fast, Port 2, Gamepad: III
pce_fast.input.port2.gamepad.iii 

;pce_fast, Port 2, Gamepad: IV
pce_fast.input.port2.gamepad.iv 

;pce_fast, Port 2, Gamepad: LEFT ←
pce_fast.input.port2.gamepad.left 

;pce_fast, Port 2, Gamepad: 2/6 Mode Select
pce_fast.input.port2.gamepad.mode_select 

;pce_fast, Port 2, Gamepad: Rapid I
pce_fast.input.port2.gamepad.rapid_i 

;pce_fast, Port 2, Gamepad: Rapid II
pce_fast.input.port2.gamepad.rapid_ii 

;pce_fast, Port 2, Gamepad: RIGHT →
pce_fast.input.port2.gamepad.right 

;pce_fast, Port 2, Gamepad: RUN
pce_fast.input.port2.gamepad.run 

;pce_fast, Port 2, Gamepad: SELECT
pce_fast.input.port2.gamepad.select 

;pce_fast, Port 2, Gamepad: UP ↑
pce_fast.input.port2.gamepad.up 

;pce_fast, Port 2, Gamepad: V
pce_fast.input.port2.gamepad.v 

;pce_fast, Port 2, Gamepad: VI
pce_fast.input.port2.gamepad.vi 

;pce_fast, Port 2, Mouse: Left Button
pce_fast.input.port2.mouse.left 

;pce_fast, Port 2, Mouse: Right Button
pce_fast.input.port2.mouse.right 

;Input device for Port 3
pce_fast.input.port3 gamepad

;pce_fast, Port 3, Gamepad: DOWN ↓
pce_fast.input.port3.gamepad.down 

;pce_fast, Port 3, Gamepad: I
pce_fast.input.port3.gamepad.i 

;pce_fast, Port 3, Gamepad: II
pce_fast.input.port3.gamepad.ii 

;pce_fast, Port 3, Gamepad: III
pce_fast.input.port3.gamepad.iii 

;pce_fast, Port 3, Gamepad: IV
pce_fast.input.port3.gamepad.iv 

;pce_fast, Port 3, Gamepad: LEFT ←
pce_fast.input.port3.gamepad.left 

;pce_fast, Port 3, Gamepad: 2/6 Mode Select
pce_fast.input.port3.gamepad.mode_select 

;pce_fast, Port 3, Gamepad: Rapid I
pce_fast.input.port3.gamepad.rapid_i 

;pce_fast, Port 3, Gamepad: Rapid II
pce_fast.input.port3.gamepad.rapid_ii 

;pce_fast, Port 3, Gamepad: RIGHT →
pce_fast.input.port3.gamepad.right 

;pce_fast, Port 3, Gamepad: RUN
pce_fast.input.port3.gamepad.run 

;pce_fast, Port 3, Gamepad: SELECT
pce_fast.input.port3.gamepad.select 

;pce_fast, Port 3, Gamepad: UP ↑
pce_fast.input.port3.gamepad.up 

;pce_fast, Port 3, Gamepad: V
pce_fast.input.port3.gamepad.v 

;pce_fast, Port 3, Gamepad: VI
pce_fast.input.port3.gamepad.vi 

;pce_fast, Port 3, Mouse: Left Button
pce_fast.input.port3.mouse.left 

;pce_fast, Port 3, Mouse: Right Button
pce_fast.input.port3.mouse.right 

;Input device for Port 4
pce_fast.input.port4 gamepad

;pce_fast, Port 4, Gamepad: DOWN ↓
pce_fast.input.port4.gamepad.down 

;pce_fast, Port 4, Gamepad: I
pce_fast.input.port4.gamepad.i 

;pce_fast, Port 4, Gamepad: II
pce_fast.input.port4.gamepad.ii 

;pce_fast, Port 4, Gamepad: III
pce_fast.input.port4.gamepad.iii 

;pce_fast, Port 4, Gamepad: IV
pce_fast.input.port4.gamepad.iv 

;pce_fast, Port 4, Gamepad: LEFT ←
pce_fast.input.port4.gamepad.left 

;pce_fast, Port 4, Gamepad: 2/6 Mode Select
pce_fast.input.port4.gamepad.mode_select 

;pce_fast, Port 4, Gamepad: Rapid I
pce_fast.input.port4.gamepad.rapid_i 

;pce_fast, Port 4, Gamepad: Rapid II
pce_fast.input.port4.gamepad.rapid_ii 

;pce_fast, Port 4, Gamepad: RIGHT →
pce_fast.input.port4.gamepad.right 

;pce_fast, Port 4, Gamepad: RUN
pce_fast.input.port4.gamepad.run 

;pce_fast, Port 4, Gamepad: SELECT
pce_fast.input.port4.gamepad.select 

;pce_fast, Port 4, Gamepad: UP ↑
pce_fast.input.port4.gamepad.up 

;pce_fast, Port 4, Gamepad: V
pce_fast.input.port4.gamepad.v 

;pce_fast, Port 4, Gamepad: VI
pce_fast.input.port4.gamepad.vi 

;pce_fast, Port 4, Mouse: Left Button
pce_fast.input.port4.mouse.left 

;pce_fast, Port 4, Mouse: Right Button
pce_fast.input.port4.mouse.right 

;Input device for Port 5
pce_fast.input.port5 gamepad

;pce_fast, Port 5, Gamepad: DOWN ↓
pce_fast.input.port5.gamepad.down 

;pce_fast, Port 5, Gamepad: I
pce_fast.input.port5.gamepad.i 

;pce_fast, Port 5, Gamepad: II
pce_fast.input.port5.gamepad.ii 

;pce_fast, Port 5, Gamepad: III
pce_fast.input.port5.gamepad.iii 

;pce_fast, Port 5, Gamepad: IV
pce_fast.input.port5.gamepad.iv 

;pce_fast, Port 5, Gamepad: LEFT ←
pce_fast.input.port5.gamepad.left 

;pce_fast, Port 5, Gamepad: 2/6 Mode Select
pce_fast.input.port5.gamepad.mode_select 

;pce_fast, Port 5, Gamepad: Rapid I
pce_fast.input.port5.gamepad.rapid_i 

;pce_fast, Port 5, Gamepad: Rapid II
pce_fast.input.port5.gamepad.rapid_ii 

;pce_fast, Port 5, Gamepad: RIGHT →
pce_fast.input.port5.gamepad.right 

;pce_fast, Port 5, Gamepad: RUN
pce_fast.input.port5.gamepad.run 

;pce_fast, Port 5, Gamepad: SELECT
pce_fast.input.port5.gamepad.select 

;pce_fast, Port 5, Gamepad: UP ↑
pce_fast.input.port5.gamepad.up 

;pce_fast, Port 5, Gamepad: V
pce_fast.input.port5.gamepad.v 

;pce_fast, Port 5, Gamepad: VI
pce_fast.input.port5.gamepad.vi 

;pce_fast, Port 5, Mouse: Left Button
pce_fast.input.port5.mouse.left 

;pce_fast, Port 5, Mouse: Right Button
pce_fast.input.port5.mouse.right 

;Mouse sensitivity.
pce_fast.mouse_sensitivity 0.50

;Remove 16-sprites-per-scanline hardware limit.
pce_fast.nospritelimit 0

;CPU overclock multiplier.
pce_fast.ocmultiplier 1

;Enable specified OpenGL pixel shader.
pce_fast.pixshader none

;Enable scanlines with specified opacity.
pce_fast.scanlines 0

;Last rendered scanline.
pce_fast.slend 235

;First rendered scanline.
pce_fast.slstart 4

;Enable specified special video scaler.
pce_fast.special none

;Stretch to fill screen.
pce_fast.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
pce_fast.tblur 0

;Accumulate color data rather than discarding it.
pce_fast.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
pce_fast.tblur.accum.amount 50

;Enable (bi)linear interpolation.
pce_fast.videoip 1

;Full-screen horizontal resolution.
pce_fast.xres 0

;Scaling factor for the X axis in windowed mode.
pce_fast.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
pce_fast.xscalefs 1.000000

;Full-screen vertical resolution.
pce_fast.yres 0

;Scaling factor for the Y axis in windowed mode.
pce_fast.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
pce_fast.yscalefs 1.000000

;Hack that emulates the codec a buggy ADPCM encoder used for some games' ADPCM.
pcfx.adpcm.emulate_buggy_codec 0

;Hack to suppress clicks caused by forced channel resets.
pcfx.adpcm.suppress_channel_reset_clicks 1

;Path to the ROM BIOS
pcfx.bios pcfx.rom

;Emulated CD-ROM speed.
pcfx.cdspeed 2

;CPU emulation mode.
pcfx.cpu_emulation auto

;Disassembly font size.
pcfx.debugger.disfontsize medium

;Character encoding for the debugger's memory editor.
pcfx.debugger.memcharenc shift_jis

;Disable internal and external BRAM.
pcfx.disable_bram 0

;When RUN+SEL are pressed simultaneously, disable both buttons temporarily.
pcfx.disable_softreset 0

;Enable (automatic) usage of this module.
pcfx.enable 1

;Force monophonic sound output.
pcfx.forcemono 0

;Path to the FX-SCSI ROM
pcfx.fxscsi 0

;Emulated width for 7.16MHz dot-clock mode.
pcfx.high_dotclock_width 1024

;Input device for Port 1
pcfx.input.port1 gamepad

;pcfx, Port 1, Gamepad: DOWN ↓
pcfx.input.port1.gamepad.down keyboard 115

;pcfx, Port 1, Gamepad: I
pcfx.input.port1.gamepad.i keyboard 259

;pcfx, Port 1, Gamepad: II
pcfx.input.port1.gamepad.ii keyboard 258

;pcfx, Port 1, Gamepad: III
pcfx.input.port1.gamepad.iii keyboard 257

;pcfx, Port 1, Gamepad: IV
pcfx.input.port1.gamepad.iv keyboard 260

;pcfx, Port 1, Gamepad: LEFT ←
pcfx.input.port1.gamepad.left keyboard 97

;pcfx, Port 1, Gamepad: MODE 1 (Switch)
pcfx.input.port1.gamepad.mode1 keyboard 264

;pcfx, Port 1, Gamepad: MODE 2 (Switch)
pcfx.input.port1.gamepad.mode2 keyboard 265

;pcfx, Port 1, Gamepad: RIGHT →
pcfx.input.port1.gamepad.right keyboard 100

;pcfx, Port 1, Gamepad: RUN
pcfx.input.port1.gamepad.run keyboard 13

;pcfx, Port 1, Gamepad: SELECT
pcfx.input.port1.gamepad.select keyboard 9

;pcfx, Port 1, Gamepad: UP ↑
pcfx.input.port1.gamepad.up keyboard 119

;pcfx, Port 1, Gamepad: V
pcfx.input.port1.gamepad.v keyboard 261

;pcfx, Port 1, Gamepad: VI
pcfx.input.port1.gamepad.vi keyboard 262

;pcfx, Port 1, Mouse: Left Button
pcfx.input.port1.mouse.left mouse 0

;pcfx, Port 1, Mouse: Right Button
pcfx.input.port1.mouse.right mouse 2

;Enable multitap on PC-FX port 1.
pcfx.input.port1.multitap 0

;Input device for Port 2
pcfx.input.port2 gamepad

;pcfx, Port 2, Gamepad: DOWN ↓
pcfx.input.port2.gamepad.down 

;pcfx, Port 2, Gamepad: I
pcfx.input.port2.gamepad.i 

;pcfx, Port 2, Gamepad: II
pcfx.input.port2.gamepad.ii 

;pcfx, Port 2, Gamepad: III
pcfx.input.port2.gamepad.iii 

;pcfx, Port 2, Gamepad: IV
pcfx.input.port2.gamepad.iv 

;pcfx, Port 2, Gamepad: LEFT ←
pcfx.input.port2.gamepad.left 

;pcfx, Port 2, Gamepad: MODE 1 (Switch)
pcfx.input.port2.gamepad.mode1 

;pcfx, Port 2, Gamepad: MODE 2 (Switch)
pcfx.input.port2.gamepad.mode2 

;pcfx, Port 2, Gamepad: RIGHT →
pcfx.input.port2.gamepad.right 

;pcfx, Port 2, Gamepad: RUN
pcfx.input.port2.gamepad.run 

;pcfx, Port 2, Gamepad: SELECT
pcfx.input.port2.gamepad.select 

;pcfx, Port 2, Gamepad: UP ↑
pcfx.input.port2.gamepad.up 

;pcfx, Port 2, Gamepad: V
pcfx.input.port2.gamepad.v 

;pcfx, Port 2, Gamepad: VI
pcfx.input.port2.gamepad.vi 

;pcfx, Port 2, Mouse: Left Button
pcfx.input.port2.mouse.left mouse 0

;pcfx, Port 2, Mouse: Right Button
pcfx.input.port2.mouse.right mouse 2

;Enable multitap on PC-FX port 2.
pcfx.input.port2.multitap 0

;Input device for Port 3
pcfx.input.port3 gamepad

;pcfx, Port 3, Gamepad: DOWN ↓
pcfx.input.port3.gamepad.down 

;pcfx, Port 3, Gamepad: I
pcfx.input.port3.gamepad.i 

;pcfx, Port 3, Gamepad: II
pcfx.input.port3.gamepad.ii 

;pcfx, Port 3, Gamepad: III
pcfx.input.port3.gamepad.iii 

;pcfx, Port 3, Gamepad: IV
pcfx.input.port3.gamepad.iv 

;pcfx, Port 3, Gamepad: LEFT ←
pcfx.input.port3.gamepad.left 

;pcfx, Port 3, Gamepad: MODE 1 (Switch)
pcfx.input.port3.gamepad.mode1 

;pcfx, Port 3, Gamepad: MODE 2 (Switch)
pcfx.input.port3.gamepad.mode2 

;pcfx, Port 3, Gamepad: RIGHT →
pcfx.input.port3.gamepad.right 

;pcfx, Port 3, Gamepad: RUN
pcfx.input.port3.gamepad.run 

;pcfx, Port 3, Gamepad: SELECT
pcfx.input.port3.gamepad.select 

;pcfx, Port 3, Gamepad: UP ↑
pcfx.input.port3.gamepad.up 

;pcfx, Port 3, Gamepad: V
pcfx.input.port3.gamepad.v 

;pcfx, Port 3, Gamepad: VI
pcfx.input.port3.gamepad.vi 

;pcfx, Port 3, Mouse: Left Button
pcfx.input.port3.mouse.left 

;pcfx, Port 3, Mouse: Right Button
pcfx.input.port3.mouse.right 

;Input device for Port 4
pcfx.input.port4 gamepad

;pcfx, Port 4, Gamepad: DOWN ↓
pcfx.input.port4.gamepad.down 

;pcfx, Port 4, Gamepad: I
pcfx.input.port4.gamepad.i 

;pcfx, Port 4, Gamepad: II
pcfx.input.port4.gamepad.ii 

;pcfx, Port 4, Gamepad: III
pcfx.input.port4.gamepad.iii 

;pcfx, Port 4, Gamepad: IV
pcfx.input.port4.gamepad.iv 

;pcfx, Port 4, Gamepad: LEFT ←
pcfx.input.port4.gamepad.left 

;pcfx, Port 4, Gamepad: MODE 1 (Switch)
pcfx.input.port4.gamepad.mode1 

;pcfx, Port 4, Gamepad: MODE 2 (Switch)
pcfx.input.port4.gamepad.mode2 

;pcfx, Port 4, Gamepad: RIGHT →
pcfx.input.port4.gamepad.right 

;pcfx, Port 4, Gamepad: RUN
pcfx.input.port4.gamepad.run 

;pcfx, Port 4, Gamepad: SELECT
pcfx.input.port4.gamepad.select 

;pcfx, Port 4, Gamepad: UP ↑
pcfx.input.port4.gamepad.up 

;pcfx, Port 4, Gamepad: V
pcfx.input.port4.gamepad.v 

;pcfx, Port 4, Gamepad: VI
pcfx.input.port4.gamepad.vi 

;pcfx, Port 4, Mouse: Left Button
pcfx.input.port4.mouse.left 

;pcfx, Port 4, Mouse: Right Button
pcfx.input.port4.mouse.right 

;Input device for Port 5
pcfx.input.port5 gamepad

;pcfx, Port 5, Gamepad: DOWN ↓
pcfx.input.port5.gamepad.down 

;pcfx, Port 5, Gamepad: I
pcfx.input.port5.gamepad.i 

;pcfx, Port 5, Gamepad: II
pcfx.input.port5.gamepad.ii 

;pcfx, Port 5, Gamepad: III
pcfx.input.port5.gamepad.iii 

;pcfx, Port 5, Gamepad: IV
pcfx.input.port5.gamepad.iv 

;pcfx, Port 5, Gamepad: LEFT ←
pcfx.input.port5.gamepad.left 

;pcfx, Port 5, Gamepad: MODE 1 (Switch)
pcfx.input.port5.gamepad.mode1 

;pcfx, Port 5, Gamepad: MODE 2 (Switch)
pcfx.input.port5.gamepad.mode2 

;pcfx, Port 5, Gamepad: RIGHT →
pcfx.input.port5.gamepad.right 

;pcfx, Port 5, Gamepad: RUN
pcfx.input.port5.gamepad.run 

;pcfx, Port 5, Gamepad: SELECT
pcfx.input.port5.gamepad.select 

;pcfx, Port 5, Gamepad: UP ↑
pcfx.input.port5.gamepad.up 

;pcfx, Port 5, Gamepad: V
pcfx.input.port5.gamepad.v 

;pcfx, Port 5, Gamepad: VI
pcfx.input.port5.gamepad.vi 

;pcfx, Port 5, Mouse: Left Button
pcfx.input.port5.mouse.left 

;pcfx, Port 5, Mouse: Right Button
pcfx.input.port5.mouse.right 

;Input device for Port 6
pcfx.input.port6 gamepad

;pcfx, Port 6, Gamepad: DOWN ↓
pcfx.input.port6.gamepad.down 

;pcfx, Port 6, Gamepad: I
pcfx.input.port6.gamepad.i 

;pcfx, Port 6, Gamepad: II
pcfx.input.port6.gamepad.ii 

;pcfx, Port 6, Gamepad: III
pcfx.input.port6.gamepad.iii 

;pcfx, Port 6, Gamepad: IV
pcfx.input.port6.gamepad.iv 

;pcfx, Port 6, Gamepad: LEFT ←
pcfx.input.port6.gamepad.left 

;pcfx, Port 6, Gamepad: MODE 1 (Switch)
pcfx.input.port6.gamepad.mode1 

;pcfx, Port 6, Gamepad: MODE 2 (Switch)
pcfx.input.port6.gamepad.mode2 

;pcfx, Port 6, Gamepad: RIGHT →
pcfx.input.port6.gamepad.right 

;pcfx, Port 6, Gamepad: RUN
pcfx.input.port6.gamepad.run 

;pcfx, Port 6, Gamepad: SELECT
pcfx.input.port6.gamepad.select 

;pcfx, Port 6, Gamepad: UP ↑
pcfx.input.port6.gamepad.up 

;pcfx, Port 6, Gamepad: V
pcfx.input.port6.gamepad.v 

;pcfx, Port 6, Gamepad: VI
pcfx.input.port6.gamepad.vi 

;pcfx, Port 6, Mouse: Left Button
pcfx.input.port6.mouse.left 

;pcfx, Port 6, Mouse: Right Button
pcfx.input.port6.mouse.right 

;Input device for Port 7
pcfx.input.port7 gamepad

;pcfx, Port 7, Gamepad: DOWN ↓
pcfx.input.port7.gamepad.down 

;pcfx, Port 7, Gamepad: I
pcfx.input.port7.gamepad.i 

;pcfx, Port 7, Gamepad: II
pcfx.input.port7.gamepad.ii 

;pcfx, Port 7, Gamepad: III
pcfx.input.port7.gamepad.iii 

;pcfx, Port 7, Gamepad: IV
pcfx.input.port7.gamepad.iv 

;pcfx, Port 7, Gamepad: LEFT ←
pcfx.input.port7.gamepad.left 

;pcfx, Port 7, Gamepad: MODE 1 (Switch)
pcfx.input.port7.gamepad.mode1 

;pcfx, Port 7, Gamepad: MODE 2 (Switch)
pcfx.input.port7.gamepad.mode2 

;pcfx, Port 7, Gamepad: RIGHT →
pcfx.input.port7.gamepad.right 

;pcfx, Port 7, Gamepad: RUN
pcfx.input.port7.gamepad.run 

;pcfx, Port 7, Gamepad: SELECT
pcfx.input.port7.gamepad.select 

;pcfx, Port 7, Gamepad: UP ↑
pcfx.input.port7.gamepad.up 

;pcfx, Port 7, Gamepad: V
pcfx.input.port7.gamepad.v 

;pcfx, Port 7, Gamepad: VI
pcfx.input.port7.gamepad.vi 

;pcfx, Port 7, Mouse: Left Button
pcfx.input.port7.mouse.left 

;pcfx, Port 7, Mouse: Right Button
pcfx.input.port7.mouse.right 

;Input device for Port 8
pcfx.input.port8 gamepad

;pcfx, Port 8, Gamepad: DOWN ↓
pcfx.input.port8.gamepad.down 

;pcfx, Port 8, Gamepad: I
pcfx.input.port8.gamepad.i 

;pcfx, Port 8, Gamepad: II
pcfx.input.port8.gamepad.ii 

;pcfx, Port 8, Gamepad: III
pcfx.input.port8.gamepad.iii 

;pcfx, Port 8, Gamepad: IV
pcfx.input.port8.gamepad.iv 

;pcfx, Port 8, Gamepad: LEFT ←
pcfx.input.port8.gamepad.left 

;pcfx, Port 8, Gamepad: MODE 1 (Switch)
pcfx.input.port8.gamepad.mode1 

;pcfx, Port 8, Gamepad: MODE 2 (Switch)
pcfx.input.port8.gamepad.mode2 

;pcfx, Port 8, Gamepad: RIGHT →
pcfx.input.port8.gamepad.right 

;pcfx, Port 8, Gamepad: RUN
pcfx.input.port8.gamepad.run 

;pcfx, Port 8, Gamepad: SELECT
pcfx.input.port8.gamepad.select 

;pcfx, Port 8, Gamepad: UP ↑
pcfx.input.port8.gamepad.up 

;pcfx, Port 8, Gamepad: V
pcfx.input.port8.gamepad.v 

;pcfx, Port 8, Gamepad: VI
pcfx.input.port8.gamepad.vi 

;pcfx, Port 8, Mouse: Left Button
pcfx.input.port8.mouse.left 

;pcfx, Port 8, Mouse: Right Button
pcfx.input.port8.mouse.right 

;Mouse sensitivity.
pcfx.mouse_sensitivity 1.25

;Remove 16-sprites-per-scanline hardware limit.
pcfx.nospritelimit 0

;Enable specified OpenGL pixel shader.
pcfx.pixshader none

;Enable bilinear interpolation on the chroma channel of RAINBOW YUV output.
pcfx.rainbow.chromaip 0

;Sound quality.
pcfx.resamp_quality 3

;Output rate tolerance.
pcfx.resamp_rate_error 0.0000009

;Enable scanlines with specified opacity.
pcfx.scanlines 0

;Last rendered scanline.
pcfx.slend 235

;First rendered scanline.
pcfx.slstart 4

;Enable specified special video scaler.
pcfx.special none

;Stretch to fill screen.
pcfx.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
pcfx.tblur 0

;Accumulate color data rather than discarding it.
pcfx.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
pcfx.tblur.accum.amount 50

;Enable (bi)linear interpolation.
pcfx.videoip 1

;Full-screen horizontal resolution.
pcfx.xres 0

;Scaling factor for the X axis in windowed mode.
pcfx.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
pcfx.xscalefs 1.000000

;Full-screen vertical resolution.
pcfx.yres 0

;Scaling factor for the Y axis in windowed mode.
pcfx.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
pcfx.yscalefs 1.000000

;Enable specified OpenGL pixel shader.
player.pixshader none

;Enable scanlines with specified opacity.
player.scanlines 0

;Enable specified special video scaler.
player.special none

;Stretch to fill screen.
player.stretch aspect_mult2

;Enable (bi)linear interpolation.
player.videoip 0

;Full-screen horizontal resolution.
player.xres 0

;Scaling factor for the X axis in windowed mode.
player.xscale 2.000000

;Scaling factor for the X axis in fullscreen mode.
player.xscalefs 1.000000

;Full-screen vertical resolution.
player.yres 0

;Scaling factor for the Y axis in windowed mode.
player.yscale 2.000000

;Scaling factor for the Y axis in fullscreen mode.
player.yscalefs 1.000000

;Path to the Europe SCPH-5502 ROM BIOS
psx.bios_eu scph5502.bin

;Path to the Japan SCPH-5500 ROM BIOS
psx.bios_jp scph5500.bin

;Path to the North America SCPH-5501 ROM BIOS
psx.bios_na scph5501.bin

;Debug printf verbosity level.
psx.dbg_level 0

;Disassembly font size.
psx.debugger.disfontsize small

;Character encoding for the debugger's memory editor.
psx.debugger.memcharenc shift_jis

;Enable (automatic) usage of this module.
psx.enable 1

;Force monophonic sound output.
psx.forcemono 0

;Enable analog mode combo-button alternate toggle.
psx.input.analog_mode_ct 0

;Emulated mouse sensitivity.
psx.input.mouse_sensitivity 1.00

;Input device for Virtual Port 1
psx.input.port1 gamepad

;psx, Virtual Port 1, Analog Joystick: Right stick, R-thumb
psx.input.port1.analogjoy.circle 

;psx, Virtual Port 1, Analog Joystick: Right stick, L-thumb
psx.input.port1.analogjoy.cross 

;psx, Virtual Port 1, Analog Joystick: Thumbstick DOWN ↓
psx.input.port1.analogjoy.down 

;psx, Virtual Port 1, Analog Joystick: Left stick, L-thumb
psx.input.port1.analogjoy.l1 

;psx, Virtual Port 1, Analog Joystick: Left stick, Trigger
psx.input.port1.analogjoy.l2 

;psx, Virtual Port 1, Analog Joystick: Thumbstick LEFT ←
psx.input.port1.analogjoy.left 

;psx, Virtual Port 1, Analog Joystick: Left Stick, BACK ↓
psx.input.port1.analogjoy.lstick_down 

;psx, Virtual Port 1, Analog Joystick: Left Stick, LEFT ←
psx.input.port1.analogjoy.lstick_left 

;psx, Virtual Port 1, Analog Joystick: Left Stick, RIGHT →
psx.input.port1.analogjoy.lstick_right 

;psx, Virtual Port 1, Analog Joystick: Left Stick, FORE ↑
psx.input.port1.analogjoy.lstick_up 

;psx, Virtual Port 1, Analog Joystick: Left stick, R-thumb
psx.input.port1.analogjoy.r1 

;psx, Virtual Port 1, Analog Joystick: Left stick, Pinky
psx.input.port1.analogjoy.r2 

;psx, Virtual Port 1, Analog Joystick: Thumbstick RIGHT →
psx.input.port1.analogjoy.right 

;psx, Virtual Port 1, Analog Joystick: Right Stick, BACK ↓
psx.input.port1.analogjoy.rstick_down 

;psx, Virtual Port 1, Analog Joystick: Right Stick, LEFT ←
psx.input.port1.analogjoy.rstick_left 

;psx, Virtual Port 1, Analog Joystick: Right Stick, RIGHT →
psx.input.port1.analogjoy.rstick_right 

;psx, Virtual Port 1, Analog Joystick: Right Stick, FORE ↑
psx.input.port1.analogjoy.rstick_up 

;psx, Virtual Port 1, Analog Joystick: SELECT
psx.input.port1.analogjoy.select 

;psx, Virtual Port 1, Analog Joystick: Right stick, Trigger
psx.input.port1.analogjoy.square 

;psx, Virtual Port 1, Analog Joystick: START
psx.input.port1.analogjoy.start 

;psx, Virtual Port 1, Analog Joystick: Right stick, Pinky
psx.input.port1.analogjoy.triangle 

;psx, Virtual Port 1, Analog Joystick: Thumbstick UP ↑
psx.input.port1.analogjoy.up 

;psx, Virtual Port 1, Dance Pad: ○ (upper right)
psx.input.port1.dancepad.circle keyboard 265

;psx, Virtual Port 1, Dance Pad: x (upper left)
psx.input.port1.dancepad.cross keyboard 263

;psx, Virtual Port 1, Dance Pad: DOWN ↓
psx.input.port1.dancepad.down keyboard 258

;psx, Virtual Port 1, Dance Pad: LEFT ←
psx.input.port1.dancepad.left keyboard 260

;psx, Virtual Port 1, Dance Pad: RIGHT →
psx.input.port1.dancepad.right keyboard 262

;psx, Virtual Port 1, Dance Pad: SELECT
psx.input.port1.dancepad.select keyboard 267

;psx, Virtual Port 1, Dance Pad: □ (lower right)
psx.input.port1.dancepad.square keyboard 259

;psx, Virtual Port 1, Dance Pad: START
psx.input.port1.dancepad.start keyboard 268

;psx, Virtual Port 1, Dance Pad: △ (lower left)
psx.input.port1.dancepad.triangle keyboard 257

;psx, Virtual Port 1, Dance Pad: UP ↑
psx.input.port1.dancepad.up keyboard 264

;psx, Virtual Port 1, Dual Analog: ○ (right)
psx.input.port1.dualanalog.circle 

;psx, Virtual Port 1, Dual Analog: x (lower)
psx.input.port1.dualanalog.cross 

;psx, Virtual Port 1, Dual Analog: D-Pad DOWN ↓
psx.input.port1.dualanalog.down 

;psx, Virtual Port 1, Dual Analog: L1 (front left shoulder)
psx.input.port1.dualanalog.l1 

;psx, Virtual Port 1, Dual Analog: L2 (rear left shoulder)
psx.input.port1.dualanalog.l2 

;psx, Virtual Port 1, Dual Analog: Left Stick, Button(L3)
psx.input.port1.dualanalog.l3 

;psx, Virtual Port 1, Dual Analog: D-Pad LEFT ←
psx.input.port1.dualanalog.left 

;psx, Virtual Port 1, Dual Analog: Left Stick DOWN ↓
psx.input.port1.dualanalog.lstick_down 

;psx, Virtual Port 1, Dual Analog: Left Stick LEFT ←
psx.input.port1.dualanalog.lstick_left 

;psx, Virtual Port 1, Dual Analog: Left Stick RIGHT →
psx.input.port1.dualanalog.lstick_right 

;psx, Virtual Port 1, Dual Analog: Left Stick UP ↑
psx.input.port1.dualanalog.lstick_up 

;psx, Virtual Port 1, Dual Analog: R1 (front right shoulder)
psx.input.port1.dualanalog.r1 

;psx, Virtual Port 1, Dual Analog: R2 (rear right shoulder)
psx.input.port1.dualanalog.r2 

;psx, Virtual Port 1, Dual Analog: Right stick, Button(R3)
psx.input.port1.dualanalog.r3 

;psx, Virtual Port 1, Dual Analog: Rapid ○ (right)
psx.input.port1.dualanalog.rapid_circle 

;psx, Virtual Port 1, Dual Analog: Rapid x (lower)
psx.input.port1.dualanalog.rapid_cross 

;psx, Virtual Port 1, Dual Analog: Rapid □ (left)
psx.input.port1.dualanalog.rapid_square 

;psx, Virtual Port 1, Dual Analog: Rapid △ (upper)
psx.input.port1.dualanalog.rapid_triangle 

;psx, Virtual Port 1, Dual Analog: D-Pad RIGHT →
psx.input.port1.dualanalog.right 

;psx, Virtual Port 1, Dual Analog: Right Stick DOWN ↓
psx.input.port1.dualanalog.rstick_down 

;psx, Virtual Port 1, Dual Analog: Right Stick LEFT ←
psx.input.port1.dualanalog.rstick_left 

;psx, Virtual Port 1, Dual Analog: Right Stick RIGHT →
psx.input.port1.dualanalog.rstick_right 

;psx, Virtual Port 1, Dual Analog: Right Stick UP ↑
psx.input.port1.dualanalog.rstick_up 

;psx, Virtual Port 1, Dual Analog: SELECT
psx.input.port1.dualanalog.select 

;psx, Virtual Port 1, Dual Analog: □ (left)
psx.input.port1.dualanalog.square 

;psx, Virtual Port 1, Dual Analog: START
psx.input.port1.dualanalog.start 

;psx, Virtual Port 1, Dual Analog: △ (upper)
psx.input.port1.dualanalog.triangle 

;psx, Virtual Port 1, Dual Analog: D-Pad UP ↑
psx.input.port1.dualanalog.up 

;psx, Virtual Port 1, DualShock: Analog(mode toggle)
psx.input.port1.dualshock.analog 

;psx, Virtual Port 1, DualShock: ○ (right)
psx.input.port1.dualshock.circle 

;psx, Virtual Port 1, DualShock: x (lower)
psx.input.port1.dualshock.cross 

;psx, Virtual Port 1, DualShock: D-Pad DOWN ↓
psx.input.port1.dualshock.down 

;psx, Virtual Port 1, DualShock: L1 (front left shoulder)
psx.input.port1.dualshock.l1 

;psx, Virtual Port 1, DualShock: L2 (rear left shoulder)
psx.input.port1.dualshock.l2 

;psx, Virtual Port 1, DualShock: Left Stick, Button(L3)
psx.input.port1.dualshock.l3 

;psx, Virtual Port 1, DualShock: D-Pad LEFT ←
psx.input.port1.dualshock.left 

;psx, Virtual Port 1, DualShock: Left Stick DOWN ↓
psx.input.port1.dualshock.lstick_down 

;psx, Virtual Port 1, DualShock: Left Stick LEFT ←
psx.input.port1.dualshock.lstick_left 

;psx, Virtual Port 1, DualShock: Left Stick RIGHT →
psx.input.port1.dualshock.lstick_right 

;psx, Virtual Port 1, DualShock: Left Stick UP ↑
psx.input.port1.dualshock.lstick_up 

;psx, Virtual Port 1, DualShock: R1 (front right shoulder)
psx.input.port1.dualshock.r1 

;psx, Virtual Port 1, DualShock: R2 (rear right shoulder)
psx.input.port1.dualshock.r2 

;psx, Virtual Port 1, DualShock: Right stick, Button(R3)
psx.input.port1.dualshock.r3 

;psx, Virtual Port 1, DualShock: Rapid ○ (right)
psx.input.port1.dualshock.rapid_circle 

;psx, Virtual Port 1, DualShock: Rapid x (lower)
psx.input.port1.dualshock.rapid_cross 

;psx, Virtual Port 1, DualShock: Rapid □ (left)
psx.input.port1.dualshock.rapid_square 

;psx, Virtual Port 1, DualShock: Rapid △ (upper)
psx.input.port1.dualshock.rapid_triangle 

;psx, Virtual Port 1, DualShock: D-Pad RIGHT →
psx.input.port1.dualshock.right 

;psx, Virtual Port 1, DualShock: Right Stick DOWN ↓
psx.input.port1.dualshock.rstick_down 

;psx, Virtual Port 1, DualShock: Right Stick LEFT ←
psx.input.port1.dualshock.rstick_left 

;psx, Virtual Port 1, DualShock: Right Stick RIGHT →
psx.input.port1.dualshock.rstick_right 

;psx, Virtual Port 1, DualShock: Right Stick UP ↑
psx.input.port1.dualshock.rstick_up 

;psx, Virtual Port 1, DualShock: SELECT
psx.input.port1.dualshock.select 

;psx, Virtual Port 1, DualShock: □ (left)
psx.input.port1.dualshock.square 

;psx, Virtual Port 1, DualShock: START
psx.input.port1.dualshock.start 

;psx, Virtual Port 1, DualShock: △ (upper)
psx.input.port1.dualshock.triangle 

;psx, Virtual Port 1, DualShock: D-Pad UP ↑
psx.input.port1.dualshock.up 

;psx, Virtual Port 1, Digital Gamepad: ○ (right)
psx.input.port1.gamepad.circle keyboard 122~keyboard 13~keyboard 32

;psx, Virtual Port 1, Digital Gamepad: x (lower)
psx.input.port1.gamepad.cross keyboard 120

;psx, Virtual Port 1, Digital Gamepad: DOWN ↓
psx.input.port1.gamepad.down keyboard 274

;psx, Virtual Port 1, Digital Gamepad: L1 (front left shoulder)
psx.input.port1.gamepad.l1 keyboard 0

;psx, Virtual Port 1, Digital Gamepad: L2 (rear left shoulder)
psx.input.port1.gamepad.l2 keyboard 0

;psx, Virtual Port 1, Digital Gamepad: LEFT ←
psx.input.port1.gamepad.left keyboard 276

;psx, Virtual Port 1, Digital Gamepad: R1 (front right shoulder)
psx.input.port1.gamepad.r1 keyboard 0

;psx, Virtual Port 1, Digital Gamepad: R2 (rear right shoulder)
psx.input.port1.gamepad.r2 keyboard 303~keyboard 304

;psx, Virtual Port 1, Digital Gamepad: Rapid ○ (right)
psx.input.port1.gamepad.rapid_circle keyboard 0

;psx, Virtual Port 1, Digital Gamepad: Rapid x (lower)
psx.input.port1.gamepad.rapid_cross keyboard 0

;psx, Virtual Port 1, Digital Gamepad: Rapid □ (left)
psx.input.port1.gamepad.rapid_square keyboard 0

;psx, Virtual Port 1, Digital Gamepad: Rapid △ (upper)
psx.input.port1.gamepad.rapid_triangle keyboard 0

;psx, Virtual Port 1, Digital Gamepad: RIGHT →
psx.input.port1.gamepad.right keyboard 275

;psx, Virtual Port 1, Digital Gamepad: SELECT
psx.input.port1.gamepad.select keyboard 46

;psx, Virtual Port 1, Digital Gamepad: □ (left)
psx.input.port1.gamepad.square keyboard 109

;psx, Virtual Port 1, Digital Gamepad: START
psx.input.port1.gamepad.start keyboard 27~keyboard 46

;psx, Virtual Port 1, Digital Gamepad: △ (upper)
psx.input.port1.gamepad.triangle keyboard 27

;psx, Virtual Port 1, Digital Gamepad: UP ↑
psx.input.port1.gamepad.up keyboard 273

;Crosshairs color for lightgun on virtual port 1.
psx.input.port1.gun_chairs 0xFF0000

;psx, Virtual Port 1, GunCon: A
psx.input.port1.guncon.a mouse 2

;psx, Virtual Port 1, GunCon: B
psx.input.port1.guncon.b mouse 1

;psx, Virtual Port 1, GunCon: Offscreen Shot(Simulated)
psx.input.port1.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 1, GunCon: Trigger
psx.input.port1.guncon.trigger mouse 0

;psx, Virtual Port 1, Konami Justifier: O
psx.input.port1.justifier.o mouse 2

;psx, Virtual Port 1, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port1.justifier.offscreen_shot keyboard 32

;psx, Virtual Port 1, Konami Justifier: Start
psx.input.port1.justifier.start mouse 1

;psx, Virtual Port 1, Konami Justifier: Trigger
psx.input.port1.justifier.trigger mouse 0

;Emulate memcard on virtual port 1.
psx.input.port1.memcard 1

;psx, Virtual Port 1, Mouse: Left Button
psx.input.port1.mouse.left mouse 0

;psx, Virtual Port 1, Mouse: Right Button
psx.input.port1.mouse.right mouse 2

;psx, Virtual Port 1, neGcon: A
psx.input.port1.negcon.a 

;psx, Virtual Port 1, neGcon: B
psx.input.port1.negcon.b 

;psx, Virtual Port 1, neGcon: D-Pad DOWN ↓
psx.input.port1.negcon.down 

;psx, Virtual Port 1, neGcon: I (Analog)
psx.input.port1.negcon.i 

;psx, Virtual Port 1, neGcon: II (Analog)
psx.input.port1.negcon.ii 

;psx, Virtual Port 1, neGcon: Left Shoulder (Analog)
psx.input.port1.negcon.l 

;psx, Virtual Port 1, neGcon: D-Pad LEFT ←
psx.input.port1.negcon.left 

;psx, Virtual Port 1, neGcon: Right Shoulder
psx.input.port1.negcon.r 

;psx, Virtual Port 1, neGcon: D-Pad RIGHT →
psx.input.port1.negcon.right 

;psx, Virtual Port 1, neGcon: START
psx.input.port1.negcon.start 

;psx, Virtual Port 1, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port1.negcon.twist_ccwise 

;psx, Virtual Port 1, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port1.negcon.twist_cwise 

;psx, Virtual Port 1, neGcon: D-Pad UP ↑
psx.input.port1.negcon.up 

;Input device for Virtual Port 2
psx.input.port2 gamepad

;psx, Virtual Port 2, Analog Joystick: Right stick, R-thumb
psx.input.port2.analogjoy.circle 

;psx, Virtual Port 2, Analog Joystick: Right stick, L-thumb
psx.input.port2.analogjoy.cross 

;psx, Virtual Port 2, Analog Joystick: Thumbstick DOWN ↓
psx.input.port2.analogjoy.down 

;psx, Virtual Port 2, Analog Joystick: Left stick, L-thumb
psx.input.port2.analogjoy.l1 

;psx, Virtual Port 2, Analog Joystick: Left stick, Trigger
psx.input.port2.analogjoy.l2 

;psx, Virtual Port 2, Analog Joystick: Thumbstick LEFT ←
psx.input.port2.analogjoy.left 

;psx, Virtual Port 2, Analog Joystick: Left Stick, BACK ↓
psx.input.port2.analogjoy.lstick_down 

;psx, Virtual Port 2, Analog Joystick: Left Stick, LEFT ←
psx.input.port2.analogjoy.lstick_left 

;psx, Virtual Port 2, Analog Joystick: Left Stick, RIGHT →
psx.input.port2.analogjoy.lstick_right 

;psx, Virtual Port 2, Analog Joystick: Left Stick, FORE ↑
psx.input.port2.analogjoy.lstick_up 

;psx, Virtual Port 2, Analog Joystick: Left stick, R-thumb
psx.input.port2.analogjoy.r1 

;psx, Virtual Port 2, Analog Joystick: Left stick, Pinky
psx.input.port2.analogjoy.r2 

;psx, Virtual Port 2, Analog Joystick: Thumbstick RIGHT →
psx.input.port2.analogjoy.right 

;psx, Virtual Port 2, Analog Joystick: Right Stick, BACK ↓
psx.input.port2.analogjoy.rstick_down 

;psx, Virtual Port 2, Analog Joystick: Right Stick, LEFT ←
psx.input.port2.analogjoy.rstick_left 

;psx, Virtual Port 2, Analog Joystick: Right Stick, RIGHT →
psx.input.port2.analogjoy.rstick_right 

;psx, Virtual Port 2, Analog Joystick: Right Stick, FORE ↑
psx.input.port2.analogjoy.rstick_up 

;psx, Virtual Port 2, Analog Joystick: SELECT
psx.input.port2.analogjoy.select 

;psx, Virtual Port 2, Analog Joystick: Right stick, Trigger
psx.input.port2.analogjoy.square 

;psx, Virtual Port 2, Analog Joystick: START
psx.input.port2.analogjoy.start 

;psx, Virtual Port 2, Analog Joystick: Right stick, Pinky
psx.input.port2.analogjoy.triangle 

;psx, Virtual Port 2, Analog Joystick: Thumbstick UP ↑
psx.input.port2.analogjoy.up 

;psx, Virtual Port 2, Dance Pad: ○ (upper right)
psx.input.port2.dancepad.circle 

;psx, Virtual Port 2, Dance Pad: x (upper left)
psx.input.port2.dancepad.cross 

;psx, Virtual Port 2, Dance Pad: DOWN ↓
psx.input.port2.dancepad.down 

;psx, Virtual Port 2, Dance Pad: LEFT ←
psx.input.port2.dancepad.left 

;psx, Virtual Port 2, Dance Pad: RIGHT →
psx.input.port2.dancepad.right 

;psx, Virtual Port 2, Dance Pad: SELECT
psx.input.port2.dancepad.select 

;psx, Virtual Port 2, Dance Pad: □ (lower right)
psx.input.port2.dancepad.square 

;psx, Virtual Port 2, Dance Pad: START
psx.input.port2.dancepad.start 

;psx, Virtual Port 2, Dance Pad: △ (lower left)
psx.input.port2.dancepad.triangle 

;psx, Virtual Port 2, Dance Pad: UP ↑
psx.input.port2.dancepad.up 

;psx, Virtual Port 2, Dual Analog: ○ (right)
psx.input.port2.dualanalog.circle 

;psx, Virtual Port 2, Dual Analog: x (lower)
psx.input.port2.dualanalog.cross 

;psx, Virtual Port 2, Dual Analog: D-Pad DOWN ↓
psx.input.port2.dualanalog.down 

;psx, Virtual Port 2, Dual Analog: L1 (front left shoulder)
psx.input.port2.dualanalog.l1 

;psx, Virtual Port 2, Dual Analog: L2 (rear left shoulder)
psx.input.port2.dualanalog.l2 

;psx, Virtual Port 2, Dual Analog: Left Stick, Button(L3)
psx.input.port2.dualanalog.l3 

;psx, Virtual Port 2, Dual Analog: D-Pad LEFT ←
psx.input.port2.dualanalog.left 

;psx, Virtual Port 2, Dual Analog: Left Stick DOWN ↓
psx.input.port2.dualanalog.lstick_down 

;psx, Virtual Port 2, Dual Analog: Left Stick LEFT ←
psx.input.port2.dualanalog.lstick_left 

;psx, Virtual Port 2, Dual Analog: Left Stick RIGHT →
psx.input.port2.dualanalog.lstick_right 

;psx, Virtual Port 2, Dual Analog: Left Stick UP ↑
psx.input.port2.dualanalog.lstick_up 

;psx, Virtual Port 2, Dual Analog: R1 (front right shoulder)
psx.input.port2.dualanalog.r1 

;psx, Virtual Port 2, Dual Analog: R2 (rear right shoulder)
psx.input.port2.dualanalog.r2 

;psx, Virtual Port 2, Dual Analog: Right stick, Button(R3)
psx.input.port2.dualanalog.r3 

;psx, Virtual Port 2, Dual Analog: Rapid ○ (right)
psx.input.port2.dualanalog.rapid_circle 

;psx, Virtual Port 2, Dual Analog: Rapid x (lower)
psx.input.port2.dualanalog.rapid_cross 

;psx, Virtual Port 2, Dual Analog: Rapid □ (left)
psx.input.port2.dualanalog.rapid_square 

;psx, Virtual Port 2, Dual Analog: Rapid △ (upper)
psx.input.port2.dualanalog.rapid_triangle 

;psx, Virtual Port 2, Dual Analog: D-Pad RIGHT →
psx.input.port2.dualanalog.right 

;psx, Virtual Port 2, Dual Analog: Right Stick DOWN ↓
psx.input.port2.dualanalog.rstick_down 

;psx, Virtual Port 2, Dual Analog: Right Stick LEFT ←
psx.input.port2.dualanalog.rstick_left 

;psx, Virtual Port 2, Dual Analog: Right Stick RIGHT →
psx.input.port2.dualanalog.rstick_right 

;psx, Virtual Port 2, Dual Analog: Right Stick UP ↑
psx.input.port2.dualanalog.rstick_up 

;psx, Virtual Port 2, Dual Analog: SELECT
psx.input.port2.dualanalog.select 

;psx, Virtual Port 2, Dual Analog: □ (left)
psx.input.port2.dualanalog.square 

;psx, Virtual Port 2, Dual Analog: START
psx.input.port2.dualanalog.start 

;psx, Virtual Port 2, Dual Analog: △ (upper)
psx.input.port2.dualanalog.triangle 

;psx, Virtual Port 2, Dual Analog: D-Pad UP ↑
psx.input.port2.dualanalog.up 

;psx, Virtual Port 2, DualShock: Analog(mode toggle)
psx.input.port2.dualshock.analog 

;psx, Virtual Port 2, DualShock: ○ (right)
psx.input.port2.dualshock.circle 

;psx, Virtual Port 2, DualShock: x (lower)
psx.input.port2.dualshock.cross 

;psx, Virtual Port 2, DualShock: D-Pad DOWN ↓
psx.input.port2.dualshock.down 

;psx, Virtual Port 2, DualShock: L1 (front left shoulder)
psx.input.port2.dualshock.l1 

;psx, Virtual Port 2, DualShock: L2 (rear left shoulder)
psx.input.port2.dualshock.l2 

;psx, Virtual Port 2, DualShock: Left Stick, Button(L3)
psx.input.port2.dualshock.l3 

;psx, Virtual Port 2, DualShock: D-Pad LEFT ←
psx.input.port2.dualshock.left 

;psx, Virtual Port 2, DualShock: Left Stick DOWN ↓
psx.input.port2.dualshock.lstick_down 

;psx, Virtual Port 2, DualShock: Left Stick LEFT ←
psx.input.port2.dualshock.lstick_left 

;psx, Virtual Port 2, DualShock: Left Stick RIGHT →
psx.input.port2.dualshock.lstick_right 

;psx, Virtual Port 2, DualShock: Left Stick UP ↑
psx.input.port2.dualshock.lstick_up 

;psx, Virtual Port 2, DualShock: R1 (front right shoulder)
psx.input.port2.dualshock.r1 

;psx, Virtual Port 2, DualShock: R2 (rear right shoulder)
psx.input.port2.dualshock.r2 

;psx, Virtual Port 2, DualShock: Right stick, Button(R3)
psx.input.port2.dualshock.r3 

;psx, Virtual Port 2, DualShock: Rapid ○ (right)
psx.input.port2.dualshock.rapid_circle 

;psx, Virtual Port 2, DualShock: Rapid x (lower)
psx.input.port2.dualshock.rapid_cross 

;psx, Virtual Port 2, DualShock: Rapid □ (left)
psx.input.port2.dualshock.rapid_square 

;psx, Virtual Port 2, DualShock: Rapid △ (upper)
psx.input.port2.dualshock.rapid_triangle 

;psx, Virtual Port 2, DualShock: D-Pad RIGHT →
psx.input.port2.dualshock.right 

;psx, Virtual Port 2, DualShock: Right Stick DOWN ↓
psx.input.port2.dualshock.rstick_down 

;psx, Virtual Port 2, DualShock: Right Stick LEFT ←
psx.input.port2.dualshock.rstick_left 

;psx, Virtual Port 2, DualShock: Right Stick RIGHT →
psx.input.port2.dualshock.rstick_right 

;psx, Virtual Port 2, DualShock: Right Stick UP ↑
psx.input.port2.dualshock.rstick_up 

;psx, Virtual Port 2, DualShock: SELECT
psx.input.port2.dualshock.select 

;psx, Virtual Port 2, DualShock: □ (left)
psx.input.port2.dualshock.square 

;psx, Virtual Port 2, DualShock: START
psx.input.port2.dualshock.start 

;psx, Virtual Port 2, DualShock: △ (upper)
psx.input.port2.dualshock.triangle 

;psx, Virtual Port 2, DualShock: D-Pad UP ↑
psx.input.port2.dualshock.up 

;psx, Virtual Port 2, Digital Gamepad: ○ (right)
psx.input.port2.gamepad.circle 

;psx, Virtual Port 2, Digital Gamepad: x (lower)
psx.input.port2.gamepad.cross 

;psx, Virtual Port 2, Digital Gamepad: DOWN ↓
psx.input.port2.gamepad.down 

;psx, Virtual Port 2, Digital Gamepad: L1 (front left shoulder)
psx.input.port2.gamepad.l1 

;psx, Virtual Port 2, Digital Gamepad: L2 (rear left shoulder)
psx.input.port2.gamepad.l2 

;psx, Virtual Port 2, Digital Gamepad: LEFT ←
psx.input.port2.gamepad.left 

;psx, Virtual Port 2, Digital Gamepad: R1 (front right shoulder)
psx.input.port2.gamepad.r1 

;psx, Virtual Port 2, Digital Gamepad: R2 (rear right shoulder)
psx.input.port2.gamepad.r2 

;psx, Virtual Port 2, Digital Gamepad: Rapid ○ (right)
psx.input.port2.gamepad.rapid_circle 

;psx, Virtual Port 2, Digital Gamepad: Rapid x (lower)
psx.input.port2.gamepad.rapid_cross 

;psx, Virtual Port 2, Digital Gamepad: Rapid □ (left)
psx.input.port2.gamepad.rapid_square 

;psx, Virtual Port 2, Digital Gamepad: Rapid △ (upper)
psx.input.port2.gamepad.rapid_triangle 

;psx, Virtual Port 2, Digital Gamepad: RIGHT →
psx.input.port2.gamepad.right 

;psx, Virtual Port 2, Digital Gamepad: SELECT
psx.input.port2.gamepad.select 

;psx, Virtual Port 2, Digital Gamepad: □ (left)
psx.input.port2.gamepad.square 

;psx, Virtual Port 2, Digital Gamepad: START
psx.input.port2.gamepad.start 

;psx, Virtual Port 2, Digital Gamepad: △ (upper)
psx.input.port2.gamepad.triangle 

;psx, Virtual Port 2, Digital Gamepad: UP ↑
psx.input.port2.gamepad.up 

;Crosshairs color for lightgun on virtual port 2.
psx.input.port2.gun_chairs 0x00FF00

;psx, Virtual Port 2, GunCon: A
psx.input.port2.guncon.a mouse 2

;psx, Virtual Port 2, GunCon: B
psx.input.port2.guncon.b mouse 1

;psx, Virtual Port 2, GunCon: Offscreen Shot(Simulated)
psx.input.port2.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 2, GunCon: Trigger
psx.input.port2.guncon.trigger mouse 0

;psx, Virtual Port 2, Konami Justifier: O
psx.input.port2.justifier.o mouse 2

;psx, Virtual Port 2, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port2.justifier.offscreen_shot keyboard 32

;psx, Virtual Port 2, Konami Justifier: Start
psx.input.port2.justifier.start mouse 1

;psx, Virtual Port 2, Konami Justifier: Trigger
psx.input.port2.justifier.trigger mouse 0

;Emulate memcard on virtual port 2.
psx.input.port2.memcard 1

;psx, Virtual Port 2, Mouse: Left Button
psx.input.port2.mouse.left mouse 0

;psx, Virtual Port 2, Mouse: Right Button
psx.input.port2.mouse.right mouse 2

;psx, Virtual Port 2, neGcon: A
psx.input.port2.negcon.a 

;psx, Virtual Port 2, neGcon: B
psx.input.port2.negcon.b 

;psx, Virtual Port 2, neGcon: D-Pad DOWN ↓
psx.input.port2.negcon.down 

;psx, Virtual Port 2, neGcon: I (Analog)
psx.input.port2.negcon.i 

;psx, Virtual Port 2, neGcon: II (Analog)
psx.input.port2.negcon.ii 

;psx, Virtual Port 2, neGcon: Left Shoulder (Analog)
psx.input.port2.negcon.l 

;psx, Virtual Port 2, neGcon: D-Pad LEFT ←
psx.input.port2.negcon.left 

;psx, Virtual Port 2, neGcon: Right Shoulder
psx.input.port2.negcon.r 

;psx, Virtual Port 2, neGcon: D-Pad RIGHT →
psx.input.port2.negcon.right 

;psx, Virtual Port 2, neGcon: START
psx.input.port2.negcon.start 

;psx, Virtual Port 2, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port2.negcon.twist_ccwise 

;psx, Virtual Port 2, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port2.negcon.twist_cwise 

;psx, Virtual Port 2, neGcon: D-Pad UP ↑
psx.input.port2.negcon.up 

;Input device for Virtual Port 3
psx.input.port3 gamepad

;psx, Virtual Port 3, Analog Joystick: Right stick, R-thumb
psx.input.port3.analogjoy.circle 

;psx, Virtual Port 3, Analog Joystick: Right stick, L-thumb
psx.input.port3.analogjoy.cross 

;psx, Virtual Port 3, Analog Joystick: Thumbstick DOWN ↓
psx.input.port3.analogjoy.down 

;psx, Virtual Port 3, Analog Joystick: Left stick, L-thumb
psx.input.port3.analogjoy.l1 

;psx, Virtual Port 3, Analog Joystick: Left stick, Trigger
psx.input.port3.analogjoy.l2 

;psx, Virtual Port 3, Analog Joystick: Thumbstick LEFT ←
psx.input.port3.analogjoy.left 

;psx, Virtual Port 3, Analog Joystick: Left Stick, BACK ↓
psx.input.port3.analogjoy.lstick_down 

;psx, Virtual Port 3, Analog Joystick: Left Stick, LEFT ←
psx.input.port3.analogjoy.lstick_left 

;psx, Virtual Port 3, Analog Joystick: Left Stick, RIGHT →
psx.input.port3.analogjoy.lstick_right 

;psx, Virtual Port 3, Analog Joystick: Left Stick, FORE ↑
psx.input.port3.analogjoy.lstick_up 

;psx, Virtual Port 3, Analog Joystick: Left stick, R-thumb
psx.input.port3.analogjoy.r1 

;psx, Virtual Port 3, Analog Joystick: Left stick, Pinky
psx.input.port3.analogjoy.r2 

;psx, Virtual Port 3, Analog Joystick: Thumbstick RIGHT →
psx.input.port3.analogjoy.right 

;psx, Virtual Port 3, Analog Joystick: Right Stick, BACK ↓
psx.input.port3.analogjoy.rstick_down 

;psx, Virtual Port 3, Analog Joystick: Right Stick, LEFT ←
psx.input.port3.analogjoy.rstick_left 

;psx, Virtual Port 3, Analog Joystick: Right Stick, RIGHT →
psx.input.port3.analogjoy.rstick_right 

;psx, Virtual Port 3, Analog Joystick: Right Stick, FORE ↑
psx.input.port3.analogjoy.rstick_up 

;psx, Virtual Port 3, Analog Joystick: SELECT
psx.input.port3.analogjoy.select 

;psx, Virtual Port 3, Analog Joystick: Right stick, Trigger
psx.input.port3.analogjoy.square 

;psx, Virtual Port 3, Analog Joystick: START
psx.input.port3.analogjoy.start 

;psx, Virtual Port 3, Analog Joystick: Right stick, Pinky
psx.input.port3.analogjoy.triangle 

;psx, Virtual Port 3, Analog Joystick: Thumbstick UP ↑
psx.input.port3.analogjoy.up 

;psx, Virtual Port 3, Dance Pad: ○ (upper right)
psx.input.port3.dancepad.circle 

;psx, Virtual Port 3, Dance Pad: x (upper left)
psx.input.port3.dancepad.cross 

;psx, Virtual Port 3, Dance Pad: DOWN ↓
psx.input.port3.dancepad.down 

;psx, Virtual Port 3, Dance Pad: LEFT ←
psx.input.port3.dancepad.left 

;psx, Virtual Port 3, Dance Pad: RIGHT →
psx.input.port3.dancepad.right 

;psx, Virtual Port 3, Dance Pad: SELECT
psx.input.port3.dancepad.select 

;psx, Virtual Port 3, Dance Pad: □ (lower right)
psx.input.port3.dancepad.square 

;psx, Virtual Port 3, Dance Pad: START
psx.input.port3.dancepad.start 

;psx, Virtual Port 3, Dance Pad: △ (lower left)
psx.input.port3.dancepad.triangle 

;psx, Virtual Port 3, Dance Pad: UP ↑
psx.input.port3.dancepad.up 

;psx, Virtual Port 3, Dual Analog: ○ (right)
psx.input.port3.dualanalog.circle 

;psx, Virtual Port 3, Dual Analog: x (lower)
psx.input.port3.dualanalog.cross 

;psx, Virtual Port 3, Dual Analog: D-Pad DOWN ↓
psx.input.port3.dualanalog.down 

;psx, Virtual Port 3, Dual Analog: L1 (front left shoulder)
psx.input.port3.dualanalog.l1 

;psx, Virtual Port 3, Dual Analog: L2 (rear left shoulder)
psx.input.port3.dualanalog.l2 

;psx, Virtual Port 3, Dual Analog: Left Stick, Button(L3)
psx.input.port3.dualanalog.l3 

;psx, Virtual Port 3, Dual Analog: D-Pad LEFT ←
psx.input.port3.dualanalog.left 

;psx, Virtual Port 3, Dual Analog: Left Stick DOWN ↓
psx.input.port3.dualanalog.lstick_down 

;psx, Virtual Port 3, Dual Analog: Left Stick LEFT ←
psx.input.port3.dualanalog.lstick_left 

;psx, Virtual Port 3, Dual Analog: Left Stick RIGHT →
psx.input.port3.dualanalog.lstick_right 

;psx, Virtual Port 3, Dual Analog: Left Stick UP ↑
psx.input.port3.dualanalog.lstick_up 

;psx, Virtual Port 3, Dual Analog: R1 (front right shoulder)
psx.input.port3.dualanalog.r1 

;psx, Virtual Port 3, Dual Analog: R2 (rear right shoulder)
psx.input.port3.dualanalog.r2 

;psx, Virtual Port 3, Dual Analog: Right stick, Button(R3)
psx.input.port3.dualanalog.r3 

;psx, Virtual Port 3, Dual Analog: Rapid ○ (right)
psx.input.port3.dualanalog.rapid_circle 

;psx, Virtual Port 3, Dual Analog: Rapid x (lower)
psx.input.port3.dualanalog.rapid_cross 

;psx, Virtual Port 3, Dual Analog: Rapid □ (left)
psx.input.port3.dualanalog.rapid_square 

;psx, Virtual Port 3, Dual Analog: Rapid △ (upper)
psx.input.port3.dualanalog.rapid_triangle 

;psx, Virtual Port 3, Dual Analog: D-Pad RIGHT →
psx.input.port3.dualanalog.right 

;psx, Virtual Port 3, Dual Analog: Right Stick DOWN ↓
psx.input.port3.dualanalog.rstick_down 

;psx, Virtual Port 3, Dual Analog: Right Stick LEFT ←
psx.input.port3.dualanalog.rstick_left 

;psx, Virtual Port 3, Dual Analog: Right Stick RIGHT →
psx.input.port3.dualanalog.rstick_right 

;psx, Virtual Port 3, Dual Analog: Right Stick UP ↑
psx.input.port3.dualanalog.rstick_up 

;psx, Virtual Port 3, Dual Analog: SELECT
psx.input.port3.dualanalog.select 

;psx, Virtual Port 3, Dual Analog: □ (left)
psx.input.port3.dualanalog.square 

;psx, Virtual Port 3, Dual Analog: START
psx.input.port3.dualanalog.start 

;psx, Virtual Port 3, Dual Analog: △ (upper)
psx.input.port3.dualanalog.triangle 

;psx, Virtual Port 3, Dual Analog: D-Pad UP ↑
psx.input.port3.dualanalog.up 

;psx, Virtual Port 3, DualShock: Analog(mode toggle)
psx.input.port3.dualshock.analog 

;psx, Virtual Port 3, DualShock: ○ (right)
psx.input.port3.dualshock.circle 

;psx, Virtual Port 3, DualShock: x (lower)
psx.input.port3.dualshock.cross 

;psx, Virtual Port 3, DualShock: D-Pad DOWN ↓
psx.input.port3.dualshock.down 

;psx, Virtual Port 3, DualShock: L1 (front left shoulder)
psx.input.port3.dualshock.l1 

;psx, Virtual Port 3, DualShock: L2 (rear left shoulder)
psx.input.port3.dualshock.l2 

;psx, Virtual Port 3, DualShock: Left Stick, Button(L3)
psx.input.port3.dualshock.l3 

;psx, Virtual Port 3, DualShock: D-Pad LEFT ←
psx.input.port3.dualshock.left 

;psx, Virtual Port 3, DualShock: Left Stick DOWN ↓
psx.input.port3.dualshock.lstick_down 

;psx, Virtual Port 3, DualShock: Left Stick LEFT ←
psx.input.port3.dualshock.lstick_left 

;psx, Virtual Port 3, DualShock: Left Stick RIGHT →
psx.input.port3.dualshock.lstick_right 

;psx, Virtual Port 3, DualShock: Left Stick UP ↑
psx.input.port3.dualshock.lstick_up 

;psx, Virtual Port 3, DualShock: R1 (front right shoulder)
psx.input.port3.dualshock.r1 

;psx, Virtual Port 3, DualShock: R2 (rear right shoulder)
psx.input.port3.dualshock.r2 

;psx, Virtual Port 3, DualShock: Right stick, Button(R3)
psx.input.port3.dualshock.r3 

;psx, Virtual Port 3, DualShock: Rapid ○ (right)
psx.input.port3.dualshock.rapid_circle 

;psx, Virtual Port 3, DualShock: Rapid x (lower)
psx.input.port3.dualshock.rapid_cross 

;psx, Virtual Port 3, DualShock: Rapid □ (left)
psx.input.port3.dualshock.rapid_square 

;psx, Virtual Port 3, DualShock: Rapid △ (upper)
psx.input.port3.dualshock.rapid_triangle 

;psx, Virtual Port 3, DualShock: D-Pad RIGHT →
psx.input.port3.dualshock.right 

;psx, Virtual Port 3, DualShock: Right Stick DOWN ↓
psx.input.port3.dualshock.rstick_down 

;psx, Virtual Port 3, DualShock: Right Stick LEFT ←
psx.input.port3.dualshock.rstick_left 

;psx, Virtual Port 3, DualShock: Right Stick RIGHT →
psx.input.port3.dualshock.rstick_right 

;psx, Virtual Port 3, DualShock: Right Stick UP ↑
psx.input.port3.dualshock.rstick_up 

;psx, Virtual Port 3, DualShock: SELECT
psx.input.port3.dualshock.select 

;psx, Virtual Port 3, DualShock: □ (left)
psx.input.port3.dualshock.square 

;psx, Virtual Port 3, DualShock: START
psx.input.port3.dualshock.start 

;psx, Virtual Port 3, DualShock: △ (upper)
psx.input.port3.dualshock.triangle 

;psx, Virtual Port 3, DualShock: D-Pad UP ↑
psx.input.port3.dualshock.up 

;psx, Virtual Port 3, Digital Gamepad: ○ (right)
psx.input.port3.gamepad.circle 

;psx, Virtual Port 3, Digital Gamepad: x (lower)
psx.input.port3.gamepad.cross 

;psx, Virtual Port 3, Digital Gamepad: DOWN ↓
psx.input.port3.gamepad.down 

;psx, Virtual Port 3, Digital Gamepad: L1 (front left shoulder)
psx.input.port3.gamepad.l1 

;psx, Virtual Port 3, Digital Gamepad: L2 (rear left shoulder)
psx.input.port3.gamepad.l2 

;psx, Virtual Port 3, Digital Gamepad: LEFT ←
psx.input.port3.gamepad.left 

;psx, Virtual Port 3, Digital Gamepad: R1 (front right shoulder)
psx.input.port3.gamepad.r1 

;psx, Virtual Port 3, Digital Gamepad: R2 (rear right shoulder)
psx.input.port3.gamepad.r2 

;psx, Virtual Port 3, Digital Gamepad: Rapid ○ (right)
psx.input.port3.gamepad.rapid_circle 

;psx, Virtual Port 3, Digital Gamepad: Rapid x (lower)
psx.input.port3.gamepad.rapid_cross 

;psx, Virtual Port 3, Digital Gamepad: Rapid □ (left)
psx.input.port3.gamepad.rapid_square 

;psx, Virtual Port 3, Digital Gamepad: Rapid △ (upper)
psx.input.port3.gamepad.rapid_triangle 

;psx, Virtual Port 3, Digital Gamepad: RIGHT →
psx.input.port3.gamepad.right 

;psx, Virtual Port 3, Digital Gamepad: SELECT
psx.input.port3.gamepad.select 

;psx, Virtual Port 3, Digital Gamepad: □ (left)
psx.input.port3.gamepad.square 

;psx, Virtual Port 3, Digital Gamepad: START
psx.input.port3.gamepad.start 

;psx, Virtual Port 3, Digital Gamepad: △ (upper)
psx.input.port3.gamepad.triangle 

;psx, Virtual Port 3, Digital Gamepad: UP ↑
psx.input.port3.gamepad.up 

;Crosshairs color for lightgun on virtual port 3.
psx.input.port3.gun_chairs 0xFF00FF

;psx, Virtual Port 3, GunCon: A
psx.input.port3.guncon.a mouse 2

;psx, Virtual Port 3, GunCon: B
psx.input.port3.guncon.b mouse 1

;psx, Virtual Port 3, GunCon: Offscreen Shot(Simulated)
psx.input.port3.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 3, GunCon: Trigger
psx.input.port3.guncon.trigger mouse 0

;psx, Virtual Port 3, Konami Justifier: O
psx.input.port3.justifier.o 

;psx, Virtual Port 3, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port3.justifier.offscreen_shot 

;psx, Virtual Port 3, Konami Justifier: Start
psx.input.port3.justifier.start 

;psx, Virtual Port 3, Konami Justifier: Trigger
psx.input.port3.justifier.trigger 

;Emulate memcard on virtual port 3.
psx.input.port3.memcard 1

;psx, Virtual Port 3, Mouse: Left Button
psx.input.port3.mouse.left mouse 0

;psx, Virtual Port 3, Mouse: Right Button
psx.input.port3.mouse.right mouse 2

;psx, Virtual Port 3, neGcon: A
psx.input.port3.negcon.a 

;psx, Virtual Port 3, neGcon: B
psx.input.port3.negcon.b 

;psx, Virtual Port 3, neGcon: D-Pad DOWN ↓
psx.input.port3.negcon.down 

;psx, Virtual Port 3, neGcon: I (Analog)
psx.input.port3.negcon.i 

;psx, Virtual Port 3, neGcon: II (Analog)
psx.input.port3.negcon.ii 

;psx, Virtual Port 3, neGcon: Left Shoulder (Analog)
psx.input.port3.negcon.l 

;psx, Virtual Port 3, neGcon: D-Pad LEFT ←
psx.input.port3.negcon.left 

;psx, Virtual Port 3, neGcon: Right Shoulder
psx.input.port3.negcon.r 

;psx, Virtual Port 3, neGcon: D-Pad RIGHT →
psx.input.port3.negcon.right 

;psx, Virtual Port 3, neGcon: START
psx.input.port3.negcon.start 

;psx, Virtual Port 3, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port3.negcon.twist_ccwise 

;psx, Virtual Port 3, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port3.negcon.twist_cwise 

;psx, Virtual Port 3, neGcon: D-Pad UP ↑
psx.input.port3.negcon.up 

;Input device for Virtual Port 4
psx.input.port4 gamepad

;psx, Virtual Port 4, Analog Joystick: Right stick, R-thumb
psx.input.port4.analogjoy.circle 

;psx, Virtual Port 4, Analog Joystick: Right stick, L-thumb
psx.input.port4.analogjoy.cross 

;psx, Virtual Port 4, Analog Joystick: Thumbstick DOWN ↓
psx.input.port4.analogjoy.down 

;psx, Virtual Port 4, Analog Joystick: Left stick, L-thumb
psx.input.port4.analogjoy.l1 

;psx, Virtual Port 4, Analog Joystick: Left stick, Trigger
psx.input.port4.analogjoy.l2 

;psx, Virtual Port 4, Analog Joystick: Thumbstick LEFT ←
psx.input.port4.analogjoy.left 

;psx, Virtual Port 4, Analog Joystick: Left Stick, BACK ↓
psx.input.port4.analogjoy.lstick_down 

;psx, Virtual Port 4, Analog Joystick: Left Stick, LEFT ←
psx.input.port4.analogjoy.lstick_left 

;psx, Virtual Port 4, Analog Joystick: Left Stick, RIGHT →
psx.input.port4.analogjoy.lstick_right 

;psx, Virtual Port 4, Analog Joystick: Left Stick, FORE ↑
psx.input.port4.analogjoy.lstick_up 

;psx, Virtual Port 4, Analog Joystick: Left stick, R-thumb
psx.input.port4.analogjoy.r1 

;psx, Virtual Port 4, Analog Joystick: Left stick, Pinky
psx.input.port4.analogjoy.r2 

;psx, Virtual Port 4, Analog Joystick: Thumbstick RIGHT →
psx.input.port4.analogjoy.right 

;psx, Virtual Port 4, Analog Joystick: Right Stick, BACK ↓
psx.input.port4.analogjoy.rstick_down 

;psx, Virtual Port 4, Analog Joystick: Right Stick, LEFT ←
psx.input.port4.analogjoy.rstick_left 

;psx, Virtual Port 4, Analog Joystick: Right Stick, RIGHT →
psx.input.port4.analogjoy.rstick_right 

;psx, Virtual Port 4, Analog Joystick: Right Stick, FORE ↑
psx.input.port4.analogjoy.rstick_up 

;psx, Virtual Port 4, Analog Joystick: SELECT
psx.input.port4.analogjoy.select 

;psx, Virtual Port 4, Analog Joystick: Right stick, Trigger
psx.input.port4.analogjoy.square 

;psx, Virtual Port 4, Analog Joystick: START
psx.input.port4.analogjoy.start 

;psx, Virtual Port 4, Analog Joystick: Right stick, Pinky
psx.input.port4.analogjoy.triangle 

;psx, Virtual Port 4, Analog Joystick: Thumbstick UP ↑
psx.input.port4.analogjoy.up 

;psx, Virtual Port 4, Dance Pad: ○ (upper right)
psx.input.port4.dancepad.circle 

;psx, Virtual Port 4, Dance Pad: x (upper left)
psx.input.port4.dancepad.cross 

;psx, Virtual Port 4, Dance Pad: DOWN ↓
psx.input.port4.dancepad.down 

;psx, Virtual Port 4, Dance Pad: LEFT ←
psx.input.port4.dancepad.left 

;psx, Virtual Port 4, Dance Pad: RIGHT →
psx.input.port4.dancepad.right 

;psx, Virtual Port 4, Dance Pad: SELECT
psx.input.port4.dancepad.select 

;psx, Virtual Port 4, Dance Pad: □ (lower right)
psx.input.port4.dancepad.square 

;psx, Virtual Port 4, Dance Pad: START
psx.input.port4.dancepad.start 

;psx, Virtual Port 4, Dance Pad: △ (lower left)
psx.input.port4.dancepad.triangle 

;psx, Virtual Port 4, Dance Pad: UP ↑
psx.input.port4.dancepad.up 

;psx, Virtual Port 4, Dual Analog: ○ (right)
psx.input.port4.dualanalog.circle 

;psx, Virtual Port 4, Dual Analog: x (lower)
psx.input.port4.dualanalog.cross 

;psx, Virtual Port 4, Dual Analog: D-Pad DOWN ↓
psx.input.port4.dualanalog.down 

;psx, Virtual Port 4, Dual Analog: L1 (front left shoulder)
psx.input.port4.dualanalog.l1 

;psx, Virtual Port 4, Dual Analog: L2 (rear left shoulder)
psx.input.port4.dualanalog.l2 

;psx, Virtual Port 4, Dual Analog: Left Stick, Button(L3)
psx.input.port4.dualanalog.l3 

;psx, Virtual Port 4, Dual Analog: D-Pad LEFT ←
psx.input.port4.dualanalog.left 

;psx, Virtual Port 4, Dual Analog: Left Stick DOWN ↓
psx.input.port4.dualanalog.lstick_down 

;psx, Virtual Port 4, Dual Analog: Left Stick LEFT ←
psx.input.port4.dualanalog.lstick_left 

;psx, Virtual Port 4, Dual Analog: Left Stick RIGHT →
psx.input.port4.dualanalog.lstick_right 

;psx, Virtual Port 4, Dual Analog: Left Stick UP ↑
psx.input.port4.dualanalog.lstick_up 

;psx, Virtual Port 4, Dual Analog: R1 (front right shoulder)
psx.input.port4.dualanalog.r1 

;psx, Virtual Port 4, Dual Analog: R2 (rear right shoulder)
psx.input.port4.dualanalog.r2 

;psx, Virtual Port 4, Dual Analog: Right stick, Button(R3)
psx.input.port4.dualanalog.r3 

;psx, Virtual Port 4, Dual Analog: Rapid ○ (right)
psx.input.port4.dualanalog.rapid_circle 

;psx, Virtual Port 4, Dual Analog: Rapid x (lower)
psx.input.port4.dualanalog.rapid_cross 

;psx, Virtual Port 4, Dual Analog: Rapid □ (left)
psx.input.port4.dualanalog.rapid_square 

;psx, Virtual Port 4, Dual Analog: Rapid △ (upper)
psx.input.port4.dualanalog.rapid_triangle 

;psx, Virtual Port 4, Dual Analog: D-Pad RIGHT →
psx.input.port4.dualanalog.right 

;psx, Virtual Port 4, Dual Analog: Right Stick DOWN ↓
psx.input.port4.dualanalog.rstick_down 

;psx, Virtual Port 4, Dual Analog: Right Stick LEFT ←
psx.input.port4.dualanalog.rstick_left 

;psx, Virtual Port 4, Dual Analog: Right Stick RIGHT →
psx.input.port4.dualanalog.rstick_right 

;psx, Virtual Port 4, Dual Analog: Right Stick UP ↑
psx.input.port4.dualanalog.rstick_up 

;psx, Virtual Port 4, Dual Analog: SELECT
psx.input.port4.dualanalog.select 

;psx, Virtual Port 4, Dual Analog: □ (left)
psx.input.port4.dualanalog.square 

;psx, Virtual Port 4, Dual Analog: START
psx.input.port4.dualanalog.start 

;psx, Virtual Port 4, Dual Analog: △ (upper)
psx.input.port4.dualanalog.triangle 

;psx, Virtual Port 4, Dual Analog: D-Pad UP ↑
psx.input.port4.dualanalog.up 

;psx, Virtual Port 4, DualShock: Analog(mode toggle)
psx.input.port4.dualshock.analog 

;psx, Virtual Port 4, DualShock: ○ (right)
psx.input.port4.dualshock.circle 

;psx, Virtual Port 4, DualShock: x (lower)
psx.input.port4.dualshock.cross 

;psx, Virtual Port 4, DualShock: D-Pad DOWN ↓
psx.input.port4.dualshock.down 

;psx, Virtual Port 4, DualShock: L1 (front left shoulder)
psx.input.port4.dualshock.l1 

;psx, Virtual Port 4, DualShock: L2 (rear left shoulder)
psx.input.port4.dualshock.l2 

;psx, Virtual Port 4, DualShock: Left Stick, Button(L3)
psx.input.port4.dualshock.l3 

;psx, Virtual Port 4, DualShock: D-Pad LEFT ←
psx.input.port4.dualshock.left 

;psx, Virtual Port 4, DualShock: Left Stick DOWN ↓
psx.input.port4.dualshock.lstick_down 

;psx, Virtual Port 4, DualShock: Left Stick LEFT ←
psx.input.port4.dualshock.lstick_left 

;psx, Virtual Port 4, DualShock: Left Stick RIGHT →
psx.input.port4.dualshock.lstick_right 

;psx, Virtual Port 4, DualShock: Left Stick UP ↑
psx.input.port4.dualshock.lstick_up 

;psx, Virtual Port 4, DualShock: R1 (front right shoulder)
psx.input.port4.dualshock.r1 

;psx, Virtual Port 4, DualShock: R2 (rear right shoulder)
psx.input.port4.dualshock.r2 

;psx, Virtual Port 4, DualShock: Right stick, Button(R3)
psx.input.port4.dualshock.r3 

;psx, Virtual Port 4, DualShock: Rapid ○ (right)
psx.input.port4.dualshock.rapid_circle 

;psx, Virtual Port 4, DualShock: Rapid x (lower)
psx.input.port4.dualshock.rapid_cross 

;psx, Virtual Port 4, DualShock: Rapid □ (left)
psx.input.port4.dualshock.rapid_square 

;psx, Virtual Port 4, DualShock: Rapid △ (upper)
psx.input.port4.dualshock.rapid_triangle 

;psx, Virtual Port 4, DualShock: D-Pad RIGHT →
psx.input.port4.dualshock.right 

;psx, Virtual Port 4, DualShock: Right Stick DOWN ↓
psx.input.port4.dualshock.rstick_down 

;psx, Virtual Port 4, DualShock: Right Stick LEFT ←
psx.input.port4.dualshock.rstick_left 

;psx, Virtual Port 4, DualShock: Right Stick RIGHT →
psx.input.port4.dualshock.rstick_right 

;psx, Virtual Port 4, DualShock: Right Stick UP ↑
psx.input.port4.dualshock.rstick_up 

;psx, Virtual Port 4, DualShock: SELECT
psx.input.port4.dualshock.select 

;psx, Virtual Port 4, DualShock: □ (left)
psx.input.port4.dualshock.square 

;psx, Virtual Port 4, DualShock: START
psx.input.port4.dualshock.start 

;psx, Virtual Port 4, DualShock: △ (upper)
psx.input.port4.dualshock.triangle 

;psx, Virtual Port 4, DualShock: D-Pad UP ↑
psx.input.port4.dualshock.up 

;psx, Virtual Port 4, Digital Gamepad: ○ (right)
psx.input.port4.gamepad.circle 

;psx, Virtual Port 4, Digital Gamepad: x (lower)
psx.input.port4.gamepad.cross 

;psx, Virtual Port 4, Digital Gamepad: DOWN ↓
psx.input.port4.gamepad.down 

;psx, Virtual Port 4, Digital Gamepad: L1 (front left shoulder)
psx.input.port4.gamepad.l1 

;psx, Virtual Port 4, Digital Gamepad: L2 (rear left shoulder)
psx.input.port4.gamepad.l2 

;psx, Virtual Port 4, Digital Gamepad: LEFT ←
psx.input.port4.gamepad.left 

;psx, Virtual Port 4, Digital Gamepad: R1 (front right shoulder)
psx.input.port4.gamepad.r1 

;psx, Virtual Port 4, Digital Gamepad: R2 (rear right shoulder)
psx.input.port4.gamepad.r2 

;psx, Virtual Port 4, Digital Gamepad: Rapid ○ (right)
psx.input.port4.gamepad.rapid_circle 

;psx, Virtual Port 4, Digital Gamepad: Rapid x (lower)
psx.input.port4.gamepad.rapid_cross 

;psx, Virtual Port 4, Digital Gamepad: Rapid □ (left)
psx.input.port4.gamepad.rapid_square 

;psx, Virtual Port 4, Digital Gamepad: Rapid △ (upper)
psx.input.port4.gamepad.rapid_triangle 

;psx, Virtual Port 4, Digital Gamepad: RIGHT →
psx.input.port4.gamepad.right 

;psx, Virtual Port 4, Digital Gamepad: SELECT
psx.input.port4.gamepad.select 

;psx, Virtual Port 4, Digital Gamepad: □ (left)
psx.input.port4.gamepad.square 

;psx, Virtual Port 4, Digital Gamepad: START
psx.input.port4.gamepad.start 

;psx, Virtual Port 4, Digital Gamepad: △ (upper)
psx.input.port4.gamepad.triangle 

;psx, Virtual Port 4, Digital Gamepad: UP ↑
psx.input.port4.gamepad.up 

;Crosshairs color for lightgun on virtual port 4.
psx.input.port4.gun_chairs 0xFF8000

;psx, Virtual Port 4, GunCon: A
psx.input.port4.guncon.a mouse 2

;psx, Virtual Port 4, GunCon: B
psx.input.port4.guncon.b mouse 1

;psx, Virtual Port 4, GunCon: Offscreen Shot(Simulated)
psx.input.port4.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 4, GunCon: Trigger
psx.input.port4.guncon.trigger mouse 0

;psx, Virtual Port 4, Konami Justifier: O
psx.input.port4.justifier.o 

;psx, Virtual Port 4, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port4.justifier.offscreen_shot 

;psx, Virtual Port 4, Konami Justifier: Start
psx.input.port4.justifier.start 

;psx, Virtual Port 4, Konami Justifier: Trigger
psx.input.port4.justifier.trigger 

;Emulate memcard on virtual port 4.
psx.input.port4.memcard 1

;psx, Virtual Port 4, Mouse: Left Button
psx.input.port4.mouse.left mouse 0

;psx, Virtual Port 4, Mouse: Right Button
psx.input.port4.mouse.right mouse 2

;psx, Virtual Port 4, neGcon: A
psx.input.port4.negcon.a 

;psx, Virtual Port 4, neGcon: B
psx.input.port4.negcon.b 

;psx, Virtual Port 4, neGcon: D-Pad DOWN ↓
psx.input.port4.negcon.down 

;psx, Virtual Port 4, neGcon: I (Analog)
psx.input.port4.negcon.i 

;psx, Virtual Port 4, neGcon: II (Analog)
psx.input.port4.negcon.ii 

;psx, Virtual Port 4, neGcon: Left Shoulder (Analog)
psx.input.port4.negcon.l 

;psx, Virtual Port 4, neGcon: D-Pad LEFT ←
psx.input.port4.negcon.left 

;psx, Virtual Port 4, neGcon: Right Shoulder
psx.input.port4.negcon.r 

;psx, Virtual Port 4, neGcon: D-Pad RIGHT →
psx.input.port4.negcon.right 

;psx, Virtual Port 4, neGcon: START
psx.input.port4.negcon.start 

;psx, Virtual Port 4, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port4.negcon.twist_ccwise 

;psx, Virtual Port 4, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port4.negcon.twist_cwise 

;psx, Virtual Port 4, neGcon: D-Pad UP ↑
psx.input.port4.negcon.up 

;Input device for Virtual Port 5
psx.input.port5 gamepad

;psx, Virtual Port 5, Analog Joystick: Right stick, R-thumb
psx.input.port5.analogjoy.circle 

;psx, Virtual Port 5, Analog Joystick: Right stick, L-thumb
psx.input.port5.analogjoy.cross 

;psx, Virtual Port 5, Analog Joystick: Thumbstick DOWN ↓
psx.input.port5.analogjoy.down 

;psx, Virtual Port 5, Analog Joystick: Left stick, L-thumb
psx.input.port5.analogjoy.l1 

;psx, Virtual Port 5, Analog Joystick: Left stick, Trigger
psx.input.port5.analogjoy.l2 

;psx, Virtual Port 5, Analog Joystick: Thumbstick LEFT ←
psx.input.port5.analogjoy.left 

;psx, Virtual Port 5, Analog Joystick: Left Stick, BACK ↓
psx.input.port5.analogjoy.lstick_down 

;psx, Virtual Port 5, Analog Joystick: Left Stick, LEFT ←
psx.input.port5.analogjoy.lstick_left 

;psx, Virtual Port 5, Analog Joystick: Left Stick, RIGHT →
psx.input.port5.analogjoy.lstick_right 

;psx, Virtual Port 5, Analog Joystick: Left Stick, FORE ↑
psx.input.port5.analogjoy.lstick_up 

;psx, Virtual Port 5, Analog Joystick: Left stick, R-thumb
psx.input.port5.analogjoy.r1 

;psx, Virtual Port 5, Analog Joystick: Left stick, Pinky
psx.input.port5.analogjoy.r2 

;psx, Virtual Port 5, Analog Joystick: Thumbstick RIGHT →
psx.input.port5.analogjoy.right 

;psx, Virtual Port 5, Analog Joystick: Right Stick, BACK ↓
psx.input.port5.analogjoy.rstick_down 

;psx, Virtual Port 5, Analog Joystick: Right Stick, LEFT ←
psx.input.port5.analogjoy.rstick_left 

;psx, Virtual Port 5, Analog Joystick: Right Stick, RIGHT →
psx.input.port5.analogjoy.rstick_right 

;psx, Virtual Port 5, Analog Joystick: Right Stick, FORE ↑
psx.input.port5.analogjoy.rstick_up 

;psx, Virtual Port 5, Analog Joystick: SELECT
psx.input.port5.analogjoy.select 

;psx, Virtual Port 5, Analog Joystick: Right stick, Trigger
psx.input.port5.analogjoy.square 

;psx, Virtual Port 5, Analog Joystick: START
psx.input.port5.analogjoy.start 

;psx, Virtual Port 5, Analog Joystick: Right stick, Pinky
psx.input.port5.analogjoy.triangle 

;psx, Virtual Port 5, Analog Joystick: Thumbstick UP ↑
psx.input.port5.analogjoy.up 

;psx, Virtual Port 5, Dance Pad: ○ (upper right)
psx.input.port5.dancepad.circle 

;psx, Virtual Port 5, Dance Pad: x (upper left)
psx.input.port5.dancepad.cross 

;psx, Virtual Port 5, Dance Pad: DOWN ↓
psx.input.port5.dancepad.down 

;psx, Virtual Port 5, Dance Pad: LEFT ←
psx.input.port5.dancepad.left 

;psx, Virtual Port 5, Dance Pad: RIGHT →
psx.input.port5.dancepad.right 

;psx, Virtual Port 5, Dance Pad: SELECT
psx.input.port5.dancepad.select 

;psx, Virtual Port 5, Dance Pad: □ (lower right)
psx.input.port5.dancepad.square 

;psx, Virtual Port 5, Dance Pad: START
psx.input.port5.dancepad.start 

;psx, Virtual Port 5, Dance Pad: △ (lower left)
psx.input.port5.dancepad.triangle 

;psx, Virtual Port 5, Dance Pad: UP ↑
psx.input.port5.dancepad.up 

;psx, Virtual Port 5, Dual Analog: ○ (right)
psx.input.port5.dualanalog.circle 

;psx, Virtual Port 5, Dual Analog: x (lower)
psx.input.port5.dualanalog.cross 

;psx, Virtual Port 5, Dual Analog: D-Pad DOWN ↓
psx.input.port5.dualanalog.down 

;psx, Virtual Port 5, Dual Analog: L1 (front left shoulder)
psx.input.port5.dualanalog.l1 

;psx, Virtual Port 5, Dual Analog: L2 (rear left shoulder)
psx.input.port5.dualanalog.l2 

;psx, Virtual Port 5, Dual Analog: Left Stick, Button(L3)
psx.input.port5.dualanalog.l3 

;psx, Virtual Port 5, Dual Analog: D-Pad LEFT ←
psx.input.port5.dualanalog.left 

;psx, Virtual Port 5, Dual Analog: Left Stick DOWN ↓
psx.input.port5.dualanalog.lstick_down 

;psx, Virtual Port 5, Dual Analog: Left Stick LEFT ←
psx.input.port5.dualanalog.lstick_left 

;psx, Virtual Port 5, Dual Analog: Left Stick RIGHT →
psx.input.port5.dualanalog.lstick_right 

;psx, Virtual Port 5, Dual Analog: Left Stick UP ↑
psx.input.port5.dualanalog.lstick_up 

;psx, Virtual Port 5, Dual Analog: R1 (front right shoulder)
psx.input.port5.dualanalog.r1 

;psx, Virtual Port 5, Dual Analog: R2 (rear right shoulder)
psx.input.port5.dualanalog.r2 

;psx, Virtual Port 5, Dual Analog: Right stick, Button(R3)
psx.input.port5.dualanalog.r3 

;psx, Virtual Port 5, Dual Analog: Rapid ○ (right)
psx.input.port5.dualanalog.rapid_circle 

;psx, Virtual Port 5, Dual Analog: Rapid x (lower)
psx.input.port5.dualanalog.rapid_cross 

;psx, Virtual Port 5, Dual Analog: Rapid □ (left)
psx.input.port5.dualanalog.rapid_square 

;psx, Virtual Port 5, Dual Analog: Rapid △ (upper)
psx.input.port5.dualanalog.rapid_triangle 

;psx, Virtual Port 5, Dual Analog: D-Pad RIGHT →
psx.input.port5.dualanalog.right 

;psx, Virtual Port 5, Dual Analog: Right Stick DOWN ↓
psx.input.port5.dualanalog.rstick_down 

;psx, Virtual Port 5, Dual Analog: Right Stick LEFT ←
psx.input.port5.dualanalog.rstick_left 

;psx, Virtual Port 5, Dual Analog: Right Stick RIGHT →
psx.input.port5.dualanalog.rstick_right 

;psx, Virtual Port 5, Dual Analog: Right Stick UP ↑
psx.input.port5.dualanalog.rstick_up 

;psx, Virtual Port 5, Dual Analog: SELECT
psx.input.port5.dualanalog.select 

;psx, Virtual Port 5, Dual Analog: □ (left)
psx.input.port5.dualanalog.square 

;psx, Virtual Port 5, Dual Analog: START
psx.input.port5.dualanalog.start 

;psx, Virtual Port 5, Dual Analog: △ (upper)
psx.input.port5.dualanalog.triangle 

;psx, Virtual Port 5, Dual Analog: D-Pad UP ↑
psx.input.port5.dualanalog.up 

;psx, Virtual Port 5, DualShock: Analog(mode toggle)
psx.input.port5.dualshock.analog 

;psx, Virtual Port 5, DualShock: ○ (right)
psx.input.port5.dualshock.circle 

;psx, Virtual Port 5, DualShock: x (lower)
psx.input.port5.dualshock.cross 

;psx, Virtual Port 5, DualShock: D-Pad DOWN ↓
psx.input.port5.dualshock.down 

;psx, Virtual Port 5, DualShock: L1 (front left shoulder)
psx.input.port5.dualshock.l1 

;psx, Virtual Port 5, DualShock: L2 (rear left shoulder)
psx.input.port5.dualshock.l2 

;psx, Virtual Port 5, DualShock: Left Stick, Button(L3)
psx.input.port5.dualshock.l3 

;psx, Virtual Port 5, DualShock: D-Pad LEFT ←
psx.input.port5.dualshock.left 

;psx, Virtual Port 5, DualShock: Left Stick DOWN ↓
psx.input.port5.dualshock.lstick_down 

;psx, Virtual Port 5, DualShock: Left Stick LEFT ←
psx.input.port5.dualshock.lstick_left 

;psx, Virtual Port 5, DualShock: Left Stick RIGHT →
psx.input.port5.dualshock.lstick_right 

;psx, Virtual Port 5, DualShock: Left Stick UP ↑
psx.input.port5.dualshock.lstick_up 

;psx, Virtual Port 5, DualShock: R1 (front right shoulder)
psx.input.port5.dualshock.r1 

;psx, Virtual Port 5, DualShock: R2 (rear right shoulder)
psx.input.port5.dualshock.r2 

;psx, Virtual Port 5, DualShock: Right stick, Button(R3)
psx.input.port5.dualshock.r3 

;psx, Virtual Port 5, DualShock: Rapid ○ (right)
psx.input.port5.dualshock.rapid_circle 

;psx, Virtual Port 5, DualShock: Rapid x (lower)
psx.input.port5.dualshock.rapid_cross 

;psx, Virtual Port 5, DualShock: Rapid □ (left)
psx.input.port5.dualshock.rapid_square 

;psx, Virtual Port 5, DualShock: Rapid △ (upper)
psx.input.port5.dualshock.rapid_triangle 

;psx, Virtual Port 5, DualShock: D-Pad RIGHT →
psx.input.port5.dualshock.right 

;psx, Virtual Port 5, DualShock: Right Stick DOWN ↓
psx.input.port5.dualshock.rstick_down 

;psx, Virtual Port 5, DualShock: Right Stick LEFT ←
psx.input.port5.dualshock.rstick_left 

;psx, Virtual Port 5, DualShock: Right Stick RIGHT →
psx.input.port5.dualshock.rstick_right 

;psx, Virtual Port 5, DualShock: Right Stick UP ↑
psx.input.port5.dualshock.rstick_up 

;psx, Virtual Port 5, DualShock: SELECT
psx.input.port5.dualshock.select 

;psx, Virtual Port 5, DualShock: □ (left)
psx.input.port5.dualshock.square 

;psx, Virtual Port 5, DualShock: START
psx.input.port5.dualshock.start 

;psx, Virtual Port 5, DualShock: △ (upper)
psx.input.port5.dualshock.triangle 

;psx, Virtual Port 5, DualShock: D-Pad UP ↑
psx.input.port5.dualshock.up 

;psx, Virtual Port 5, Digital Gamepad: ○ (right)
psx.input.port5.gamepad.circle 

;psx, Virtual Port 5, Digital Gamepad: x (lower)
psx.input.port5.gamepad.cross 

;psx, Virtual Port 5, Digital Gamepad: DOWN ↓
psx.input.port5.gamepad.down 

;psx, Virtual Port 5, Digital Gamepad: L1 (front left shoulder)
psx.input.port5.gamepad.l1 

;psx, Virtual Port 5, Digital Gamepad: L2 (rear left shoulder)
psx.input.port5.gamepad.l2 

;psx, Virtual Port 5, Digital Gamepad: LEFT ←
psx.input.port5.gamepad.left 

;psx, Virtual Port 5, Digital Gamepad: R1 (front right shoulder)
psx.input.port5.gamepad.r1 

;psx, Virtual Port 5, Digital Gamepad: R2 (rear right shoulder)
psx.input.port5.gamepad.r2 

;psx, Virtual Port 5, Digital Gamepad: Rapid ○ (right)
psx.input.port5.gamepad.rapid_circle 

;psx, Virtual Port 5, Digital Gamepad: Rapid x (lower)
psx.input.port5.gamepad.rapid_cross 

;psx, Virtual Port 5, Digital Gamepad: Rapid □ (left)
psx.input.port5.gamepad.rapid_square 

;psx, Virtual Port 5, Digital Gamepad: Rapid △ (upper)
psx.input.port5.gamepad.rapid_triangle 

;psx, Virtual Port 5, Digital Gamepad: RIGHT →
psx.input.port5.gamepad.right 

;psx, Virtual Port 5, Digital Gamepad: SELECT
psx.input.port5.gamepad.select 

;psx, Virtual Port 5, Digital Gamepad: □ (left)
psx.input.port5.gamepad.square 

;psx, Virtual Port 5, Digital Gamepad: START
psx.input.port5.gamepad.start 

;psx, Virtual Port 5, Digital Gamepad: △ (upper)
psx.input.port5.gamepad.triangle 

;psx, Virtual Port 5, Digital Gamepad: UP ↑
psx.input.port5.gamepad.up 

;Crosshairs color for lightgun on virtual port 5.
psx.input.port5.gun_chairs 0xFFFF00

;psx, Virtual Port 5, GunCon: A
psx.input.port5.guncon.a mouse 2

;psx, Virtual Port 5, GunCon: B
psx.input.port5.guncon.b mouse 1

;psx, Virtual Port 5, GunCon: Offscreen Shot(Simulated)
psx.input.port5.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 5, GunCon: Trigger
psx.input.port5.guncon.trigger mouse 0

;psx, Virtual Port 5, Konami Justifier: O
psx.input.port5.justifier.o 

;psx, Virtual Port 5, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port5.justifier.offscreen_shot 

;psx, Virtual Port 5, Konami Justifier: Start
psx.input.port5.justifier.start 

;psx, Virtual Port 5, Konami Justifier: Trigger
psx.input.port5.justifier.trigger 

;Emulate memcard on virtual port 5.
psx.input.port5.memcard 1

;psx, Virtual Port 5, Mouse: Left Button
psx.input.port5.mouse.left mouse 0

;psx, Virtual Port 5, Mouse: Right Button
psx.input.port5.mouse.right mouse 2

;psx, Virtual Port 5, neGcon: A
psx.input.port5.negcon.a 

;psx, Virtual Port 5, neGcon: B
psx.input.port5.negcon.b 

;psx, Virtual Port 5, neGcon: D-Pad DOWN ↓
psx.input.port5.negcon.down 

;psx, Virtual Port 5, neGcon: I (Analog)
psx.input.port5.negcon.i 

;psx, Virtual Port 5, neGcon: II (Analog)
psx.input.port5.negcon.ii 

;psx, Virtual Port 5, neGcon: Left Shoulder (Analog)
psx.input.port5.negcon.l 

;psx, Virtual Port 5, neGcon: D-Pad LEFT ←
psx.input.port5.negcon.left 

;psx, Virtual Port 5, neGcon: Right Shoulder
psx.input.port5.negcon.r 

;psx, Virtual Port 5, neGcon: D-Pad RIGHT →
psx.input.port5.negcon.right 

;psx, Virtual Port 5, neGcon: START
psx.input.port5.negcon.start 

;psx, Virtual Port 5, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port5.negcon.twist_ccwise 

;psx, Virtual Port 5, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port5.negcon.twist_cwise 

;psx, Virtual Port 5, neGcon: D-Pad UP ↑
psx.input.port5.negcon.up 

;Input device for Virtual Port 6
psx.input.port6 gamepad

;psx, Virtual Port 6, Analog Joystick: Right stick, R-thumb
psx.input.port6.analogjoy.circle 

;psx, Virtual Port 6, Analog Joystick: Right stick, L-thumb
psx.input.port6.analogjoy.cross 

;psx, Virtual Port 6, Analog Joystick: Thumbstick DOWN ↓
psx.input.port6.analogjoy.down 

;psx, Virtual Port 6, Analog Joystick: Left stick, L-thumb
psx.input.port6.analogjoy.l1 

;psx, Virtual Port 6, Analog Joystick: Left stick, Trigger
psx.input.port6.analogjoy.l2 

;psx, Virtual Port 6, Analog Joystick: Thumbstick LEFT ←
psx.input.port6.analogjoy.left 

;psx, Virtual Port 6, Analog Joystick: Left Stick, BACK ↓
psx.input.port6.analogjoy.lstick_down 

;psx, Virtual Port 6, Analog Joystick: Left Stick, LEFT ←
psx.input.port6.analogjoy.lstick_left 

;psx, Virtual Port 6, Analog Joystick: Left Stick, RIGHT →
psx.input.port6.analogjoy.lstick_right 

;psx, Virtual Port 6, Analog Joystick: Left Stick, FORE ↑
psx.input.port6.analogjoy.lstick_up 

;psx, Virtual Port 6, Analog Joystick: Left stick, R-thumb
psx.input.port6.analogjoy.r1 

;psx, Virtual Port 6, Analog Joystick: Left stick, Pinky
psx.input.port6.analogjoy.r2 

;psx, Virtual Port 6, Analog Joystick: Thumbstick RIGHT →
psx.input.port6.analogjoy.right 

;psx, Virtual Port 6, Analog Joystick: Right Stick, BACK ↓
psx.input.port6.analogjoy.rstick_down 

;psx, Virtual Port 6, Analog Joystick: Right Stick, LEFT ←
psx.input.port6.analogjoy.rstick_left 

;psx, Virtual Port 6, Analog Joystick: Right Stick, RIGHT →
psx.input.port6.analogjoy.rstick_right 

;psx, Virtual Port 6, Analog Joystick: Right Stick, FORE ↑
psx.input.port6.analogjoy.rstick_up 

;psx, Virtual Port 6, Analog Joystick: SELECT
psx.input.port6.analogjoy.select 

;psx, Virtual Port 6, Analog Joystick: Right stick, Trigger
psx.input.port6.analogjoy.square 

;psx, Virtual Port 6, Analog Joystick: START
psx.input.port6.analogjoy.start 

;psx, Virtual Port 6, Analog Joystick: Right stick, Pinky
psx.input.port6.analogjoy.triangle 

;psx, Virtual Port 6, Analog Joystick: Thumbstick UP ↑
psx.input.port6.analogjoy.up 

;psx, Virtual Port 6, Dance Pad: ○ (upper right)
psx.input.port6.dancepad.circle 

;psx, Virtual Port 6, Dance Pad: x (upper left)
psx.input.port6.dancepad.cross 

;psx, Virtual Port 6, Dance Pad: DOWN ↓
psx.input.port6.dancepad.down 

;psx, Virtual Port 6, Dance Pad: LEFT ←
psx.input.port6.dancepad.left 

;psx, Virtual Port 6, Dance Pad: RIGHT →
psx.input.port6.dancepad.right 

;psx, Virtual Port 6, Dance Pad: SELECT
psx.input.port6.dancepad.select 

;psx, Virtual Port 6, Dance Pad: □ (lower right)
psx.input.port6.dancepad.square 

;psx, Virtual Port 6, Dance Pad: START
psx.input.port6.dancepad.start 

;psx, Virtual Port 6, Dance Pad: △ (lower left)
psx.input.port6.dancepad.triangle 

;psx, Virtual Port 6, Dance Pad: UP ↑
psx.input.port6.dancepad.up 

;psx, Virtual Port 6, Dual Analog: ○ (right)
psx.input.port6.dualanalog.circle 

;psx, Virtual Port 6, Dual Analog: x (lower)
psx.input.port6.dualanalog.cross 

;psx, Virtual Port 6, Dual Analog: D-Pad DOWN ↓
psx.input.port6.dualanalog.down 

;psx, Virtual Port 6, Dual Analog: L1 (front left shoulder)
psx.input.port6.dualanalog.l1 

;psx, Virtual Port 6, Dual Analog: L2 (rear left shoulder)
psx.input.port6.dualanalog.l2 

;psx, Virtual Port 6, Dual Analog: Left Stick, Button(L3)
psx.input.port6.dualanalog.l3 

;psx, Virtual Port 6, Dual Analog: D-Pad LEFT ←
psx.input.port6.dualanalog.left 

;psx, Virtual Port 6, Dual Analog: Left Stick DOWN ↓
psx.input.port6.dualanalog.lstick_down 

;psx, Virtual Port 6, Dual Analog: Left Stick LEFT ←
psx.input.port6.dualanalog.lstick_left 

;psx, Virtual Port 6, Dual Analog: Left Stick RIGHT →
psx.input.port6.dualanalog.lstick_right 

;psx, Virtual Port 6, Dual Analog: Left Stick UP ↑
psx.input.port6.dualanalog.lstick_up 

;psx, Virtual Port 6, Dual Analog: R1 (front right shoulder)
psx.input.port6.dualanalog.r1 

;psx, Virtual Port 6, Dual Analog: R2 (rear right shoulder)
psx.input.port6.dualanalog.r2 

;psx, Virtual Port 6, Dual Analog: Right stick, Button(R3)
psx.input.port6.dualanalog.r3 

;psx, Virtual Port 6, Dual Analog: Rapid ○ (right)
psx.input.port6.dualanalog.rapid_circle 

;psx, Virtual Port 6, Dual Analog: Rapid x (lower)
psx.input.port6.dualanalog.rapid_cross 

;psx, Virtual Port 6, Dual Analog: Rapid □ (left)
psx.input.port6.dualanalog.rapid_square 

;psx, Virtual Port 6, Dual Analog: Rapid △ (upper)
psx.input.port6.dualanalog.rapid_triangle 

;psx, Virtual Port 6, Dual Analog: D-Pad RIGHT →
psx.input.port6.dualanalog.right 

;psx, Virtual Port 6, Dual Analog: Right Stick DOWN ↓
psx.input.port6.dualanalog.rstick_down 

;psx, Virtual Port 6, Dual Analog: Right Stick LEFT ←
psx.input.port6.dualanalog.rstick_left 

;psx, Virtual Port 6, Dual Analog: Right Stick RIGHT →
psx.input.port6.dualanalog.rstick_right 

;psx, Virtual Port 6, Dual Analog: Right Stick UP ↑
psx.input.port6.dualanalog.rstick_up 

;psx, Virtual Port 6, Dual Analog: SELECT
psx.input.port6.dualanalog.select 

;psx, Virtual Port 6, Dual Analog: □ (left)
psx.input.port6.dualanalog.square 

;psx, Virtual Port 6, Dual Analog: START
psx.input.port6.dualanalog.start 

;psx, Virtual Port 6, Dual Analog: △ (upper)
psx.input.port6.dualanalog.triangle 

;psx, Virtual Port 6, Dual Analog: D-Pad UP ↑
psx.input.port6.dualanalog.up 

;psx, Virtual Port 6, DualShock: Analog(mode toggle)
psx.input.port6.dualshock.analog 

;psx, Virtual Port 6, DualShock: ○ (right)
psx.input.port6.dualshock.circle 

;psx, Virtual Port 6, DualShock: x (lower)
psx.input.port6.dualshock.cross 

;psx, Virtual Port 6, DualShock: D-Pad DOWN ↓
psx.input.port6.dualshock.down 

;psx, Virtual Port 6, DualShock: L1 (front left shoulder)
psx.input.port6.dualshock.l1 

;psx, Virtual Port 6, DualShock: L2 (rear left shoulder)
psx.input.port6.dualshock.l2 

;psx, Virtual Port 6, DualShock: Left Stick, Button(L3)
psx.input.port6.dualshock.l3 

;psx, Virtual Port 6, DualShock: D-Pad LEFT ←
psx.input.port6.dualshock.left 

;psx, Virtual Port 6, DualShock: Left Stick DOWN ↓
psx.input.port6.dualshock.lstick_down 

;psx, Virtual Port 6, DualShock: Left Stick LEFT ←
psx.input.port6.dualshock.lstick_left 

;psx, Virtual Port 6, DualShock: Left Stick RIGHT →
psx.input.port6.dualshock.lstick_right 

;psx, Virtual Port 6, DualShock: Left Stick UP ↑
psx.input.port6.dualshock.lstick_up 

;psx, Virtual Port 6, DualShock: R1 (front right shoulder)
psx.input.port6.dualshock.r1 

;psx, Virtual Port 6, DualShock: R2 (rear right shoulder)
psx.input.port6.dualshock.r2 

;psx, Virtual Port 6, DualShock: Right stick, Button(R3)
psx.input.port6.dualshock.r3 

;psx, Virtual Port 6, DualShock: Rapid ○ (right)
psx.input.port6.dualshock.rapid_circle 

;psx, Virtual Port 6, DualShock: Rapid x (lower)
psx.input.port6.dualshock.rapid_cross 

;psx, Virtual Port 6, DualShock: Rapid □ (left)
psx.input.port6.dualshock.rapid_square 

;psx, Virtual Port 6, DualShock: Rapid △ (upper)
psx.input.port6.dualshock.rapid_triangle 

;psx, Virtual Port 6, DualShock: D-Pad RIGHT →
psx.input.port6.dualshock.right 

;psx, Virtual Port 6, DualShock: Right Stick DOWN ↓
psx.input.port6.dualshock.rstick_down 

;psx, Virtual Port 6, DualShock: Right Stick LEFT ←
psx.input.port6.dualshock.rstick_left 

;psx, Virtual Port 6, DualShock: Right Stick RIGHT →
psx.input.port6.dualshock.rstick_right 

;psx, Virtual Port 6, DualShock: Right Stick UP ↑
psx.input.port6.dualshock.rstick_up 

;psx, Virtual Port 6, DualShock: SELECT
psx.input.port6.dualshock.select 

;psx, Virtual Port 6, DualShock: □ (left)
psx.input.port6.dualshock.square 

;psx, Virtual Port 6, DualShock: START
psx.input.port6.dualshock.start 

;psx, Virtual Port 6, DualShock: △ (upper)
psx.input.port6.dualshock.triangle 

;psx, Virtual Port 6, DualShock: D-Pad UP ↑
psx.input.port6.dualshock.up 

;psx, Virtual Port 6, Digital Gamepad: ○ (right)
psx.input.port6.gamepad.circle 

;psx, Virtual Port 6, Digital Gamepad: x (lower)
psx.input.port6.gamepad.cross 

;psx, Virtual Port 6, Digital Gamepad: DOWN ↓
psx.input.port6.gamepad.down 

;psx, Virtual Port 6, Digital Gamepad: L1 (front left shoulder)
psx.input.port6.gamepad.l1 

;psx, Virtual Port 6, Digital Gamepad: L2 (rear left shoulder)
psx.input.port6.gamepad.l2 

;psx, Virtual Port 6, Digital Gamepad: LEFT ←
psx.input.port6.gamepad.left 

;psx, Virtual Port 6, Digital Gamepad: R1 (front right shoulder)
psx.input.port6.gamepad.r1 

;psx, Virtual Port 6, Digital Gamepad: R2 (rear right shoulder)
psx.input.port6.gamepad.r2 

;psx, Virtual Port 6, Digital Gamepad: Rapid ○ (right)
psx.input.port6.gamepad.rapid_circle 

;psx, Virtual Port 6, Digital Gamepad: Rapid x (lower)
psx.input.port6.gamepad.rapid_cross 

;psx, Virtual Port 6, Digital Gamepad: Rapid □ (left)
psx.input.port6.gamepad.rapid_square 

;psx, Virtual Port 6, Digital Gamepad: Rapid △ (upper)
psx.input.port6.gamepad.rapid_triangle 

;psx, Virtual Port 6, Digital Gamepad: RIGHT →
psx.input.port6.gamepad.right 

;psx, Virtual Port 6, Digital Gamepad: SELECT
psx.input.port6.gamepad.select 

;psx, Virtual Port 6, Digital Gamepad: □ (left)
psx.input.port6.gamepad.square 

;psx, Virtual Port 6, Digital Gamepad: START
psx.input.port6.gamepad.start 

;psx, Virtual Port 6, Digital Gamepad: △ (upper)
psx.input.port6.gamepad.triangle 

;psx, Virtual Port 6, Digital Gamepad: UP ↑
psx.input.port6.gamepad.up 

;Crosshairs color for lightgun on virtual port 6.
psx.input.port6.gun_chairs 0x00FFFF

;psx, Virtual Port 6, GunCon: A
psx.input.port6.guncon.a mouse 2

;psx, Virtual Port 6, GunCon: B
psx.input.port6.guncon.b mouse 1

;psx, Virtual Port 6, GunCon: Offscreen Shot(Simulated)
psx.input.port6.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 6, GunCon: Trigger
psx.input.port6.guncon.trigger mouse 0

;psx, Virtual Port 6, Konami Justifier: O
psx.input.port6.justifier.o 

;psx, Virtual Port 6, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port6.justifier.offscreen_shot 

;psx, Virtual Port 6, Konami Justifier: Start
psx.input.port6.justifier.start 

;psx, Virtual Port 6, Konami Justifier: Trigger
psx.input.port6.justifier.trigger 

;Emulate memcard on virtual port 6.
psx.input.port6.memcard 1

;psx, Virtual Port 6, Mouse: Left Button
psx.input.port6.mouse.left mouse 0

;psx, Virtual Port 6, Mouse: Right Button
psx.input.port6.mouse.right mouse 2

;psx, Virtual Port 6, neGcon: A
psx.input.port6.negcon.a 

;psx, Virtual Port 6, neGcon: B
psx.input.port6.negcon.b 

;psx, Virtual Port 6, neGcon: D-Pad DOWN ↓
psx.input.port6.negcon.down 

;psx, Virtual Port 6, neGcon: I (Analog)
psx.input.port6.negcon.i 

;psx, Virtual Port 6, neGcon: II (Analog)
psx.input.port6.negcon.ii 

;psx, Virtual Port 6, neGcon: Left Shoulder (Analog)
psx.input.port6.negcon.l 

;psx, Virtual Port 6, neGcon: D-Pad LEFT ←
psx.input.port6.negcon.left 

;psx, Virtual Port 6, neGcon: Right Shoulder
psx.input.port6.negcon.r 

;psx, Virtual Port 6, neGcon: D-Pad RIGHT →
psx.input.port6.negcon.right 

;psx, Virtual Port 6, neGcon: START
psx.input.port6.negcon.start 

;psx, Virtual Port 6, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port6.negcon.twist_ccwise 

;psx, Virtual Port 6, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port6.negcon.twist_cwise 

;psx, Virtual Port 6, neGcon: D-Pad UP ↑
psx.input.port6.negcon.up 

;Input device for Virtual Port 7
psx.input.port7 gamepad

;psx, Virtual Port 7, Analog Joystick: Right stick, R-thumb
psx.input.port7.analogjoy.circle 

;psx, Virtual Port 7, Analog Joystick: Right stick, L-thumb
psx.input.port7.analogjoy.cross 

;psx, Virtual Port 7, Analog Joystick: Thumbstick DOWN ↓
psx.input.port7.analogjoy.down 

;psx, Virtual Port 7, Analog Joystick: Left stick, L-thumb
psx.input.port7.analogjoy.l1 

;psx, Virtual Port 7, Analog Joystick: Left stick, Trigger
psx.input.port7.analogjoy.l2 

;psx, Virtual Port 7, Analog Joystick: Thumbstick LEFT ←
psx.input.port7.analogjoy.left 

;psx, Virtual Port 7, Analog Joystick: Left Stick, BACK ↓
psx.input.port7.analogjoy.lstick_down 

;psx, Virtual Port 7, Analog Joystick: Left Stick, LEFT ←
psx.input.port7.analogjoy.lstick_left 

;psx, Virtual Port 7, Analog Joystick: Left Stick, RIGHT →
psx.input.port7.analogjoy.lstick_right 

;psx, Virtual Port 7, Analog Joystick: Left Stick, FORE ↑
psx.input.port7.analogjoy.lstick_up 

;psx, Virtual Port 7, Analog Joystick: Left stick, R-thumb
psx.input.port7.analogjoy.r1 

;psx, Virtual Port 7, Analog Joystick: Left stick, Pinky
psx.input.port7.analogjoy.r2 

;psx, Virtual Port 7, Analog Joystick: Thumbstick RIGHT →
psx.input.port7.analogjoy.right 

;psx, Virtual Port 7, Analog Joystick: Right Stick, BACK ↓
psx.input.port7.analogjoy.rstick_down 

;psx, Virtual Port 7, Analog Joystick: Right Stick, LEFT ←
psx.input.port7.analogjoy.rstick_left 

;psx, Virtual Port 7, Analog Joystick: Right Stick, RIGHT →
psx.input.port7.analogjoy.rstick_right 

;psx, Virtual Port 7, Analog Joystick: Right Stick, FORE ↑
psx.input.port7.analogjoy.rstick_up 

;psx, Virtual Port 7, Analog Joystick: SELECT
psx.input.port7.analogjoy.select 

;psx, Virtual Port 7, Analog Joystick: Right stick, Trigger
psx.input.port7.analogjoy.square 

;psx, Virtual Port 7, Analog Joystick: START
psx.input.port7.analogjoy.start 

;psx, Virtual Port 7, Analog Joystick: Right stick, Pinky
psx.input.port7.analogjoy.triangle 

;psx, Virtual Port 7, Analog Joystick: Thumbstick UP ↑
psx.input.port7.analogjoy.up 

;psx, Virtual Port 7, Dance Pad: ○ (upper right)
psx.input.port7.dancepad.circle 

;psx, Virtual Port 7, Dance Pad: x (upper left)
psx.input.port7.dancepad.cross 

;psx, Virtual Port 7, Dance Pad: DOWN ↓
psx.input.port7.dancepad.down 

;psx, Virtual Port 7, Dance Pad: LEFT ←
psx.input.port7.dancepad.left 

;psx, Virtual Port 7, Dance Pad: RIGHT →
psx.input.port7.dancepad.right 

;psx, Virtual Port 7, Dance Pad: SELECT
psx.input.port7.dancepad.select 

;psx, Virtual Port 7, Dance Pad: □ (lower right)
psx.input.port7.dancepad.square 

;psx, Virtual Port 7, Dance Pad: START
psx.input.port7.dancepad.start 

;psx, Virtual Port 7, Dance Pad: △ (lower left)
psx.input.port7.dancepad.triangle 

;psx, Virtual Port 7, Dance Pad: UP ↑
psx.input.port7.dancepad.up 

;psx, Virtual Port 7, Dual Analog: ○ (right)
psx.input.port7.dualanalog.circle 

;psx, Virtual Port 7, Dual Analog: x (lower)
psx.input.port7.dualanalog.cross 

;psx, Virtual Port 7, Dual Analog: D-Pad DOWN ↓
psx.input.port7.dualanalog.down 

;psx, Virtual Port 7, Dual Analog: L1 (front left shoulder)
psx.input.port7.dualanalog.l1 

;psx, Virtual Port 7, Dual Analog: L2 (rear left shoulder)
psx.input.port7.dualanalog.l2 

;psx, Virtual Port 7, Dual Analog: Left Stick, Button(L3)
psx.input.port7.dualanalog.l3 

;psx, Virtual Port 7, Dual Analog: D-Pad LEFT ←
psx.input.port7.dualanalog.left 

;psx, Virtual Port 7, Dual Analog: Left Stick DOWN ↓
psx.input.port7.dualanalog.lstick_down 

;psx, Virtual Port 7, Dual Analog: Left Stick LEFT ←
psx.input.port7.dualanalog.lstick_left 

;psx, Virtual Port 7, Dual Analog: Left Stick RIGHT →
psx.input.port7.dualanalog.lstick_right 

;psx, Virtual Port 7, Dual Analog: Left Stick UP ↑
psx.input.port7.dualanalog.lstick_up 

;psx, Virtual Port 7, Dual Analog: R1 (front right shoulder)
psx.input.port7.dualanalog.r1 

;psx, Virtual Port 7, Dual Analog: R2 (rear right shoulder)
psx.input.port7.dualanalog.r2 

;psx, Virtual Port 7, Dual Analog: Right stick, Button(R3)
psx.input.port7.dualanalog.r3 

;psx, Virtual Port 7, Dual Analog: Rapid ○ (right)
psx.input.port7.dualanalog.rapid_circle 

;psx, Virtual Port 7, Dual Analog: Rapid x (lower)
psx.input.port7.dualanalog.rapid_cross 

;psx, Virtual Port 7, Dual Analog: Rapid □ (left)
psx.input.port7.dualanalog.rapid_square 

;psx, Virtual Port 7, Dual Analog: Rapid △ (upper)
psx.input.port7.dualanalog.rapid_triangle 

;psx, Virtual Port 7, Dual Analog: D-Pad RIGHT →
psx.input.port7.dualanalog.right 

;psx, Virtual Port 7, Dual Analog: Right Stick DOWN ↓
psx.input.port7.dualanalog.rstick_down 

;psx, Virtual Port 7, Dual Analog: Right Stick LEFT ←
psx.input.port7.dualanalog.rstick_left 

;psx, Virtual Port 7, Dual Analog: Right Stick RIGHT →
psx.input.port7.dualanalog.rstick_right 

;psx, Virtual Port 7, Dual Analog: Right Stick UP ↑
psx.input.port7.dualanalog.rstick_up 

;psx, Virtual Port 7, Dual Analog: SELECT
psx.input.port7.dualanalog.select 

;psx, Virtual Port 7, Dual Analog: □ (left)
psx.input.port7.dualanalog.square 

;psx, Virtual Port 7, Dual Analog: START
psx.input.port7.dualanalog.start 

;psx, Virtual Port 7, Dual Analog: △ (upper)
psx.input.port7.dualanalog.triangle 

;psx, Virtual Port 7, Dual Analog: D-Pad UP ↑
psx.input.port7.dualanalog.up 

;psx, Virtual Port 7, DualShock: Analog(mode toggle)
psx.input.port7.dualshock.analog 

;psx, Virtual Port 7, DualShock: ○ (right)
psx.input.port7.dualshock.circle 

;psx, Virtual Port 7, DualShock: x (lower)
psx.input.port7.dualshock.cross 

;psx, Virtual Port 7, DualShock: D-Pad DOWN ↓
psx.input.port7.dualshock.down 

;psx, Virtual Port 7, DualShock: L1 (front left shoulder)
psx.input.port7.dualshock.l1 

;psx, Virtual Port 7, DualShock: L2 (rear left shoulder)
psx.input.port7.dualshock.l2 

;psx, Virtual Port 7, DualShock: Left Stick, Button(L3)
psx.input.port7.dualshock.l3 

;psx, Virtual Port 7, DualShock: D-Pad LEFT ←
psx.input.port7.dualshock.left 

;psx, Virtual Port 7, DualShock: Left Stick DOWN ↓
psx.input.port7.dualshock.lstick_down 

;psx, Virtual Port 7, DualShock: Left Stick LEFT ←
psx.input.port7.dualshock.lstick_left 

;psx, Virtual Port 7, DualShock: Left Stick RIGHT →
psx.input.port7.dualshock.lstick_right 

;psx, Virtual Port 7, DualShock: Left Stick UP ↑
psx.input.port7.dualshock.lstick_up 

;psx, Virtual Port 7, DualShock: R1 (front right shoulder)
psx.input.port7.dualshock.r1 

;psx, Virtual Port 7, DualShock: R2 (rear right shoulder)
psx.input.port7.dualshock.r2 

;psx, Virtual Port 7, DualShock: Right stick, Button(R3)
psx.input.port7.dualshock.r3 

;psx, Virtual Port 7, DualShock: Rapid ○ (right)
psx.input.port7.dualshock.rapid_circle 

;psx, Virtual Port 7, DualShock: Rapid x (lower)
psx.input.port7.dualshock.rapid_cross 

;psx, Virtual Port 7, DualShock: Rapid □ (left)
psx.input.port7.dualshock.rapid_square 

;psx, Virtual Port 7, DualShock: Rapid △ (upper)
psx.input.port7.dualshock.rapid_triangle 

;psx, Virtual Port 7, DualShock: D-Pad RIGHT →
psx.input.port7.dualshock.right 

;psx, Virtual Port 7, DualShock: Right Stick DOWN ↓
psx.input.port7.dualshock.rstick_down 

;psx, Virtual Port 7, DualShock: Right Stick LEFT ←
psx.input.port7.dualshock.rstick_left 

;psx, Virtual Port 7, DualShock: Right Stick RIGHT →
psx.input.port7.dualshock.rstick_right 

;psx, Virtual Port 7, DualShock: Right Stick UP ↑
psx.input.port7.dualshock.rstick_up 

;psx, Virtual Port 7, DualShock: SELECT
psx.input.port7.dualshock.select 

;psx, Virtual Port 7, DualShock: □ (left)
psx.input.port7.dualshock.square 

;psx, Virtual Port 7, DualShock: START
psx.input.port7.dualshock.start 

;psx, Virtual Port 7, DualShock: △ (upper)
psx.input.port7.dualshock.triangle 

;psx, Virtual Port 7, DualShock: D-Pad UP ↑
psx.input.port7.dualshock.up 

;psx, Virtual Port 7, Digital Gamepad: ○ (right)
psx.input.port7.gamepad.circle 

;psx, Virtual Port 7, Digital Gamepad: x (lower)
psx.input.port7.gamepad.cross 

;psx, Virtual Port 7, Digital Gamepad: DOWN ↓
psx.input.port7.gamepad.down 

;psx, Virtual Port 7, Digital Gamepad: L1 (front left shoulder)
psx.input.port7.gamepad.l1 

;psx, Virtual Port 7, Digital Gamepad: L2 (rear left shoulder)
psx.input.port7.gamepad.l2 

;psx, Virtual Port 7, Digital Gamepad: LEFT ←
psx.input.port7.gamepad.left 

;psx, Virtual Port 7, Digital Gamepad: R1 (front right shoulder)
psx.input.port7.gamepad.r1 

;psx, Virtual Port 7, Digital Gamepad: R2 (rear right shoulder)
psx.input.port7.gamepad.r2 

;psx, Virtual Port 7, Digital Gamepad: Rapid ○ (right)
psx.input.port7.gamepad.rapid_circle 

;psx, Virtual Port 7, Digital Gamepad: Rapid x (lower)
psx.input.port7.gamepad.rapid_cross 

;psx, Virtual Port 7, Digital Gamepad: Rapid □ (left)
psx.input.port7.gamepad.rapid_square 

;psx, Virtual Port 7, Digital Gamepad: Rapid △ (upper)
psx.input.port7.gamepad.rapid_triangle 

;psx, Virtual Port 7, Digital Gamepad: RIGHT →
psx.input.port7.gamepad.right 

;psx, Virtual Port 7, Digital Gamepad: SELECT
psx.input.port7.gamepad.select 

;psx, Virtual Port 7, Digital Gamepad: □ (left)
psx.input.port7.gamepad.square 

;psx, Virtual Port 7, Digital Gamepad: START
psx.input.port7.gamepad.start 

;psx, Virtual Port 7, Digital Gamepad: △ (upper)
psx.input.port7.gamepad.triangle 

;psx, Virtual Port 7, Digital Gamepad: UP ↑
psx.input.port7.gamepad.up 

;Crosshairs color for lightgun on virtual port 7.
psx.input.port7.gun_chairs 0x0080FF

;psx, Virtual Port 7, GunCon: A
psx.input.port7.guncon.a mouse 2

;psx, Virtual Port 7, GunCon: B
psx.input.port7.guncon.b mouse 1

;psx, Virtual Port 7, GunCon: Offscreen Shot(Simulated)
psx.input.port7.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 7, GunCon: Trigger
psx.input.port7.guncon.trigger mouse 0

;psx, Virtual Port 7, Konami Justifier: O
psx.input.port7.justifier.o 

;psx, Virtual Port 7, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port7.justifier.offscreen_shot 

;psx, Virtual Port 7, Konami Justifier: Start
psx.input.port7.justifier.start 

;psx, Virtual Port 7, Konami Justifier: Trigger
psx.input.port7.justifier.trigger 

;Emulate memcard on virtual port 7.
psx.input.port7.memcard 1

;psx, Virtual Port 7, Mouse: Left Button
psx.input.port7.mouse.left mouse 0

;psx, Virtual Port 7, Mouse: Right Button
psx.input.port7.mouse.right mouse 2

;psx, Virtual Port 7, neGcon: A
psx.input.port7.negcon.a 

;psx, Virtual Port 7, neGcon: B
psx.input.port7.negcon.b 

;psx, Virtual Port 7, neGcon: D-Pad DOWN ↓
psx.input.port7.negcon.down 

;psx, Virtual Port 7, neGcon: I (Analog)
psx.input.port7.negcon.i 

;psx, Virtual Port 7, neGcon: II (Analog)
psx.input.port7.negcon.ii 

;psx, Virtual Port 7, neGcon: Left Shoulder (Analog)
psx.input.port7.negcon.l 

;psx, Virtual Port 7, neGcon: D-Pad LEFT ←
psx.input.port7.negcon.left 

;psx, Virtual Port 7, neGcon: Right Shoulder
psx.input.port7.negcon.r 

;psx, Virtual Port 7, neGcon: D-Pad RIGHT →
psx.input.port7.negcon.right 

;psx, Virtual Port 7, neGcon: START
psx.input.port7.negcon.start 

;psx, Virtual Port 7, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port7.negcon.twist_ccwise 

;psx, Virtual Port 7, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port7.negcon.twist_cwise 

;psx, Virtual Port 7, neGcon: D-Pad UP ↑
psx.input.port7.negcon.up 

;Input device for Virtual Port 8
psx.input.port8 gamepad

;psx, Virtual Port 8, Analog Joystick: Right stick, R-thumb
psx.input.port8.analogjoy.circle 

;psx, Virtual Port 8, Analog Joystick: Right stick, L-thumb
psx.input.port8.analogjoy.cross 

;psx, Virtual Port 8, Analog Joystick: Thumbstick DOWN ↓
psx.input.port8.analogjoy.down 

;psx, Virtual Port 8, Analog Joystick: Left stick, L-thumb
psx.input.port8.analogjoy.l1 

;psx, Virtual Port 8, Analog Joystick: Left stick, Trigger
psx.input.port8.analogjoy.l2 

;psx, Virtual Port 8, Analog Joystick: Thumbstick LEFT ←
psx.input.port8.analogjoy.left 

;psx, Virtual Port 8, Analog Joystick: Left Stick, BACK ↓
psx.input.port8.analogjoy.lstick_down 

;psx, Virtual Port 8, Analog Joystick: Left Stick, LEFT ←
psx.input.port8.analogjoy.lstick_left 

;psx, Virtual Port 8, Analog Joystick: Left Stick, RIGHT →
psx.input.port8.analogjoy.lstick_right 

;psx, Virtual Port 8, Analog Joystick: Left Stick, FORE ↑
psx.input.port8.analogjoy.lstick_up 

;psx, Virtual Port 8, Analog Joystick: Left stick, R-thumb
psx.input.port8.analogjoy.r1 

;psx, Virtual Port 8, Analog Joystick: Left stick, Pinky
psx.input.port8.analogjoy.r2 

;psx, Virtual Port 8, Analog Joystick: Thumbstick RIGHT →
psx.input.port8.analogjoy.right 

;psx, Virtual Port 8, Analog Joystick: Right Stick, BACK ↓
psx.input.port8.analogjoy.rstick_down 

;psx, Virtual Port 8, Analog Joystick: Right Stick, LEFT ←
psx.input.port8.analogjoy.rstick_left 

;psx, Virtual Port 8, Analog Joystick: Right Stick, RIGHT →
psx.input.port8.analogjoy.rstick_right 

;psx, Virtual Port 8, Analog Joystick: Right Stick, FORE ↑
psx.input.port8.analogjoy.rstick_up 

;psx, Virtual Port 8, Analog Joystick: SELECT
psx.input.port8.analogjoy.select 

;psx, Virtual Port 8, Analog Joystick: Right stick, Trigger
psx.input.port8.analogjoy.square 

;psx, Virtual Port 8, Analog Joystick: START
psx.input.port8.analogjoy.start 

;psx, Virtual Port 8, Analog Joystick: Right stick, Pinky
psx.input.port8.analogjoy.triangle 

;psx, Virtual Port 8, Analog Joystick: Thumbstick UP ↑
psx.input.port8.analogjoy.up 

;psx, Virtual Port 8, Dance Pad: ○ (upper right)
psx.input.port8.dancepad.circle 

;psx, Virtual Port 8, Dance Pad: x (upper left)
psx.input.port8.dancepad.cross 

;psx, Virtual Port 8, Dance Pad: DOWN ↓
psx.input.port8.dancepad.down 

;psx, Virtual Port 8, Dance Pad: LEFT ←
psx.input.port8.dancepad.left 

;psx, Virtual Port 8, Dance Pad: RIGHT →
psx.input.port8.dancepad.right 

;psx, Virtual Port 8, Dance Pad: SELECT
psx.input.port8.dancepad.select 

;psx, Virtual Port 8, Dance Pad: □ (lower right)
psx.input.port8.dancepad.square 

;psx, Virtual Port 8, Dance Pad: START
psx.input.port8.dancepad.start 

;psx, Virtual Port 8, Dance Pad: △ (lower left)
psx.input.port8.dancepad.triangle 

;psx, Virtual Port 8, Dance Pad: UP ↑
psx.input.port8.dancepad.up 

;psx, Virtual Port 8, Dual Analog: ○ (right)
psx.input.port8.dualanalog.circle 

;psx, Virtual Port 8, Dual Analog: x (lower)
psx.input.port8.dualanalog.cross 

;psx, Virtual Port 8, Dual Analog: D-Pad DOWN ↓
psx.input.port8.dualanalog.down 

;psx, Virtual Port 8, Dual Analog: L1 (front left shoulder)
psx.input.port8.dualanalog.l1 

;psx, Virtual Port 8, Dual Analog: L2 (rear left shoulder)
psx.input.port8.dualanalog.l2 

;psx, Virtual Port 8, Dual Analog: Left Stick, Button(L3)
psx.input.port8.dualanalog.l3 

;psx, Virtual Port 8, Dual Analog: D-Pad LEFT ←
psx.input.port8.dualanalog.left 

;psx, Virtual Port 8, Dual Analog: Left Stick DOWN ↓
psx.input.port8.dualanalog.lstick_down 

;psx, Virtual Port 8, Dual Analog: Left Stick LEFT ←
psx.input.port8.dualanalog.lstick_left 

;psx, Virtual Port 8, Dual Analog: Left Stick RIGHT →
psx.input.port8.dualanalog.lstick_right 

;psx, Virtual Port 8, Dual Analog: Left Stick UP ↑
psx.input.port8.dualanalog.lstick_up 

;psx, Virtual Port 8, Dual Analog: R1 (front right shoulder)
psx.input.port8.dualanalog.r1 

;psx, Virtual Port 8, Dual Analog: R2 (rear right shoulder)
psx.input.port8.dualanalog.r2 

;psx, Virtual Port 8, Dual Analog: Right stick, Button(R3)
psx.input.port8.dualanalog.r3 

;psx, Virtual Port 8, Dual Analog: Rapid ○ (right)
psx.input.port8.dualanalog.rapid_circle 

;psx, Virtual Port 8, Dual Analog: Rapid x (lower)
psx.input.port8.dualanalog.rapid_cross 

;psx, Virtual Port 8, Dual Analog: Rapid □ (left)
psx.input.port8.dualanalog.rapid_square 

;psx, Virtual Port 8, Dual Analog: Rapid △ (upper)
psx.input.port8.dualanalog.rapid_triangle 

;psx, Virtual Port 8, Dual Analog: D-Pad RIGHT →
psx.input.port8.dualanalog.right 

;psx, Virtual Port 8, Dual Analog: Right Stick DOWN ↓
psx.input.port8.dualanalog.rstick_down 

;psx, Virtual Port 8, Dual Analog: Right Stick LEFT ←
psx.input.port8.dualanalog.rstick_left 

;psx, Virtual Port 8, Dual Analog: Right Stick RIGHT →
psx.input.port8.dualanalog.rstick_right 

;psx, Virtual Port 8, Dual Analog: Right Stick UP ↑
psx.input.port8.dualanalog.rstick_up 

;psx, Virtual Port 8, Dual Analog: SELECT
psx.input.port8.dualanalog.select 

;psx, Virtual Port 8, Dual Analog: □ (left)
psx.input.port8.dualanalog.square 

;psx, Virtual Port 8, Dual Analog: START
psx.input.port8.dualanalog.start 

;psx, Virtual Port 8, Dual Analog: △ (upper)
psx.input.port8.dualanalog.triangle 

;psx, Virtual Port 8, Dual Analog: D-Pad UP ↑
psx.input.port8.dualanalog.up 

;psx, Virtual Port 8, DualShock: Analog(mode toggle)
psx.input.port8.dualshock.analog 

;psx, Virtual Port 8, DualShock: ○ (right)
psx.input.port8.dualshock.circle 

;psx, Virtual Port 8, DualShock: x (lower)
psx.input.port8.dualshock.cross 

;psx, Virtual Port 8, DualShock: D-Pad DOWN ↓
psx.input.port8.dualshock.down 

;psx, Virtual Port 8, DualShock: L1 (front left shoulder)
psx.input.port8.dualshock.l1 

;psx, Virtual Port 8, DualShock: L2 (rear left shoulder)
psx.input.port8.dualshock.l2 

;psx, Virtual Port 8, DualShock: Left Stick, Button(L3)
psx.input.port8.dualshock.l3 

;psx, Virtual Port 8, DualShock: D-Pad LEFT ←
psx.input.port8.dualshock.left 

;psx, Virtual Port 8, DualShock: Left Stick DOWN ↓
psx.input.port8.dualshock.lstick_down 

;psx, Virtual Port 8, DualShock: Left Stick LEFT ←
psx.input.port8.dualshock.lstick_left 

;psx, Virtual Port 8, DualShock: Left Stick RIGHT →
psx.input.port8.dualshock.lstick_right 

;psx, Virtual Port 8, DualShock: Left Stick UP ↑
psx.input.port8.dualshock.lstick_up 

;psx, Virtual Port 8, DualShock: R1 (front right shoulder)
psx.input.port8.dualshock.r1 

;psx, Virtual Port 8, DualShock: R2 (rear right shoulder)
psx.input.port8.dualshock.r2 

;psx, Virtual Port 8, DualShock: Right stick, Button(R3)
psx.input.port8.dualshock.r3 

;psx, Virtual Port 8, DualShock: Rapid ○ (right)
psx.input.port8.dualshock.rapid_circle 

;psx, Virtual Port 8, DualShock: Rapid x (lower)
psx.input.port8.dualshock.rapid_cross 

;psx, Virtual Port 8, DualShock: Rapid □ (left)
psx.input.port8.dualshock.rapid_square 

;psx, Virtual Port 8, DualShock: Rapid △ (upper)
psx.input.port8.dualshock.rapid_triangle 

;psx, Virtual Port 8, DualShock: D-Pad RIGHT →
psx.input.port8.dualshock.right 

;psx, Virtual Port 8, DualShock: Right Stick DOWN ↓
psx.input.port8.dualshock.rstick_down 

;psx, Virtual Port 8, DualShock: Right Stick LEFT ←
psx.input.port8.dualshock.rstick_left 

;psx, Virtual Port 8, DualShock: Right Stick RIGHT →
psx.input.port8.dualshock.rstick_right 

;psx, Virtual Port 8, DualShock: Right Stick UP ↑
psx.input.port8.dualshock.rstick_up 

;psx, Virtual Port 8, DualShock: SELECT
psx.input.port8.dualshock.select 

;psx, Virtual Port 8, DualShock: □ (left)
psx.input.port8.dualshock.square 

;psx, Virtual Port 8, DualShock: START
psx.input.port8.dualshock.start 

;psx, Virtual Port 8, DualShock: △ (upper)
psx.input.port8.dualshock.triangle 

;psx, Virtual Port 8, DualShock: D-Pad UP ↑
psx.input.port8.dualshock.up 

;psx, Virtual Port 8, Digital Gamepad: ○ (right)
psx.input.port8.gamepad.circle 

;psx, Virtual Port 8, Digital Gamepad: x (lower)
psx.input.port8.gamepad.cross 

;psx, Virtual Port 8, Digital Gamepad: DOWN ↓
psx.input.port8.gamepad.down 

;psx, Virtual Port 8, Digital Gamepad: L1 (front left shoulder)
psx.input.port8.gamepad.l1 

;psx, Virtual Port 8, Digital Gamepad: L2 (rear left shoulder)
psx.input.port8.gamepad.l2 

;psx, Virtual Port 8, Digital Gamepad: LEFT ←
psx.input.port8.gamepad.left 

;psx, Virtual Port 8, Digital Gamepad: R1 (front right shoulder)
psx.input.port8.gamepad.r1 

;psx, Virtual Port 8, Digital Gamepad: R2 (rear right shoulder)
psx.input.port8.gamepad.r2 

;psx, Virtual Port 8, Digital Gamepad: Rapid ○ (right)
psx.input.port8.gamepad.rapid_circle 

;psx, Virtual Port 8, Digital Gamepad: Rapid x (lower)
psx.input.port8.gamepad.rapid_cross 

;psx, Virtual Port 8, Digital Gamepad: Rapid □ (left)
psx.input.port8.gamepad.rapid_square 

;psx, Virtual Port 8, Digital Gamepad: Rapid △ (upper)
psx.input.port8.gamepad.rapid_triangle 

;psx, Virtual Port 8, Digital Gamepad: RIGHT →
psx.input.port8.gamepad.right 

;psx, Virtual Port 8, Digital Gamepad: SELECT
psx.input.port8.gamepad.select 

;psx, Virtual Port 8, Digital Gamepad: □ (left)
psx.input.port8.gamepad.square 

;psx, Virtual Port 8, Digital Gamepad: START
psx.input.port8.gamepad.start 

;psx, Virtual Port 8, Digital Gamepad: △ (upper)
psx.input.port8.gamepad.triangle 

;psx, Virtual Port 8, Digital Gamepad: UP ↑
psx.input.port8.gamepad.up 

;Crosshairs color for lightgun on virtual port 8.
psx.input.port8.gun_chairs 0x8000FF

;psx, Virtual Port 8, GunCon: A
psx.input.port8.guncon.a mouse 2

;psx, Virtual Port 8, GunCon: B
psx.input.port8.guncon.b mouse 1

;psx, Virtual Port 8, GunCon: Offscreen Shot(Simulated)
psx.input.port8.guncon.offscreen_shot keyboard 32

;psx, Virtual Port 8, GunCon: Trigger
psx.input.port8.guncon.trigger mouse 0

;psx, Virtual Port 8, Konami Justifier: O
psx.input.port8.justifier.o 

;psx, Virtual Port 8, Konami Justifier: Offscreen Shot(Simulated)
psx.input.port8.justifier.offscreen_shot 

;psx, Virtual Port 8, Konami Justifier: Start
psx.input.port8.justifier.start 

;psx, Virtual Port 8, Konami Justifier: Trigger
psx.input.port8.justifier.trigger 

;Emulate memcard on virtual port 8.
psx.input.port8.memcard 1

;psx, Virtual Port 8, Mouse: Left Button
psx.input.port8.mouse.left mouse 0

;psx, Virtual Port 8, Mouse: Right Button
psx.input.port8.mouse.right mouse 2

;psx, Virtual Port 8, neGcon: A
psx.input.port8.negcon.a 

;psx, Virtual Port 8, neGcon: B
psx.input.port8.negcon.b 

;psx, Virtual Port 8, neGcon: D-Pad DOWN ↓
psx.input.port8.negcon.down 

;psx, Virtual Port 8, neGcon: I (Analog)
psx.input.port8.negcon.i 

;psx, Virtual Port 8, neGcon: II (Analog)
psx.input.port8.negcon.ii 

;psx, Virtual Port 8, neGcon: Left Shoulder (Analog)
psx.input.port8.negcon.l 

;psx, Virtual Port 8, neGcon: D-Pad LEFT ←
psx.input.port8.negcon.left 

;psx, Virtual Port 8, neGcon: Right Shoulder
psx.input.port8.negcon.r 

;psx, Virtual Port 8, neGcon: D-Pad RIGHT →
psx.input.port8.negcon.right 

;psx, Virtual Port 8, neGcon: START
psx.input.port8.negcon.start 

;psx, Virtual Port 8, neGcon: Twist ↑|↓ (Analog, Turn Left)
psx.input.port8.negcon.twist_ccwise 

;psx, Virtual Port 8, neGcon: Twist ↓|↑ (Analog, Turn Right)
psx.input.port8.negcon.twist_cwise 

;psx, Virtual Port 8, neGcon: D-Pad UP ↑
psx.input.port8.negcon.up 

;Enable multitap on PSX port 1.
psx.input.pport1.multitap 0

;Enable multitap on PSX port 2.
psx.input.pport2.multitap 0

;Enable specified OpenGL pixel shader.
psx.pixshader none

;Attempt to auto-detect region of game.
psx.region_autodetect 1

;Default region to use.
psx.region_default jp

;Enable scanlines with specified opacity.
psx.scanlines 0

;Last displayed scanline in NTSC mode.
psx.slend 239

;Last displayed scanline in PAL mode.
psx.slendp 287

;First displayed scanline in NTSC mode.
psx.slstart 0

;First displayed scanline in PAL mode.
psx.slstartp 0

;Enable specified special video scaler.
psx.special none

;SPU output resampler quality.
psx.spu.resamp_quality 5

;Stretch to fill screen.
psx.stretch aspect_int

;Enable video temporal blur(50/50 previous/current frame by default).
psx.tblur 0

;Accumulate color data rather than discarding it.
psx.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
psx.tblur.accum.amount 50

;Enable (bi)linear interpolation.
psx.videoip 1

;Full-screen horizontal resolution.
psx.xres 0

;Scaling factor for the X axis in windowed mode.
psx.xscale 2.000000

;Scaling factor for the X axis in fullscreen mode.
psx.xscalefs 1.000000

;Full-screen vertical resolution.
psx.yres 0

;Scaling factor for the Y axis in windowed mode.
psx.yscale 2.000000

;Scaling factor for the Y axis in fullscreen mode.
psx.yscalefs 1.000000

;Double the raw image's height if it's below this threshold.
qtrecord.h_double_threshold 256

;Video codec to use.
qtrecord.vcodec cscd

;Double the raw image's width if it's below this threshold.
qtrecord.w_double_threshold 384

;SLOW-forwarding speed multiplier.
sfspeed 0.75

;Treat the SLOW-forward button as a toggle.
sftoggle 0

;Enable (automatic) usage of this module.
sms.enable 1

;Enable FM sound emulation when playing domestic/Japan-region games.
sms.fm 1

;Force monophonic sound output.
sms.forcemono 0

;sms, Port 1, Gamepad: DOWN ↓
sms.input.port1.gamepad.down keyboard 115

;sms, Port 1, Gamepad: Fire 1/Start
sms.input.port1.gamepad.fire1 keyboard 258

;sms, Port 1, Gamepad: Fire 2
sms.input.port1.gamepad.fire2 keyboard 259

;sms, Port 1, Gamepad: LEFT ←
sms.input.port1.gamepad.left keyboard 97

;sms, Port 1, Gamepad: Pause
sms.input.port1.gamepad.pause keyboard 13

;sms, Port 1, Gamepad: Rapid Fire 1/Start
sms.input.port1.gamepad.rapid_fire1 

;sms, Port 1, Gamepad: Rapid Fire 2
sms.input.port1.gamepad.rapid_fire2 

;sms, Port 1, Gamepad: RIGHT →
sms.input.port1.gamepad.right keyboard 100

;sms, Port 1, Gamepad: UP ↑
sms.input.port1.gamepad.up keyboard 119

;sms, Port 2, Gamepad: DOWN ↓
sms.input.port2.gamepad.down 

;sms, Port 2, Gamepad: Fire 1/Start
sms.input.port2.gamepad.fire1 

;sms, Port 2, Gamepad: Fire 2
sms.input.port2.gamepad.fire2 

;sms, Port 2, Gamepad: LEFT ←
sms.input.port2.gamepad.left 

;sms, Port 2, Gamepad: Pause
sms.input.port2.gamepad.pause 

;sms, Port 2, Gamepad: Rapid Fire 1/Start
sms.input.port2.gamepad.rapid_fire1 

;sms, Port 2, Gamepad: Rapid Fire 2
sms.input.port2.gamepad.rapid_fire2 

;sms, Port 2, Gamepad: RIGHT →
sms.input.port2.gamepad.right 

;sms, Port 2, Gamepad: UP ↑
sms.input.port2.gamepad.up 

;Enable specified OpenGL pixel shader.
sms.pixshader none

;Enable scanlines with specified opacity.
sms.scanlines 0

;Enable specified special video scaler.
sms.special none

;Stretch to fill screen.
sms.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
sms.tblur 0

;Accumulate color data rather than discarding it.
sms.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
sms.tblur.accum.amount 50

;System territory/region.
sms.territory export

;Enable (bi)linear interpolation.
sms.videoip 0

;Full-screen horizontal resolution.
sms.xres 0

;Scaling factor for the X axis in windowed mode.
sms.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
sms.xscalefs 1.000000

;Full-screen vertical resolution.
sms.yres 0

;Scaling factor for the Y axis in windowed mode.
sms.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
sms.yscalefs 1.000000

;APU output resampler quality.
snes.apu.resamp_quality 5

;Correct the aspect ratio.
snes.correct_aspect 0

;Enable (automatic) usage of this module.
snes.enable 1

;Force monophonic sound output.
snes.forcemono 0

;Input device for Port 1/1A
snes.input.port1 gamepad

;snes, Port 1/1A, Gamepad: A (right)
snes.input.port1.gamepad.a keyboard 262

;snes, Port 1/1A, Gamepad: B (center, lower)
snes.input.port1.gamepad.b keyboard 258

;snes, Port 1/1A, Gamepad: DOWN ↓
snes.input.port1.gamepad.down keyboard 115

;snes, Port 1/1A, Gamepad: Left Shoulder
snes.input.port1.gamepad.l keyboard 263

;snes, Port 1/1A, Gamepad: LEFT ←
snes.input.port1.gamepad.left keyboard 97

;snes, Port 1/1A, Gamepad: Right Shoulder
snes.input.port1.gamepad.r keyboard 265

;snes, Port 1/1A, Gamepad: Rapid A (right)
snes.input.port1.gamepad.rapid_a 

;snes, Port 1/1A, Gamepad: Rapid B (center, lower)
snes.input.port1.gamepad.rapid_b 

;snes, Port 1/1A, Gamepad: Rapid X (center, upper)
snes.input.port1.gamepad.rapid_x 

;snes, Port 1/1A, Gamepad: Rapid Y (left)
snes.input.port1.gamepad.rapid_y 

;snes, Port 1/1A, Gamepad: RIGHT →
snes.input.port1.gamepad.right keyboard 100

;snes, Port 1/1A, Gamepad: SELECT
snes.input.port1.gamepad.select keyboard 9

;snes, Port 1/1A, Gamepad: START
snes.input.port1.gamepad.start keyboard 13

;snes, Port 1/1A, Gamepad: UP ↑
snes.input.port1.gamepad.up keyboard 119

;snes, Port 1/1A, Gamepad: X (center, upper)
snes.input.port1.gamepad.x keyboard 264

;snes, Port 1/1A, Gamepad: Y (left)
snes.input.port1.gamepad.y keyboard 260

;snes, Port 1/1A, Mouse: Left Button
snes.input.port1.mouse.left mouse 0

;snes, Port 1/1A, Mouse: Right Button
snes.input.port1.mouse.right mouse 2

;Enable multitap on SNES port 1.
snes.input.port1.multitap 0

;Input device for Port 2/2A
snes.input.port2 gamepad

;snes, Port 2/2A, Gamepad: A (right)
snes.input.port2.gamepad.a 

;snes, Port 2/2A, Gamepad: B (center, lower)
snes.input.port2.gamepad.b 

;snes, Port 2/2A, Gamepad: DOWN ↓
snes.input.port2.gamepad.down 

;snes, Port 2/2A, Gamepad: Left Shoulder
snes.input.port2.gamepad.l 

;snes, Port 2/2A, Gamepad: LEFT ←
snes.input.port2.gamepad.left 

;snes, Port 2/2A, Gamepad: Right Shoulder
snes.input.port2.gamepad.r 

;snes, Port 2/2A, Gamepad: Rapid A (right)
snes.input.port2.gamepad.rapid_a 

;snes, Port 2/2A, Gamepad: Rapid B (center, lower)
snes.input.port2.gamepad.rapid_b 

;snes, Port 2/2A, Gamepad: Rapid X (center, upper)
snes.input.port2.gamepad.rapid_x 

;snes, Port 2/2A, Gamepad: Rapid Y (left)
snes.input.port2.gamepad.rapid_y 

;snes, Port 2/2A, Gamepad: RIGHT →
snes.input.port2.gamepad.right 

;snes, Port 2/2A, Gamepad: SELECT
snes.input.port2.gamepad.select 

;snes, Port 2/2A, Gamepad: START
snes.input.port2.gamepad.start 

;snes, Port 2/2A, Gamepad: UP ↑
snes.input.port2.gamepad.up 

;snes, Port 2/2A, Gamepad: X (center, upper)
snes.input.port2.gamepad.x 

;snes, Port 2/2A, Gamepad: Y (left)
snes.input.port2.gamepad.y 

;snes, Port 2/2A, Mouse: Left Button
snes.input.port2.mouse.left mouse 0

;snes, Port 2/2A, Mouse: Right Button
snes.input.port2.mouse.right mouse 2

;Enable multitap on SNES port 2.
snes.input.port2.multitap 0

;snes, Port 2B, Gamepad: A (right)
snes.input.port3.gamepad.a 

;snes, Port 2B, Gamepad: B (center, lower)
snes.input.port3.gamepad.b 

;snes, Port 2B, Gamepad: DOWN ↓
snes.input.port3.gamepad.down 

;snes, Port 2B, Gamepad: Left Shoulder
snes.input.port3.gamepad.l 

;snes, Port 2B, Gamepad: LEFT ←
snes.input.port3.gamepad.left 

;snes, Port 2B, Gamepad: Right Shoulder
snes.input.port3.gamepad.r 

;snes, Port 2B, Gamepad: Rapid A (right)
snes.input.port3.gamepad.rapid_a 

;snes, Port 2B, Gamepad: Rapid B (center, lower)
snes.input.port3.gamepad.rapid_b 

;snes, Port 2B, Gamepad: Rapid X (center, upper)
snes.input.port3.gamepad.rapid_x 

;snes, Port 2B, Gamepad: Rapid Y (left)
snes.input.port3.gamepad.rapid_y 

;snes, Port 2B, Gamepad: RIGHT →
snes.input.port3.gamepad.right 

;snes, Port 2B, Gamepad: SELECT
snes.input.port3.gamepad.select 

;snes, Port 2B, Gamepad: START
snes.input.port3.gamepad.start 

;snes, Port 2B, Gamepad: UP ↑
snes.input.port3.gamepad.up 

;snes, Port 2B, Gamepad: X (center, upper)
snes.input.port3.gamepad.x 

;snes, Port 2B, Gamepad: Y (left)
snes.input.port3.gamepad.y 

;snes, Port 2C, Gamepad: A (right)
snes.input.port4.gamepad.a 

;snes, Port 2C, Gamepad: B (center, lower)
snes.input.port4.gamepad.b 

;snes, Port 2C, Gamepad: DOWN ↓
snes.input.port4.gamepad.down 

;snes, Port 2C, Gamepad: Left Shoulder
snes.input.port4.gamepad.l 

;snes, Port 2C, Gamepad: LEFT ←
snes.input.port4.gamepad.left 

;snes, Port 2C, Gamepad: Right Shoulder
snes.input.port4.gamepad.r 

;snes, Port 2C, Gamepad: Rapid A (right)
snes.input.port4.gamepad.rapid_a 

;snes, Port 2C, Gamepad: Rapid B (center, lower)
snes.input.port4.gamepad.rapid_b 

;snes, Port 2C, Gamepad: Rapid X (center, upper)
snes.input.port4.gamepad.rapid_x 

;snes, Port 2C, Gamepad: Rapid Y (left)
snes.input.port4.gamepad.rapid_y 

;snes, Port 2C, Gamepad: RIGHT →
snes.input.port4.gamepad.right 

;snes, Port 2C, Gamepad: SELECT
snes.input.port4.gamepad.select 

;snes, Port 2C, Gamepad: START
snes.input.port4.gamepad.start 

;snes, Port 2C, Gamepad: UP ↑
snes.input.port4.gamepad.up 

;snes, Port 2C, Gamepad: X (center, upper)
snes.input.port4.gamepad.x 

;snes, Port 2C, Gamepad: Y (left)
snes.input.port4.gamepad.y 

;snes, Port 2D, Gamepad: A (right)
snes.input.port5.gamepad.a 

;snes, Port 2D, Gamepad: B (center, lower)
snes.input.port5.gamepad.b 

;snes, Port 2D, Gamepad: DOWN ↓
snes.input.port5.gamepad.down 

;snes, Port 2D, Gamepad: Left Shoulder
snes.input.port5.gamepad.l 

;snes, Port 2D, Gamepad: LEFT ←
snes.input.port5.gamepad.left 

;snes, Port 2D, Gamepad: Right Shoulder
snes.input.port5.gamepad.r 

;snes, Port 2D, Gamepad: Rapid A (right)
snes.input.port5.gamepad.rapid_a 

;snes, Port 2D, Gamepad: Rapid B (center, lower)
snes.input.port5.gamepad.rapid_b 

;snes, Port 2D, Gamepad: Rapid X (center, upper)
snes.input.port5.gamepad.rapid_x 

;snes, Port 2D, Gamepad: Rapid Y (left)
snes.input.port5.gamepad.rapid_y 

;snes, Port 2D, Gamepad: RIGHT →
snes.input.port5.gamepad.right 

;snes, Port 2D, Gamepad: SELECT
snes.input.port5.gamepad.select 

;snes, Port 2D, Gamepad: START
snes.input.port5.gamepad.start 

;snes, Port 2D, Gamepad: UP ↑
snes.input.port5.gamepad.up 

;snes, Port 2D, Gamepad: X (center, upper)
snes.input.port5.gamepad.x 

;snes, Port 2D, Gamepad: Y (left)
snes.input.port5.gamepad.y 

;snes, Port 1B, Gamepad: A (right)
snes.input.port6.gamepad.a 

;snes, Port 1B, Gamepad: B (center, lower)
snes.input.port6.gamepad.b 

;snes, Port 1B, Gamepad: DOWN ↓
snes.input.port6.gamepad.down 

;snes, Port 1B, Gamepad: Left Shoulder
snes.input.port6.gamepad.l 

;snes, Port 1B, Gamepad: LEFT ←
snes.input.port6.gamepad.left 

;snes, Port 1B, Gamepad: Right Shoulder
snes.input.port6.gamepad.r 

;snes, Port 1B, Gamepad: Rapid A (right)
snes.input.port6.gamepad.rapid_a 

;snes, Port 1B, Gamepad: Rapid B (center, lower)
snes.input.port6.gamepad.rapid_b 

;snes, Port 1B, Gamepad: Rapid X (center, upper)
snes.input.port6.gamepad.rapid_x 

;snes, Port 1B, Gamepad: Rapid Y (left)
snes.input.port6.gamepad.rapid_y 

;snes, Port 1B, Gamepad: RIGHT →
snes.input.port6.gamepad.right 

;snes, Port 1B, Gamepad: SELECT
snes.input.port6.gamepad.select 

;snes, Port 1B, Gamepad: START
snes.input.port6.gamepad.start 

;snes, Port 1B, Gamepad: UP ↑
snes.input.port6.gamepad.up 

;snes, Port 1B, Gamepad: X (center, upper)
snes.input.port6.gamepad.x 

;snes, Port 1B, Gamepad: Y (left)
snes.input.port6.gamepad.y 

;snes, Port 1C, Gamepad: A (right)
snes.input.port7.gamepad.a 

;snes, Port 1C, Gamepad: B (center, lower)
snes.input.port7.gamepad.b 

;snes, Port 1C, Gamepad: DOWN ↓
snes.input.port7.gamepad.down 

;snes, Port 1C, Gamepad: Left Shoulder
snes.input.port7.gamepad.l 

;snes, Port 1C, Gamepad: LEFT ←
snes.input.port7.gamepad.left 

;snes, Port 1C, Gamepad: Right Shoulder
snes.input.port7.gamepad.r 

;snes, Port 1C, Gamepad: Rapid A (right)
snes.input.port7.gamepad.rapid_a 

;snes, Port 1C, Gamepad: Rapid B (center, lower)
snes.input.port7.gamepad.rapid_b 

;snes, Port 1C, Gamepad: Rapid X (center, upper)
snes.input.port7.gamepad.rapid_x 

;snes, Port 1C, Gamepad: Rapid Y (left)
snes.input.port7.gamepad.rapid_y 

;snes, Port 1C, Gamepad: RIGHT →
snes.input.port7.gamepad.right 

;snes, Port 1C, Gamepad: SELECT
snes.input.port7.gamepad.select 

;snes, Port 1C, Gamepad: START
snes.input.port7.gamepad.start 

;snes, Port 1C, Gamepad: UP ↑
snes.input.port7.gamepad.up 

;snes, Port 1C, Gamepad: X (center, upper)
snes.input.port7.gamepad.x 

;snes, Port 1C, Gamepad: Y (left)
snes.input.port7.gamepad.y 

;snes, Port 1D, Gamepad: A (right)
snes.input.port8.gamepad.a 

;snes, Port 1D, Gamepad: B (center, lower)
snes.input.port8.gamepad.b 

;snes, Port 1D, Gamepad: DOWN ↓
snes.input.port8.gamepad.down 

;snes, Port 1D, Gamepad: Left Shoulder
snes.input.port8.gamepad.l 

;snes, Port 1D, Gamepad: LEFT ←
snes.input.port8.gamepad.left 

;snes, Port 1D, Gamepad: Right Shoulder
snes.input.port8.gamepad.r 

;snes, Port 1D, Gamepad: Rapid A (right)
snes.input.port8.gamepad.rapid_a 

;snes, Port 1D, Gamepad: Rapid B (center, lower)
snes.input.port8.gamepad.rapid_b 

;snes, Port 1D, Gamepad: Rapid X (center, upper)
snes.input.port8.gamepad.rapid_x 

;snes, Port 1D, Gamepad: Rapid Y (left)
snes.input.port8.gamepad.rapid_y 

;snes, Port 1D, Gamepad: RIGHT →
snes.input.port8.gamepad.right 

;snes, Port 1D, Gamepad: SELECT
snes.input.port8.gamepad.select 

;snes, Port 1D, Gamepad: START
snes.input.port8.gamepad.start 

;snes, Port 1D, Gamepad: UP ↑
snes.input.port8.gamepad.up 

;snes, Port 1D, Gamepad: X (center, upper)
snes.input.port8.gamepad.x 

;snes, Port 1D, Gamepad: Y (left)
snes.input.port8.gamepad.y 

;Emulated mouse sensitivity.
snes.mouse_sensitivity 0.50

;Enable specified OpenGL pixel shader.
snes.pixshader none

;Enable scanlines with specified opacity.
snes.scanlines 0

;Enable specified special video scaler.
snes.special none

;Stretch to fill screen.
snes.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
snes.tblur 0

;Accumulate color data rather than discarding it.
snes.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
snes.tblur.accum.amount 50

;Enable (bi)linear interpolation.
snes.videoip 0

;Full-screen horizontal resolution.
snes.xres 0

;Scaling factor for the X axis in windowed mode.
snes.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
snes.xscalefs 1.000000

;Full-screen vertical resolution.
snes.yres 0

;Scaling factor for the Y axis in windowed mode.
snes.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
snes.yscalefs 1.000000

;Enable sound output.
sound 1

;Desired total buffer size in milliseconds.
sound.buffer_time 52

;Select sound output device.
sound.device default

;Select sound driver.
sound.driver default

;Desired period size in microseconds.
sound.period_time 0

;Specifies the sound playback rate, in sound frames per second("Hz").
sound.rate 48000

;Sound volume level, in percent.
sound.volume 100

;Compressor to use with state rewinding
srwcompressor quicklz

;Number of frames to keep states for when state rewinding is enabled.
srwframes 600

;3D mode.
vb.3dmode anaglyph

;Reverse left/right 3D views.
vb.3dreverse 0

;Allow draw skipping.
vb.allow_draw_skip 0

;Anaglyph maximum-brightness color for left view.
vb.anaglyph.lcolor 0xffba00

;Anaglyph preset colors.
vb.anaglyph.preset red_blue

;Anaglyph maximum-brightness color for right view.
vb.anaglyph.rcolor 0x00baff

;CPU emulation mode.
vb.cpu_emulation fast

;Disassembly font size.
vb.debugger.disfontsize medium

;Character encoding for the debugger's memory editor.
vb.debugger.memcharenc shift_jis

;Default maximum-brightness color to use in non-anaglyph 3D modes.
vb.default_color 0xF0F0F0

;Disable parallax for BG and OBJ rendering.
vb.disable_parallax 0

;Enable (automatic) usage of this module.
vb.enable 1

;Force monophonic sound output.
vb.forcemono 0

;vb, Built-In, Gamepad: A
vb.input.builtin.gamepad.a 

;vb, Built-In, Gamepad: B
vb.input.builtin.gamepad.b 

;vb, Built-In, Gamepad: DOWN ↓ (Left D-Pad)
vb.input.builtin.gamepad.down-l 

;vb, Built-In, Gamepad: DOWN ↓ (Right D-Pad)
vb.input.builtin.gamepad.down-r 

;vb, Built-In, Gamepad: LEFT ← (Left D-Pad)
vb.input.builtin.gamepad.left-l 

;vb, Built-In, Gamepad: LEFT ← (Right D-Pad)
vb.input.builtin.gamepad.left-r 

;vb, Built-In, Gamepad: Left-Back
vb.input.builtin.gamepad.lt 

;vb, Built-In, Gamepad: Rapid A
vb.input.builtin.gamepad.rapid_a 

;vb, Built-In, Gamepad: Rapid B
vb.input.builtin.gamepad.rapid_b 

;vb, Built-In, Gamepad: RIGHT → (Left D-Pad)
vb.input.builtin.gamepad.right-l 

;vb, Built-In, Gamepad: RIGHT → (Right D-Pad)
vb.input.builtin.gamepad.right-r 

;vb, Built-In, Gamepad: Right-Back
vb.input.builtin.gamepad.rt 

;vb, Built-In, Gamepad: Select
vb.input.builtin.gamepad.select 

;vb, Built-In, Gamepad: Start
vb.input.builtin.gamepad.start 

;vb, Built-In, Gamepad: UP ↑ (Left D-Pad)
vb.input.builtin.gamepad.up-l 

;vb, Built-In, Gamepad: UP ↑ (Right D-Pad)
vb.input.builtin.gamepad.up-r 

;Input latency reduction hack.
vb.input.instant_read_hack 1

;Display latency reduction hack.
vb.instant_display_hack 0

;Line Interlaced prescale.
vb.liprescale 2

;Enable specified OpenGL pixel shader.
vb.pixshader none

;Enable scanlines with specified opacity.
vb.scanlines 0

;Number of pixels to separate L/R views by.
vb.sidebyside.separation 0

;Enable specified special video scaler.
vb.special none

;Stretch to fill screen.
vb.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
vb.tblur 0

;Accumulate color data rather than discarding it.
vb.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
vb.tblur.accum.amount 50

;Enable (bi)linear interpolation.
vb.videoip 0

;Full-screen horizontal resolution.
vb.xres 0

;Scaling factor for the X axis in windowed mode.
vb.xscale 2.000000

;Scaling factor for the X axis in fullscreen mode.
vb.xscalefs 1.000000

;Full-screen vertical resolution.
vb.yres 0

;Scaling factor for the Y axis in windowed mode.
vb.yscale 2.000000

;Scaling factor for the Y axis in fullscreen mode.
vb.yscalefs 1.000000

;Enable time synchronization(waiting) for frame blitting.
video.blit_timesync 1

;Video output method/driver.
video.driver opengl

;Enable frameskip during emulation rendering.
video.frameskip 1

;Enable fullscreen mode.
video.fs 0

;Attempt to synchronize OpenGL page flips to vertical retrace period.
video.glvsync 1

;Birth Day
wswan.bday 23

;Blood Type
wswan.blood O

;Birth Month
wswan.bmonth 6

;Birth Year
wswan.byear 1989

;Disassembly font size.
wswan.debugger.disfontsize medium

;Character encoding for the debugger's memory editor.
wswan.debugger.memcharenc shift_jis

;Enable (automatic) usage of this module.
wswan.enable 1

;Force monophonic sound output.
wswan.forcemono 0

;wswan, Built-In, Gamepad: A
wswan.input.builtin.gamepad.a keyboard 259

;wswan, Built-In, Gamepad: B
wswan.input.builtin.gamepad.b keyboard 258

;wswan, Built-In, Gamepad: DOWN ↓, X Cursors
wswan.input.builtin.gamepad.down-x keyboard 115

;wswan, Built-In, Gamepad: DOWN ↓, Y Cur: MUST NOT = X CURSORS
wswan.input.builtin.gamepad.down-y keyboard 274

;wswan, Built-In, Gamepad: LEFT ←, X Cursors
wswan.input.builtin.gamepad.left-x keyboard 97

;wswan, Built-In, Gamepad: LEFT ←, Y Cur: MUST NOT = X CURSORS
wswan.input.builtin.gamepad.left-y keyboard 276

;wswan, Built-In, Gamepad: Rapid A
wswan.input.builtin.gamepad.rapid_a 

;wswan, Built-In, Gamepad: Rapid B
wswan.input.builtin.gamepad.rapid_b 

;wswan, Built-In, Gamepad: RIGHT →, X Cursors
wswan.input.builtin.gamepad.right-x keyboard 100

;wswan, Built-In, Gamepad: RIGHT →, Y Cur: MUST NOT = X CURSORS
wswan.input.builtin.gamepad.right-y keyboard 275

;wswan, Built-In, Gamepad: Start
wswan.input.builtin.gamepad.start keyboard 13

;wswan, Built-In, Gamepad: UP ↑, X Cursors
wswan.input.builtin.gamepad.up-x keyboard 119

;wswan, Built-In, Gamepad: UP ↑, Y Cur: MUST NOT = X CURSORS
wswan.input.builtin.gamepad.up-y keyboard 273

;Language games should display text in.
wswan.language english

;Name
wswan.name Mednafen

;Enable specified OpenGL pixel shader.
wswan.pixshader none

;Virtually rotate D-pads along with screen.
wswan.rotateinput 0

;Enable scanlines with specified opacity.
wswan.scanlines 0

;Sex
wswan.sex F

;Enable specified special video scaler.
wswan.special none

;Stretch to fill screen.
wswan.stretch aspect_mult2

;Enable video temporal blur(50/50 previous/current frame by default).
wswan.tblur 0

;Accumulate color data rather than discarding it.
wswan.tblur.accum 0

;Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
wswan.tblur.accum.amount 50

;Enable (bi)linear interpolation.
wswan.videoip 0

;Full-screen horizontal resolution.
wswan.xres 0

;Scaling factor for the X axis in windowed mode.
wswan.xscale 3.000000

;Scaling factor for the X axis in fullscreen mode.
wswan.xscalefs 1.000000

;Full-screen vertical resolution.
wswan.yres 0

;Scaling factor for the Y axis in windowed mode.
wswan.yscale 3.000000

;Scaling factor for the Y axis in fullscreen mode.
wswan.yscalefs 1.000000

