PS4 help
- Tady
- Offline
- Premium Member
-
Less
More
- Posts: 104
- Thank you received: 11
11 Feb 2021 15:02 #198405
by Tady
Replied by Tady on topic PS4 help
Nope just prints dots.. How do I do that?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
Less
More
- Posts: 23301
- Thank you received: 4938
11 Feb 2021 15:19 #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"
github.com/LinuxCNC/linuxcnc/blob/e6fe78.../linux_event.py#L773
Try "Wireless Controller:2"
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
Less
More
- Posts: 23301
- Thank you received: 4938
11 Feb 2021 15:21 #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.
sudo ls /dev/input
With the controller plugged in. That might help work out what pattern to search for.
Please Log in or Create an account to join the conversation.
- Tady
- Offline
- Premium Member
-
Less
More
- Posts: 104
- Thank you received: 11
11 Feb 2021 15:31 #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
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 or Create an account to join the conversation.
- Tady
- Offline
- Premium Member
-
Less
More
- Posts: 104
- Thank you received: 11
11 Feb 2021 15:35 #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 or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
Less
More
- Posts: 23301
- Thank you received: 4938
11 Feb 2021 15:42 #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.
But at least we found something that works, even if we don't know why.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
Less
More
- Posts: 2245
- Thank you received: 481
11 Feb 2021 17:11 #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 or Create an account to join the conversation.
- Tady
- Offline
- Premium Member
-
Less
More
- Posts: 104
- Thank you received: 11
12 Feb 2021 05:48 #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 or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
Less
More
- Posts: 23301
- Thank you received: 4938
12 Feb 2021 09:40 #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.
That should help to find an unambiguous match. You are likely to see that spaces become underscores.
Please Log in or Create an account to join the conversation.
- Tady
- Offline
- Premium Member
-
Less
More
- Posts: 104
- Thank you received: 11
12 Feb 2021 20:57 #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
With controller connected or disconnected
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds