Skip to content
Snippets Groups Projects
Commit bb2dac7b authored by netpro2k's avatar netpro2k
Browse files

Allow north/south trackpad presses to also be used for teleport

parent f5814178
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,8 @@ const config = { ...@@ -41,6 +41,8 @@ const config = {
trackpad_dpad4_pressed_west_down: { right: "snap_rotate_left" }, trackpad_dpad4_pressed_west_down: { right: "snap_rotate_left" },
trackpad_dpad4_pressed_east_down: { right: "snap_rotate_right" }, trackpad_dpad4_pressed_east_down: { right: "snap_rotate_right" },
trackpad_dpad4_pressed_center_down: { right: "action_teleport_down" }, trackpad_dpad4_pressed_center_down: { right: "action_teleport_down" },
trackpad_dpad4_pressed_north_down: { right: "action_teleport_down" },
trackpad_dpad4_pressed_south_down: { right: "action_teleport_down" },
trackpadup: { right: "action_teleport_up" }, trackpadup: { right: "action_teleport_up" },
menudown: "thumb_down", menudown: "thumb_down",
menuup: "thumb_up", menuup: "thumb_up",
...@@ -82,12 +84,16 @@ const config = { ...@@ -82,12 +84,16 @@ const config = {
trackpad_dpad4_pressed_west_down: "snap_rotate_left", trackpad_dpad4_pressed_west_down: "snap_rotate_left",
trackpad_dpad4_pressed_east_down: "snap_rotate_right", trackpad_dpad4_pressed_east_down: "snap_rotate_right",
trackpad_dpad4_pressed_center_down: "action_teleport_down", trackpad_dpad4_pressed_center_down: "action_teleport_down",
trackpad_dpad4_pressed_north_down: "action_teleport_down",
trackpad_dpad4_pressed_south_down: "action_teleport_down",
trackpadup: "action_teleport_up" trackpadup: "action_teleport_up"
}, },
"gearvr-controls": { "gearvr-controls": {
trackpad_dpad4_pressed_west_down: "snap_rotate_left", trackpad_dpad4_pressed_west_down: "snap_rotate_left",
trackpad_dpad4_pressed_east_down: "snap_rotate_right", trackpad_dpad4_pressed_east_down: "snap_rotate_right",
trackpad_dpad4_pressed_center_down: "action_teleport_down", trackpad_dpad4_pressed_center_down: "action_teleport_down",
trackpad_dpad4_pressed_north_down: "action_teleport_down",
trackpad_dpad4_pressed_south_down: "action_teleport_down",
trackpadup: "action_teleport_up" trackpadup: "action_teleport_up"
}, },
keyboard: { keyboard: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment