PS4 help

More
5 years 8 months ago #198405 by Tady
Replied by Tady on topic PS4 help
Nope just prints dots.. How do I do that?

Please Log in to join the conversation.

More
5 years 8 months ago #198410 by andypugh
Replied by andypugh on topic PS4 help
I have another idea, having found the code.
github.com/LinuxCNC/linuxcnc/blob/e6fe78.../linux_event.py#L773

Try "Wireless Controller:2"

Please Log in to join the conversation.

More
5 years 8 months ago #198411 by andypugh
Replied by andypugh on topic PS4 help
Actually, what do you see with

sudo ls /dev/input

With the controller plugged in. That might help work out what pattern to search for.

Please Log in to join the conversation.

More
5 years 8 months ago #198415 by Tady
Replied by Tady on topic PS4 help
I saw that before I opened this thread. But I vouldn't make it work..
This is strange
loadusr - W hal_input - KRAL Controller:2
Throws an error
No input device matching 'Controller' was found (1 devices checked)
The same goes for
loadusr - W hal_input - KRAL Controller:1
BUT...
loadusr - W hal_input - KRAL Controller:0
Loads corectly and the controller works. It should select the first entry but it select the last one...
I'm confused.. Hahaha

Please Log in to join the conversation.

More
5 years 8 months ago #198416 by Tady
Replied by Tady on topic PS4 help
Maybe the colon stops the iteriation of the string and that is how it selects the last one (no more characters)

Please Log in to join the conversation.

More
5 years 8 months ago #198417 by andypugh
Replied by andypugh on topic PS4 help
It splits-out the colon before running the search, so I don't think it is that.

But at least we found something that works, even if we don't know why.

Please Log in to join the conversation.

More
5 years 8 months ago #198419 by Clive S
Replied by Clive S on topic PS4 help
Sticking my neck our here but should it be loading controller :0 first then :1 etc.

Please Log in to join the conversation.

More
5 years 8 months ago #198496 by Tady
Replied by Tady on topic PS4 help
Yes it should.. But when I use Controller:1 LinuxCNC throws an error, like it doesn't find any more entrys. It says 1 device found.

Please Log in to join the conversation.

More
5 years 8 months ago #198508 by andypugh
Replied by andypugh on topic PS4 help
What paths exist in /dev/input and /dev/input/by_id ?

That should help to find an unambiguous match. You are likely to see that spaces become underscores.

Please Log in to join the conversation.

More
5 years 8 months ago #198572 by Tady
Replied by Tady on topic PS4 help
by-id returns usb-SuYin_HP_TrueVision_HD_HF1016-A821-0V01-VH-R04.00.00-event-if00

With controller connected or disconnected

Please Log in to join the conversation.

Time to create page: 0.442 seconds
Powered by Kunena Forum