ds4vita
                                
                                
                                
                                    ds4vita copied to clipboard
                            
                            
                            
                        Remap buttons?
Hi sorry if this has been answered elsewhere, but I couldn't find anything about it.
Is it possible to remap buttons? I'd like to use L2 and R2 for L and R while playing Vita games, rather than L1 and R1. Thanks very much for your work. :)
Regards.
The assignments can be easily swapped if you know how to build the plugin
https://github.com/xerpi/ds4vita/blob/master/main.c#L226
Replace those two with the two above it so it looks like
	if (ds4->l2)
		buttons |= SCE_CTRL_L1;
	if (ds4->r2)
		buttons |= SCE_CTRL_R1;
                                    
                                    
                                    
                                
Hi thanks for replying - I don't suppose you could point me in the direction of a guide that can explain how to build plugins? I've never done it before and I googled for a while but I couldn't find anything that explained it in an easy way, haha.
Regards.
@xSASxZaros you have to install the vitasdk: https://vitasdk.org/