This commit is contained in:
James B. Pollack 2016-08-02 12:26:37 -07:00
parent 108e7a2fc1
commit 7fae7e9c77
2 changed files with 32 additions and 34 deletions

View file

@ -26,8 +26,8 @@
{ "from": [ "Hydra.L1", "Hydra.L3" ], "to": "Standard.LeftPrimaryThumb" },
{ "from": [ "Hydra.R1", "Hydra.R3" ], "to": "Standard.RightPrimaryThumb" },
{ "from": [ "Hydra.R2", "Hydra.R4" ], "to": "Standard.RightSecondaryThumb" },
{ "from": [ "Hydra.L2", "Hydra.L4" ], "to": "Standard.LeftSecondaryThumb" },
{ "from": "Hydra.LeftHand", "to": "Standard.LeftHand" },
{ "from": "Hydra.RightHand", "to": "Standard.RightHand" }
]

View file

@ -667,10 +667,8 @@ function cleanup() {
var isDisabled = false;
var handleHandMessages = function(channel, message, sender) {
var data;
print('its a message')
if (sender === MyAvatar.sessionUUID) {
if (channel === 'Hifi-Teleport-Disabler') {
print('got teleport disabler message' + message)
if (message === 'disable') {
isDisabled = true;
}