Ticket #37 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

buttons mixed up

Reported by: yachi Owned by: dsmith
Priority: major Milestone:
Component: build system Version: 0.5.02
Keywords: Cc:

Description

i use the default button setting with feisty the ir works great but only button A is working properly as left click button B is middle click , not right click button up is print screen any way to fix this ? thanks you :) cwiid is great!

Change History

Changed 5 years ago by yachi

Component should be wminput

Changed 5 years ago by dsmith

  • status changed from new to closed
  • resolution set to invalid

Not sure, but this should be in the forums until we determine there's actually a bug in the system. I haven't heard anything else about this, so I'm inclined to say it's a distribution issue.

Changed 5 years ago by Billy_McBong

  • status changed from closed to reopened
  • resolution invalid deleted

i have this problem too. exactly the same, a is left click, b is middle click, and up is print screen. even if i set the buttons to different keys they still use those ones. i am also using fiesty so it probably has something to do whit that. has anyone found a way to fix this? i love this program but it isnt very useful if i can only use those 3 buttons. there is nothing about this in the forums but i might make a post there if no one helps me here

Changed 5 years ago by dsmith

post the entire command you are running, and the pertinent configuration files

Changed 5 years ago by anonymous

i use the command "sudo wminput --config ir_ptr", for some reason i have to do "sudo modprobe uinput" first or it says unable to open uinput. where does it store the configure files?

Changed 5 years ago by Billy_McBong

i found them(should have checked the readme fist) the if_ptr is "#ir_ptr

include buttons

Plugin.ir_ptr.X = ~ABS_X Plugin.ir_ptr.Y = ~ABS_Y" i havent changed any config files. do you want me to post the buttons one? its a little big

Changed 5 years ago by dsmith

I'm confused - how are you setting the buttons to different keys without modifying the config files?

Changed 5 years ago by anonymous

well i can modify the config files but i want the default buttons(B as right click, up as up, ext).

Changed 5 years ago by anonymous

and i was changing the wrong config before(in the fist post) so now i can change the buttons but cant get it to use the default buttons

Changed 5 years ago by dsmith

Default buttons are defined in the buttons config file, which is referenced by the various *_ptr configs. All of the configs are in $prefix/etc/cwiid/wminput, where $prefix is probably /usr/local by default. The config file format is detailed in wminput/README from the source tarball.

Please be specific when asking for help: What config were you changing in the first post? How did you change it? What do you mean by "the default buttons"?

Changed 5 years ago by anonymous

well the problem is in the button config uses the wrong key. i have B set to "BTN_RIGHT" but it uses the middle button, up set to "KEY_UP" but it uses print screen. A as left click is the only one i can get to work right. some keys work like all the letters(KEY_A, KEY_B, ext) but the most of the ones i want to use dont work

Changed 5 years ago by dsmith

Try running input-events from this package to see what's actually coming out of the event device. You may need to do this from outside of X.

Changed 5 years ago by Billy_McBong

i install that and ran the command "sudo input-events 6" with the output
"/dev/input/event6
bustype : (null)
vendor : 0x1
product : 0x1
version : 1
name : "Nintendo Wiimote"
bits ev : EV_SYN EV_KEY EV_REL EV_ABS

waiting for events
timeout, quitting"
i tried it for the mouse and stuff pops up when i push a button or move the mouse but nothing pops up for the Wiimote if i push buttons or move it

Changed 5 years ago by dsmith

Did you try it from outside of X? ctrl-alt-F1 should give you a bare console prompt.

Changed 5 years ago by Billy_McBong

the output was:
17:58:03.815233: EV_KEY BTN_LEFT pressed
17:58:03.815245: EV_KEY code=0 value=0
17:58:03.898224: EV_KEY BTN_LEFT released
17:58:03.898234: EV_KEY code=0 value=0
the button is what the button is assigned to in the button config file

Changed 5 years ago by dsmith

  • status changed from reopened to closed
  • resolution set to invalid

Ok - that tells us it's a distro issue, not a CWiid issue. I'll be glad to help you figure out the problem, but as stated above, this belongs in the forums, not the ticket system. Continue the conversation here.

Note: See TracTickets for help on using tickets.