Remove DS3 BT pairing customization.

This commit is contained in:
sorgelig
2019-04-05 18:51:02 +08:00
parent a13e61ddf0
commit 777732475d
3 changed files with 1 additions and 10 deletions

View File

@@ -1504,20 +1504,12 @@ static void joy_analog(int num, int axis, int offset)
}
}
static int ps3_sel = 0;
int is_ps3_sel()
{
return ps3_sel;
}
static int ds_ver = 0;
static void input_cb(struct input_event *ev, struct input_absinfo *absinfo, int dev)
{
static int key_mapped = 0;
if (ev->type == EV_KEY && input[dev].vid == 0x054c && input[dev].pid == 0x0268 && ev->code == 0x13a) ps3_sel = ev->value;
if (ev->type == EV_KEY && mapping && mapping_type == 3 && ev->code == input[dev].mmap[17]) ev->code = KEY_ENTER;
int map_skip = (ev->type == EV_KEY && ev->code == KEY_SPACE && ((mapping_dev >= 0 && mapping_type==1) || mapping_button<0));