distribution/packages/games/emulators/vicesa/config/RG552/sdl-joymap-VIC20.vjm
2022-03-18 16:44:14 -04:00

64 lines
1.2 KiB
Text

# VICE joystick mapping file
#
# A joystick map is read in as patch to the current map.
#
# File format:
# - comment lines start with '#'
# - keyword lines start with '!keyword'
# - normal line has 'joynum inputtype inputindex action'
#
# Keywords and their lines are:
# '!CLEAR' clear all mappings
#
# inputtype:
# 0 axis
# 1 button
# 2 hat
# 3 ball
#
# Note that each axis has 2 inputindex entries and each hat has 4.
#
# action [action_parameters]:
# 0 none
# 1 port pin joystick (pin: 1/2/4/8/16/32/64/128/256/512/1024/2048 = u/d/l/r/fire(A)/fire2(B)/fire3(X)/Y/LB/RB/select/start)
# 2 row col keyboard
# 3 map
# 4 UI activate
# 5 path&to&item UI function
# 6 pot axis joystick (pot: 1/2/3/4 = x1/y1/x2/y2)
#
!CLEAR
# retrogame_joypad
0 0 0 1 0 8
0 0 1 1 0 4
0 0 2 1 0 2
0 0 3 1 0 1
0 0 4 1 1 8
0 0 5 1 1 4
0 0 6 1 1 2
0 0 7 1 1 1
0 1 0 1 0 16
0 1 1 4
0 1 2 3
0 1 3 1 1 16
0 1 4 1 0 16
0 1 5 4
0 1 6 3
0 1 7 5 Machine settings&Joystick settings&Swap native joystick ports
0 1 8 5 Virtual keyboard
0 1 9 4
0 1 10 3
0 1 11 1 1 16
0 1 12 1 0 16
0 1 13 1 0 1
0 1 14 1 0 2
0 1 15 1 0 4
0 1 16 1 0 8