W dniu sobota, 17 stycznia 2015 21:21:40 UTC+1 użytkownik Ingo Ruhnke napisał: > > On Sat, Jan 17, 2015 at 9:01 PM, <[email protected] <javascript:>> > wrote: > > Hi. > > Normally I use very simple config : > > > > [xboxdrv] > > extra-devices=false > > extra-events=false > > deadzone=4000 > > next-controller = false > > mouse = false > > mimic-xpad = false > > mimic-xpad-wireless = true > > > > Today I wanted to remap some buttons to keyboard, so I added a new > section > > to this config: > > > > [ui-buttonmap] > > A=KEY_M > > B=KEY_Z > > X=KEY_SPACE > > Y=BTN_Y > > > > Button works fine, but left stick moves a mouse pointer now . > > How can I avoid that? > > Try removing: > > extra-devices=false > extra-events=false > next-controller = false > mouse = false > mimic-xpad = false > > Not sure why you would end up with a mouse, but without extra-devices > all the events will get put into a single virtual device and having > joystick and keyboard events in a single device might confuse some > apps. Also check with evtest and xinput list what devices are actually > created. >
Doesn't help. xinput says there is no new pointer devices : ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech G9 Laser Mouse id=10 [slave pointer (2)] ⎜ ↳ Logitech G9 Laser Mouse id=11 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ USB Keyboard id=8 [slave keyboard (3)] ↳ USB Keyboard id=9 [slave keyboard (3)] ↳ Gaming Keyboard id=12 [slave keyboard (3)] ↳ Gaming Keyboard id=13 [slave keyboard (3)] ↳ G15 Extra Keys id=14 [slave keyboard (3)] ↳ Xbox 360 Wireless Receiver id=15 [slave keyboard (3)] xf86-input-joystick is not installed , xorg says it ignores js0 device : [ 18189.589] (II) config/udev: Adding input device Xbox 360 Wireless Receiver (/dev/input/js0) [ 18189.589] (**) Xbox 360 Wireless Receiver: Applying InputClass "system-keyboard" [ 18189.589] (II) No input driver specified, ignoring this device. [ 18189.589] (II) This device may have been added with another device file. but xev detects movements : MotionNotify event, serial 37, synthetic NO, window 0x5200001, root 0x8d, subw 0x0, time 19543927, (48,79), root:(402,326), state 0x10, is_hint 0, same_screen YES -- 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.
