Commit abecfd7a authored by Rinnegatamante's avatar Rinnegatamante
Browse files

Renamed AUX keys to PSVITA ones.

parent 468ef624
......@@ -56,8 +56,8 @@ typedef struct {
keyname_t keynames[] =
{
{"TAB", K_TAB},
{"ENTER", K_ENTER},
{"ESCAPE", K_ESCAPE},
{"SELECT", K_ENTER},
{"START", K_ESCAPE},
{"SPACE", K_SPACE},
{"BACKSPACE", K_BACKSPACE},
{"UPARROW", K_UPARROW},
......@@ -139,12 +139,12 @@ keyname_t keynames[] =
{"JOY31", K_JOY31},
{"JOY32", K_JOY32},
{"AUX1", K_AUX1},
{"AUX2", K_AUX2},
{"AUX3", K_AUX3},
{"AUX4", K_AUX4},
{"AUX5", K_AUX5},
{"AUX6", K_AUX6},
{"CROSS", K_AUX1},
{"CIRCLE", K_AUX2},
{"SQUARE", K_AUX3},
{"TRIANGLE", K_AUX4},
{"LTRIGGER", K_AUX5},
{"RTRIGGER", K_AUX6},
{"AUX7", K_AUX7},
{"AUX8", K_AUX8},
{"AUX9", K_AUX9},
......
......@@ -62,7 +62,7 @@ void Sys_SetKeys(uint32_t keys){
if((keys & SCE_CTRL_LTRIGGER) != (oldkeys & SCE_CTRL_LTRIGGER))
Key_Event(K_AUX5, (keys & SCE_CTRL_LTRIGGER) == SCE_CTRL_LTRIGGER, Sys_Milliseconds());
if((keys & SCE_CTRL_RTRIGGER) != (oldkeys & SCE_CTRL_RTRIGGER))
Key_Event(K_AUX7, (keys & SCE_CTRL_RTRIGGER) == SCE_CTRL_RTRIGGER, Sys_Milliseconds());
Key_Event(K_AUX6, (keys & SCE_CTRL_RTRIGGER) == SCE_CTRL_RTRIGGER, Sys_Milliseconds());
}
void IN_RescaleAnalog(int *x, int *y, int dead) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment