Archive:Xbox 360 Wireless Controller: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:
}}
}}
{{forum link2|See [[forum:135871|Fix Xbox 360]] controller support (keymap xbox 360 controller) forum discussion}}
{{forum link2|See [[forum:135871|Fix Xbox 360]] controller support (keymap xbox 360 controller) forum discussion}}
<noinclude>[[Category:Microsoft]]</noinclude>
<noinclude>
 
=== Microsoft XBOX 360 Controller Section ===
Valid Microsoft XBOX 360 Controller syntax is <button id="x">action</button> or <axis id="x" limit="y">action</axis>.
 
Here is a full list of button and axis mappings:
 
'''Buttons:'''
* 1 - A
* 2 - B 
* 3 - X   
* 4 - Y   
* 5 - LB 
* 6 - RB
* 7 - Start
* 8 - Guide
* 9 - Left Stick Button 
* 10 - Right Stick Button 
* 11 - D-Pad Up           
* 12 - D-Pad Down         
* 13 - D-Pad Left         
* 14 - D-Pad Right       
* 15 - Back
 
'''Axis Mappings:'''
* 1 - Left Stick L/R 
* 2 - Left Stick U/D 
* 3 - Left Trigger   
* 4 - Right Stick L/R 
* 5 - Right Stick U/D 
* 6 - Right Trigger   
 
'''Example:'''
<syntaxhighlight lang="xml" enclose="div">
<keymap>
  <global>
    <joystick name="Xbox 360 Wireless Receiver">
      <altname>Controller (Gamepad for Xbox 360)</altname>
      <altname>Controller (XBOX 360 For Windows)</altname>
      <button id="1">Select</button>
      <button id="2">Back</button>
      <button id="3">FullScreen</button>
      <button id="4">ContextMenu</button>
    </joystick>
  </global>
</keymap>
</syntaxhighlight>
 
[[Category:Microsoft]]</noinclude>

Revision as of 20:23, 1 March 2014

Attention talk.png See Fix Xbox 360 controller support (keymap xbox 360 controller) forum discussion


Microsoft XBOX 360 Controller Section

Valid Microsoft XBOX 360 Controller syntax is <button id="x">action</button> or <axis id="x" limit="y">action</axis>.

Here is a full list of button and axis mappings:

Buttons:

  • 1 - A
  • 2 - B
  • 3 - X
  • 4 - Y
  • 5 - LB
  • 6 - RB
  • 7 - Start
  • 8 - Guide
  • 9 - Left Stick Button
  • 10 - Right Stick Button
  • 11 - D-Pad Up
  • 12 - D-Pad Down
  • 13 - D-Pad Left
  • 14 - D-Pad Right
  • 15 - Back

Axis Mappings:

  • 1 - Left Stick L/R
  • 2 - Left Stick U/D
  • 3 - Left Trigger
  • 4 - Right Stick L/R
  • 5 - Right Stick U/D
  • 6 - Right Trigger

Example:

<keymap>
  <global>
    <joystick name="Xbox 360 Wireless Receiver">
      <altname>Controller (Gamepad for Xbox 360)</altname>
      <altname>Controller (XBOX 360 For Windows)</altname>
      <button id="1">Select</button>
      <button id="2">Back</button>
      <button id="3">FullScreen</button>
      <button id="4">ContextMenu</button>
    </joystick>
  </global>
</keymap>