RPCS3 Forums
Shanwan Ps3 Controller Clone under linux - Printable Version

+- RPCS3 Forums (https://forums.rpcs3.net)
+-- Forum: Support & Issues (https://forums.rpcs3.net/forumdisplay.php?fid=17)
+--- Forum: Support (https://forums.rpcs3.net/forumdisplay.php?fid=18)
+--- Thread: Shanwan Ps3 Controller Clone under linux (/showthread.php?tid=201166)



Shanwan Ps3 Controller Clone under linux - dariocdj - 01-17-2020

Hi folks, 
I've a couple of Shanwan Ps3 Controller clone under linux. In bluetooth it was recognized as PS3Controller in rpcs3. It works but when i try to customize buttons i see that it was badly assigned. Default config doesn't work for buttons (only for pads). 
Tried to customize with a,b,x,y combination, Square, Circle, Triangle, Cross combination, no way.

So opening evtest and selecting correct device, buttons respond to :

300 triangle
301 Circle
302 Cross
303 Square

EDIT : square button respond to DEAD so it works
EDIT : if i press cross or otcircle or triangle error is : evdev: Evdev button (NULLSTR) (302) is unknown. Please add it to the button list.

How i can map in yml file? 
Thanks a lot
Dario


RE: Shanwan Ps3 Controller Clone under linux - dariocdj - 02-17-2020

If i try to make a custom mapping yml and i put 

Cross: 302
Circle: 301
Triangle: 300
It doesn't work.

Please someone can help me ?
thanks
Dario

If i try to map via rpcs3 it give me : 
square : dead
cross : ry-
triangle : ry - 
Circle : ry- 

What can i do ?
Dario


RE: Shanwan Ps3 Controller Clone under linux - dariocdj - 03-04-2020

Exactely rpcs3 tell me evdev button unknow (301) please add it to button list ! Please, where is button list ???


RE: Shanwan Ps3 Controller Clone under linux - ehabtanta - 03-04-2020

can you plz tell me where is the config yml file
iam using the appimage in ubunto and cant find the file


RE: Shanwan Ps3 Controller Clone under linux - dariocdj - 03-08-2020

(03-04-2020, 08:02 PM)ehabtanta Wrote: can you plz tell me where is the config yml file
iam using the appimage in ubunto and cant find the file

Under .config/rpcs3


RE: Shanwan Ps3 Controller Clone under linux - dariocdj - 03-11-2020

Please no one can help me? It's lot of time that i need to solve this issue for my children...
Thanks
Dario

evdev: Evdev button (NULLSTR) (302) is unknown. Please add it to the button list.

Where is button_list ?

case EV_KEY:
{
m_is_button_or_trigger = true;

// get the button value and return its code
if (button_list.find(code) == button_list.end())
{
evdev_log.error("Evdev button %s (%d) is unknown. Please add it to the button list.", libevdev_event_code_get_name(EV_KEY, code), code);
return -1;
}

value = val > 0 ? 255 : 0;
return code;
}