Advertisement
Guest User

Untitled

a guest
Jan 27th, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. # All numeric values are in hexadecimal
  2. # Use TAB or EQUAL sign to separate name from value
  3.  
  4. #
  5. # Key configuration (all numbers are in hexadecimal!)
  6. #
  7. # Keys values are in the format YYYYXXXX where YYYY is the device number.
  8. # 0 means keyboard and XXXX is the SDL define for the desired key
  9. # (read SDL_keysym.h).
  10. #
  11. # If YYYY is greater than 0, it means joystick number YYYY-1 and it uses the
  12. # following format for XXXX:
  13. #
  14. # - if XXXX < 20, XXXX is the axis number multiplied by 2. An even number means
  15. # movement to the negative side (on the X axis, it means left). An odd
  16. # number means movement to the positive side (on the X axis, it mean
  17. # right). For the Y axis, negative means up and positive means down.
  18. # X axis is usally axis number 0 and Y is axis number 1.
  19. # - if 20 >= XXXX > 30, then XXXX is the HAT number multiplied by 4 plus the
  20. # direction: 0 for up, 1 for down, 2 for right and 3 for left. Example:
  21. # 0021 is HAT 0 down, 0026 is HAT 1 right.
  22. # - if 80 >= XXXX > 100, XXXX is the joystick button number (XXXX-0080).
  23. #
  24. # Default key configuration is (value in parenthesis):
  25. #
  26. # Left Left Arrow (00000114)
  27. # Right Right Arrow (00000113)
  28. # Up Up Arrow (00000111)
  29. # Down Down Arrow (00000112)
  30. # A Z (0000007a)
  31. # B X (00000078)
  32. # L A (00000061)
  33. # R S (00000073)
  34. # Start ENTER (0000000d)
  35. # Select BACKSPACE (00000008)
  36. # Speed up SPACE (00000020)
  37. # Capture F12 (00000125)
  38. # Auto A Q (00000071)
  39. # Auto B W (00000077)
  40. #
  41. Joy0_Left=0114
  42. Joy0_Right=0113
  43. Joy0_Up=0111
  44. Joy0_Down=0112
  45. Joy0_A=007a
  46. Joy0_B=0078
  47. Joy0_L=0061
  48. Joy0_R=0073
  49. Joy0_Start=000d
  50. Joy0_Select=0008
  51. Joy0_Speed=0020
  52. Joy0_Capture=0125
  53. Joy0_AutoA=0071
  54. Joy0_AutoB=0077
  55.  
  56. # Motion support keys. Same format as above
  57. #
  58. # Default keys are (value in parenthesis):
  59. #
  60. # Left Numeric Pad 4 (0104)
  61. # Right Numeric Pad 6 (0106)
  62. # Up Numeric Pad 8 (0108)
  63. # Down Numeric Pad 2 (0102)
  64. #
  65. Motion_Left=0104
  66. Motion_Right=0106
  67. Motion_Up=0108
  68. Motion_Down=0102
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement