-
Notifications
You must be signed in to change notification settings - Fork 0
/
Analog_WASD_Key_Binds.ttm
160 lines (156 loc) · 6.97 KB
/
Analog_WASD_Key_Binds.ttm
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
// Part of Analog_WASD_Profile#.# keybinds packages
//---------------------------------------------------------------------------
//
// Default keymaps these may or may not dircectly be used but are are for referance and will be use where posable to keep future change compatable.
// Keybinds will be useing TARGETS USB command to be cross local compatable see bottom of file for english key conversion.
//
// KEYBIND SHOULD NOT BE CHANGED UNLESS YOU RUN A NON-STANDARD LAYOUT. IE YOU CHANGE THE DEFAULT KEYBOARD BINDS
//
//---------------------------------------------------------------------------
define ThrottleUp USB[0xE1] //L_Shift throttle step up
define AltThrottleUp USB[0x55] //numpad * alternate throttle step up
define ThrottleDown USB[0xE0] //L_Ctrl - throttle step down
define AltThrottleDown USB[0x54] //numpad / alternate throttle step down
define TrimInc USB[0x59] //numpad 1 trim increase step up
define TrimDecr USB[0x5A] //numpad 2 trim decrease step down
define PitchDown USB[0x16] //s pitch down, nose down
define PitchUp USB[0x1A] //w pitch up, nose up
define RollRight USB[0x08] //e roll right, roll clockwise
define RollLeft USB[0x14] //q roll left, roll anti-clockwise
define YawRight USB[0x07] //d yaw right, nose right
define YawLeft USB[0x04] //a yaw left, nose left
define ThrustUp USB[0x52] //up arrow translate, accend, stafe thrust up
define ThrustDown USB[0x51] //down arrow translate, decend, thrust down
define ThrustRight USB[0x4F] //right arrow translate, strafe,thrust right
define ThrustLeft USB[0x50] //left arrow translate, strafe,thrust left
define Brakes USB[0xE0] //left control/ctrl brakes, stoping thrust, aero brakes, retro thrust, reverse
define ExtVoice USB[0x48] //Pause/Break for external Comms
define IntVoice USB[0x47] //Scroll Lock for internal Comms
//--------------------------------------------------------------------------------------------------------------------------------------------------------------//
// REFERENCE: USB KEY DEFINITIONS // //
//--------------------------------------------------------------------------------------------------------------------------------------------------------------//
// //
// A USB[0x04] 1 USB[0x1E] ENTER USB[0x28] PRINT SCREEN USB[0x46] NUMPAD / USB[0x54] F1 USB[0x3A] //
// B USB[0x05] 2 USB[0x1F] ESCAPE USB[0x29] SCROLL LOCK USB[0x47] NUMPAD * USB[0x55] F2 USB[0x3B] //
// C USB[0x06] 3 USB[0x20] BACKSPACE USB[0x2A] PAUSE/BREAK USB[0x48] NUMPAD - USB[0x56] F3 USB[0x3C] //
// D USB[0x07] 4 USB[0x21] TAB USB[0x2B] NUM LOCK USB[0x53] NUMPAD + USB[0x57] F4 USB[0x3D] //
// E USB[0x08] 5 USB[0x22] SPACE USB[0x2C] INSERT USB[0x49] NUMPAD ENT USB[0x58] F5 USB[0x3E] //
// F USB[0x09] 6 USB[0x23] - USB[0x2D] HOME USB[0x4A] NUMPAD 1 USB[0x59] F6 USB[0x3F] //
// G USB[0x0A] 7 USB[0x24] = USB[0x2E] PAGE UP USB[0x4B] NUMPAD 2 USB[0x5A] F7 USB[0x40] //
// H USB[0x0B] 8 USB[0x25] { USB[0x2F] DELETE USB[0x4C] NUMPAD 3 USB[0x5B] F8 USB[0x41] //
// I USB[0x0C] 9 USB[0x26] } USB[0x30] END USB[0x4D] NUMPAD 4 USB[0x5C] F9 USB[0x42] //
// J USB[0x0D] 0 USB[0x27] / USB[0x31] PAGE DOWN USB[0x4E] NUMPAD 5 USB[0x5D] F10 USB[0x43] //
// K USB[0x0E] EUROPE1** USB[0x32] NUMPAD 6 USB[0x5E] F11 USB[0x44] //
// L USB[0x0F] : USB[0x33] RIGHT ARROW USB[0x4F] NUMPAD 7 USB[0x5F] F12 USB[0x45] //
// M USB[0x10] ' USB[0x34] LEFT ARROW USB[0x50] NUMPAD 8 USB[0x60] F13 USB[0x68] //
// N USB[0x11] ~ USB[0x35] DOWN ARROW USB[0x51] NUMPAD 9 USB[0x61] F14 USB[0x69] //
// O USB[0x12] , USB[0x36] UP ARROW USB[0x52] NUMPAD 0 USB[0x62] F15 USB[0x6A] //
// P USB[0x13] . USB[0x37] NUMPAD . USB[0x63] F16 USB[0x6B] //
// Q USB[0x14] \ USB[0x38] MUTE USB[0x7F] NUMPAD = USB[0x67] F17 USB[0x6C] //
// R USB[0x15] CAPS LOCK USB[0x39] VOL UP USB[0x80] F18 USB[0x6D] //
// S USB[0x16] VOL DOWN USB[0x81] F19 USB[0x6E] //
// T USB[0x17] L_CTL USB[0xE0] F20 USB[0x6F] //
// U USB[0x18] L_SHIFT USB[0xE1] EUROPE2** USB[0x64] F21 USB[0x70] //
// V USB[0x19] L_ALT USB[0xE2] APPLICATION USB[0x65] F22 USB[0x71] //
// W USB[0x1A] L_WIN USB[0xE3] POWER USB[0x66] F23 USB[0x72] //
// X USB[0x1B] R_CTL USB[0xE4] F24 USB[0x73] //
// Y USB[0x1C] R_SHIFT USB[0xE5] //
// Z USB[0x1D] R_ALT USB[0xE6] //
// R_WIN USB[0xE7] ** Further Special Keyboard Commands on page 54/60 of Target Script Editor Manual ** //
//--------------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------
//
// -- DX128 Notes --
//
// Here is additional defines for 120 DX buttons, they just follow the standard
// DX defines from defines.tmh which stop to DX32 with value 3031
//
//---------------------------------------------------------------------------
define DX33 3032
define DX34 3033
define DX35 3034
define DX36 3035
define DX37 3036
define DX38 3037
define DX39 3038
define DX40 3039
define DX41 3040
define DX42 3041
define DX43 3042
define DX44 3043
define DX45 3044
define DX46 3045
define DX47 3046
define DX48 3047
define DX49 3048
define DX50 3049
define DX51 3050
define DX52 3051
define DX53 3052
define DX54 3053
define DX55 3054
define DX56 3055
define DX57 3056
define DX58 3057
define DX59 3058
define DX60 3059
define DX61 3060
define DX62 3061
define DX63 3062
define DX64 3063
define DX65 3064
define DX66 3065
define DX67 3066
define DX68 3067
define DX69 3068
define DX70 3069
define DX71 3070
define DX72 3071
define DX73 3072
define DX74 3073
define DX75 3074
define DX76 3075
define DX77 3076
define DX78 3076
define DX79 3078
define DX80 3079
define DX81 3080
define DX82 3081
define DX83 3082
define DX84 3083
define DX85 3084
define DX86 3085
define DX87 3086
define DX88 3087
define DX89 3088
define DX90 3089
define DX91 3090
define DX92 3091
define DX93 3092
define DX94 3093
define DX95 3094
define DX96 3095
define DX97 3096
define DX98 3097
define DX99 3098
define DX100 3099
define DX101 3100
define DX102 3101
define DX103 3102
define DX104 3103
define DX105 3104
define DX106 3105
define DX107 3106
define DX108 3107
define DX109 3108
define DX110 3109
define DX111 3110
define DX112 3111
define DX113 3112
define DX114 3113
define DX115 3114
define DX116 3115
define DX117 3116
define DX118 3117
define DX119 3118
define DX120 3119