ds4vita icon indicating copy to clipboard operation
ds4vita copied to clipboard

Remap buttons?

Open xSASxZaros opened this issue 8 years ago • 3 comments

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.

xSASxZaros avatar Jul 26 '17 12:07 xSASxZaros

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;

parkerlreed avatar Jul 26 '17 14:07 parkerlreed

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 avatar Jul 30 '17 10:07 xSASxZaros

@xSASxZaros you have to install the vitasdk: https://vitasdk.org/

xerpi avatar Jul 30 '17 14:07 xerpi