Win How to determine a gamepad axis
#1
Question 
Hello, community! First of all, sorry for my english. Second - sorry for posting a new thread, i'm trying to find out a solution, but i can't.
I have xbmc 12.0, windows 7 x86 sp1 and gamepad bliss air keyboard conqueror (actually, a model of gamepad doesn't matter. it is just rare).
The problem is, i can't get a full working right stick of my gamepad in xbmc. In games it is full working.
I'm write a keymap for my gamepad:
Code:
<keymap>
  <global>
    <joystick name="Bliss Air Keyboard Conqueror">
      <altname>AK08b Device</altname>
      <button id="3">Select</button>
      <button id="2">Back</button>
      <button id="4">ContextMenu</button>
      <button id="1">FullScreen</button>
      <button id="5">Queue</button>
      <button id="6">PlayList</button>
      <button id="9">PreviousMenu</button>
      <button id="10">XBMC.ActivateWindow(Home)</button>
      <button id="11">XBMC.ActivateWindow(ShutdownMenu)</button>
      <button id="12">XBMC.ActivateWindow(PlayerControls)</button>
      <button id="7">ScrollUp</button>
      <button id="8">ScrollDown</button>
      <hat id="1" position="up">Up</hat>
      <hat id="1" position="down">Down</hat>
      <hat id="1" position="left">Left</hat>
      <hat id="1" position="right">Right</hat>
      <axis limit="+1" id="1">AnalogSeekForward</axis>
      <axis limit="-1" id="1">AnalogSeekBack</axis>
      <axis limit="+1" id="2">AnalogSeekBack</axis>
      <axis limit="-1" id="2">AnalogSeekForward</axis>
      <axis limit="+1" id="3">VolumeUp</axis>
      <axis limit="-1" id="3">VolumeDown</axis>
      <axis limit="+1" id="4">VolumeDown</axis>
      <axis limit="-1" id="4">VolumeUp</axis>
    </joystick>
  </global>
</keymap>
All buttons, d-pad and left stick movement is working. Exclude this strings (right stick up/down movement):
Code:
<axis limit="+1" id="4">VolumeDown</axis>
<axis limit="-1" id="4">VolumeUp</axis>
xbmc.log says about my gamepad this thing:
Code:
CJoystick::EnumJoysticksCallback : Enabled Joystick: AK08b Device
CJoystick::EnumJoysticksCallback : Total Axis: 4 Total Hats: 1 Total Buttons: 12
And it is shows all gamepad button pressed. But it is doesn't show sticks movement.
So, please help me. How stick movement can be logged? Or how else stick movement can be defined at keymap? Thank you.
Reply
#2
Hi,

i have a similar problem as Exine with my RGT Force Feedback Pro, with the exception that no button is working in xbmc.
The only message that is written in the log when i press a button is
Code:
CJoystick::EnumJoysticksCallback : Enabled Joystick: RGT Force Feedback Pro
CJoystick::EnumJoysticksCallback : Total Axis: 5 Total Hats: 1 Total Buttons: 10
Reply

Logout Mark Read Team Forum Stats Members Help
How to determine a gamepad axis0