-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45336 379a1393-f5fb-40a0-bcee-ef074d9b53f7
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# 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 | ||
# | ||
# For buttons, inputindex is the zero-based index of the button. | ||
# For hats: hat 0 has inputindex 0,1,2,3 respectively for up, down, left and right. Hat 1 has 5,6,7,8 etc. | ||
# For axes, and action 1 (joystick) and 2 (keyboard): axis 0 has inputindex 0,1 respectively for positive and negative, axis 1 has 2,3 etc. | ||
# For axes, and action 6 (pot axis): inputindex is the zero-based index of the axis. | ||
# | ||
# action [action_parameters]: | ||
# 0 none | ||
# 1 pin joystick (pin: 1/2/4/8/16/32/64 = u/d/l/r/fire/fire2/fire3) | ||
# 2 row col keyboard | ||
# 3 map | ||
# 4 UI activate | ||
# 5 action-name UI function | ||
# 6 pot potentiometer (1=pot x, 2=pot y) | ||
# | ||
|
||
!CLEAR | ||
|
||
# Joystick | ||
0 0 0 1 8 | ||
0 0 1 1 4 | ||
0 0 2 1 2 | ||
0 0 3 1 1 | ||
|
||
# paddles | ||
0 0 2 6 1 | ||
0 0 3 6 2 | ||
|
||
# buttons | ||
0 1 0 1 16 | ||
0 1 1 1 32 | ||
0 1 2 1 64 | ||
|