From 2c73836a0616b15d2301900f43659f33e2378911 Mon Sep 17 00:00:00 2001 From: Iwan Timmer Date: Sun, 28 Jun 2015 21:25:03 +0200 Subject: [PATCH] Add a few extra mappings (untested) --- mappings/dualshock4.conf | 34 ++++++++++++++++++++++++++++++++++ mappings/rumblepad2.conf | 32 ++++++++++++++++++++++++++++++++ mappings/xbox360.conf | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 mappings/dualshock4.conf create mode 100644 mappings/rumblepad2.conf create mode 100644 mappings/xbox360.conf diff --git a/mappings/dualshock4.conf b/mappings/dualshock4.conf new file mode 100644 index 0000000..bee06ea --- /dev/null +++ b/mappings/dualshock4.conf @@ -0,0 +1,34 @@ +abs_x = 0 +abs_y = 1 +abs_z = 3 +abs_rx = 2 +abs_ry = 5 +abs_rz = 4 +abs_deadzone = 32544 +abs_dpad_x = 16 +abs_dpad_y = 17 +reverse_x = false +reverse_y = true +reverse_rx = false +reverse_ry = true +reverse_dpad_x = false +reverse_dpad_y = false +reverse_z = false +reverse_rz = false +btn_west = 304 +btn_south = 305 +btn_north = 307 +btn_east = 306 +btn_select = 313 +btn_start = 317 +btn_mode = 316 +btn_thumbl = 314 +btn_thumbr = 315 +btn_tl = 308 +btn_tr = 309 +btn_tl2 = -1 +btn_tr2 = -1 +btn_dpad_up = -1 +btn_dpad_down = -1 +btn_dpad_left = -1 +btn_dpad_right = -1 diff --git a/mappings/rumblepad2.conf b/mappings/rumblepad2.conf new file mode 100644 index 0000000..a0e42d3 --- /dev/null +++ b/mappings/rumblepad2.conf @@ -0,0 +1,32 @@ +abs_x = 0 +abs_y = 1 +abs_z = -1 +reverse_x = false +reverse_y = true +abs_rx = 2 +abs_ry = 5 +abs_rz = -1 +reverse_rx = false +reverse_ry = true +abs_deadzone = -27744 +abs_dpad_x = 16 +abs_dpad_y = 17 +reverse_dpad_x = false +reverse_dpad_y = false +btn_north = 291 +btn_east = 290 +btn_south = 289 +btn_west = 288 +btn_select = 297 +btn_start = 296 +btn_mode = 0 +btn_thumbl = 298 +btn_thumbr = 299 +btn_tl = 292 +btn_tr = 293 +btn_tl2 = 294 +btn_tr2 = 295 +btn_dpad_up = -1 +btn_dpad_down = -1 +btn_dpad_left = -1 +btn_dpad_right = -1 diff --git a/mappings/xbox360.conf b/mappings/xbox360.conf new file mode 100644 index 0000000..a7d8678 --- /dev/null +++ b/mappings/xbox360.conf @@ -0,0 +1,34 @@ +abs_x = 0 +abs_y = 1 +abs_z = 10 +abs_rx = 3 +abs_ry = 4 +abs_rz = 9 +abs_deadzone = 0 +abs_dpad_x = 16 +abs_dpad_y = 17 +reverse_x = false +reverse_y = true +reverse_rx = false +reverse_ry = true +reverse_dpad_x = false +reverse_dpad_y = false +reverse_z = false +reverse_rz = false +btn_east = 305 +btn_south = 304 +btn_north = 308 +btn_west = 307 +btn_select = 314 +btn_start = 315 +btn_mode = 316 +btn_thumbl = 317 +btn_thumbr = 318 +btn_tl = 310 +btn_tr = 311 +btn_tl2 = -1 +btn_tr2 = -1 +btn_dpad_up = -1 +btn_dpad_down = -1 +btn_dpad_left = -1 +btn_dpad_right = -1