Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # All numeric values are in hexadecimal
- # Use TAB or EQUAL sign to separate name from value
- #
- # Key configuration (all numbers are in hexadecimal!)
- #
- # Keys values are in the format YYYYXXXX where YYYY is the device number.
- # 0 means keyboard and XXXX is the SDL define for the desired key
- # (read SDL_keysym.h).
- #
- # If YYYY is greater than 0, it means joystick number YYYY-1 and it uses the
- # following format for XXXX:
- #
- # - if XXXX < 20, XXXX is the axis number multiplied by 2. An even number means
- # movement to the negative side (on the X axis, it means left). An odd
- # number means movement to the positive side (on the X axis, it mean
- # right). For the Y axis, negative means up and positive means down.
- # X axis is usally axis number 0 and Y is axis number 1.
- # - if 20 >= XXXX > 30, then XXXX is the HAT number multiplied by 4 plus the
- # direction: 0 for up, 1 for down, 2 for right and 3 for left. Example:
- # 0021 is HAT 0 down, 0026 is HAT 1 right.
- # - if 80 >= XXXX > 100, XXXX is the joystick button number (XXXX-0080).
- #
- # Default key configuration is (value in parenthesis):
- #
- # Left Left Arrow (00000114)
- # Right Right Arrow (00000113)
- # Up Up Arrow (00000111)
- # Down Down Arrow (00000112)
- # A Z (0000007a)
- # B X (00000078)
- # L A (00000061)
- # R S (00000073)
- # Start ENTER (0000000d)
- # Select BACKSPACE (00000008)
- # Speed up SPACE (00000020)
- # Capture F12 (00000125)
- # Auto A Q (00000071)
- # Auto B W (00000077)
- #
- Joy0_Left=0114
- Joy0_Right=0113
- Joy0_Up=0111
- Joy0_Down=0112
- Joy0_A=007a
- Joy0_B=0078
- Joy0_L=0061
- Joy0_R=0073
- Joy0_Start=000d
- Joy0_Select=0008
- Joy0_Speed=0020
- Joy0_Capture=0125
- Joy0_AutoA=0071
- Joy0_AutoB=0077
- # Motion support keys. Same format as above
- #
- # Default keys are (value in parenthesis):
- #
- # Left Numeric Pad 4 (0104)
- # Right Numeric Pad 6 (0106)
- # Up Numeric Pad 8 (0108)
- # Down Numeric Pad 2 (0102)
- #
- Motion_Left=0104
- Motion_Right=0106
- Motion_Up=0108
- Motion_Down=0102
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement