joystick 2.4.7

More
31 Oct 2011 08:31 #14453 by Rick G
joystick 2.4.7 was created by Rick G
John,

Thanks for the heads up, sure saved some time looking for the problem...

I'm not sure what changed but on my plasma when I upgraded to 2.4.7 something changed the input.0.btn-trigger to input.0.btn-joystick...

John


Ran into the same thing here.

Any idea if this be changed back, or is this permanent?

Rick G

Please Log in or Create an account to join the conversation.

More
31 Oct 2011 15:07 #14468 by BigJohnT
Replied by BigJohnT on topic Re:joystick 2.4.7
I suspect it to be a permanent thing as far as permanent is.

John

Please Log in or Create an account to join the conversation.

More
01 Nov 2011 10:33 #14480 by Rick G
Replied by Rick G on topic Re:joystick 2.4.7
Perhaps there was a good reason, otherwise it seems strange to rename a pin that will require users to edit custom configs just to upgrade.
I would kinda hope it was just a bug and would revert.

Rick G

Please Log in or Create an account to join the conversation.

More
01 Nov 2011 11:53 #14482 by BigJohnT
Replied by BigJohnT on topic Re:joystick 2.4.7
I don't think it was an EMC thing but rather an Ubuntu update that came at the same time...

John

Please Log in or Create an account to join the conversation.

More
02 Nov 2011 09:00 #14507 by Rick G
Replied by Rick G on topic Re:joystick 2.4.7
For what it is worth I have one machine running 10.04 on it I have...

EMC 2.4.5 installed and also EMC 2.6.0~pre RIP

The 2.4.5 uses input.0.btn-trigger
The 2.6.0 uses input.0.btn-joystick

Rick G

Please Log in or Create an account to join the conversation.

More
02 Nov 2011 11:49 #14509 by BigJohnT
Replied by BigJohnT on topic Re:joystick 2.4.7
I must have been more confused than I thought then... hmmm was it something like expanded support for input?

Your right it was this commit by Seb, or at least he said so I think...
git.linuxcnc.org/gitweb?p=emc2.git;a=com...69f5806255ed5fd309e9

teach linux_event.py about new input events

The Linux Input subsystem has gained some new events since linux_event.py
was written. This commit adds support for the new event types.

This patch is from Przemek Klosowski, thanks!


But I'll be dammed if I can find btn-trigger or btn-joystick in the commit... Some things just elude me.

John

Please Log in or Create an account to join the conversation.

More
03 Nov 2011 10:21 #14538 by Rick G
Replied by Rick G on topic Re:joystick 2.4.7
From...

git.linuxcnc.org/gitweb?p=emc2.git;a=blo...69f5806255ed5fd309e9
...............
565 'BTN_JOYSTICK': 0x120,
566 'BTN_TRIGGER': 0x120,
...............

???

Does one replace the other?

Rick G

Please Log in or Create an account to join the conversation.

More
03 Nov 2011 13:01 #14544 by andypugh
Replied by andypugh on topic Re:joystick 2.4.7
Rick G wrote:

From...

git.linuxcnc.org/gitweb?p=emc2.git;a=blo...69f5806255ed5fd309e9
...............
565 'BTN_JOYSTICK': 0x120,
566 'BTN_TRIGGER': 0x120,
...............

???

Does one replace the other?

Rick G


That looks like it might be an error.
I think you might be able to just edit the file and see if the names change (Python is interpreted). I would experiment with a totally random name first to see if it is acted on, then try keeping only one of those lines.

Please Log in or Create an account to join the conversation.

More
03 Nov 2011 13:36 #14547 by BigJohnT
Replied by BigJohnT on topic Re:joystick 2.4.7
That is odd, I see one other button pair with the same hex number. And looking back at the original commit it is the same.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum