I ran it like this:

sudo xboxdrv --evdev=/dev/input/event6 --silent --mouse -m square=X1:Y1 
--ui-axismap X1=ABS_X,Y1=ABS_Y --no-extra-devices

output:

xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/ 
Copyright © 2008-2011 Ingo Ruhnke <[email protected]> 
Licensed under GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html> 
This program comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it under certain 
conditions; see the file COPYING for details. 


Your Xbox/Xbox360 controller should now be available as:
  /dev/input/js1
  /dev/input/event12

Press Ctrl-c to quit, use '--silent' to suppress the event output
X1:     0 Y1:     0  X2:     0 Y2:     0  du:0 dd:0 dl:0 dr:0  back:0 
guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:     0 Y1:     0  X2:     0 Y2:     0  du:0 dd:0 dl:0 dr:0  back:0 
guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:     0 Y1:     0  X2:     0 Y2:     0  du:0 dd:0 dl:0 dr:0  back:0 
guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:     0 Y1:     0  X2:     0 Y2:     0  du:0 dd:0 dl:0 dr:0  back:0 
guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:     0 Y1:     0  X2:     0 Y2:     0  du:0 dd:0 dl:0 dr:0  back:0 
guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:     0 Y1:     0  X2:     0 Y2:     0  du:0 dd:0 dl:0 dr:0  back:0 
guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0

Coursor doesn't move on joystick movement. :/



2014. május 1., csütörtök 15:02:54 UTC+2 időpontban Ingo Ruhnke a 
következőt írta:
>
> On Thu, May 1, 2014 at 2:15 AM, Adam Wolf <[email protected]<javascript:>
> > wrote:
>
>> My question is basically asked in the subject field. I want to use a 
>> gamepad to controll flight simulator over Teamwiever. Everything works 
>> fine, the only problem is that when I move the joystick, the coursor moves, 
>> thus the ailerons and elevator move, but when I release, coursor (and thus 
>> ailerons and elevator) stays. How can I get it to return to the center of 
>> the screen when I release the joystick?
>>
>
> Regular mouse motion is relative, meaning xboxdrv doesn't have a concept 
> of a screen or a center of a screen, all it does is report things like 
> "move the pointer 5 steps to the left". So regular mouse emulation is 
> probably not going to work.
>
> To get the behaviour you can try emulating a touch screen or graphic 
> tablet, which do report absolute screen coordinates, something like this:
>
>  xboxdrv --mouse -m square=X1:Y1 --ui-axismap X1=ABS_X,Y1=ABS_Y 
> --no-extra-devices
>
> might do the trick.
>
> -- 
> Blog:     http://grumbel.blogspot.com/
> JabberID: xmpp:[email protected] <javascript:>
> ICQ:      59461927 
>

-- 
You received this message because you are subscribed to the Google Groups 
"xboxdrv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/xboxdrv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to