forked from joanpc/xJoyMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
98 lines (72 loc) · 3.47 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
xJoyMap wants to be a simple way to modify datarefs with your joystick and/or creating
advanced combined commands
Implements the following modes:
axis2dataref: maps a joystick axis to a dataref
button2dataref incremental: increment / decrement a dataref pressing a joy button
button2dataref toggle: toggle between predefined values on button press
button2dataref Switch mode: Useful for hardware switches (pressed_value, unpressed_value)
buttonAlias: creates Alias, combo and "shifted" commands and allows to override X-Plane default commands.
Constant dataref: Define constant values for datarefs on plane load (useful to set the fov for example)
It should be useful to:
* Users who want to change the behavior their joystick between aircraft
changes without visiting the joy config pane (see the x737 config example)
* Hardware Cockpit builders who want to assign dozens of buttons
and switches without having to write their own plug-ins.
* Airplane builders with custom plugins who doesn't want
to write all the button to dataref communication.
Please share your config files with the community!!
I will be more than pleased to add your config files to the examples folder; contact me!
Please feel free to post your patches, bugs and contributions
at http://github.com/joanpc/xJoyMap
=============
Installation
=============
You need the awesome PYTHON INTERFACE PLUGIN by Sandy Barbour
http://www.xpluginsdk.org/python_interface_sdk100_downloads.htm
It requires the last version 2.66.01 prior versions are incompatible.
Note: If you're using windows or an old osx version you must also install Python:
http://www.xpluginsdk.org/python_interface_sdk100_downloads.htm
For more info read sandy's documentation:
http://www.xpluginsdk.org/downloads/PythonInterfaceDocuments.zip
Copy PI_xJoyMap.py and xJoyMap.ini to your
Resources/plugins/PythonScripts directory.
Edit xJoyMap.ini to fit your needs. It contains some examples
and comments in order to help you.
If you want specific commands for an aircraft
copy xJoyMap.ini to the aircraft folder and modify it.
You can also use aircraftname.xjm in your aircraft folder,
see the 737.xjm in the examples folder.
===================
Configuration/Help
===================
Check the config files in the examples folder for more info.
=============
Future plans
=============
More shift commands: To be able to map the saitek x52 mode switch
*Maybe*
override yoke:
shift axis: Define axis assignments for each shift state
======
Thanks
======
to Sandy Barbour for the awesome X-Plane Phyton Interface,
his support, recommendations and fixes.
to Chewbacca400 for his crj200 config file, recommendations
and bug repports.
All the x-plane.org community for releasing so quality stuff for free :)
Enjoy
Joan
Copyright (C) 2010 Joan Perez i Cauhe
---
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.