diff --git a/interface/src/SpeechRecognizer.h b/interface/src/SpeechRecognizer.h index ff00069073..8b8eb534b0 100644 --- a/interface/src/SpeechRecognizer.h +++ b/interface/src/SpeechRecognizer.h @@ -82,7 +82,7 @@ signals: * return turnRate; * } * - * var MAPPING_NAME = "com.highfidelity.controllers.example.speechRecognizer"; + * var MAPPING_NAME = "com.vircadia.controllers.example.speechRecognizer"; * var mapping = Controller.newMapping(MAPPING_NAME); * * mapping.from(getTurnRate).to(Controller.Actions.Yaw); diff --git a/libraries/controllers/src/controllers/ScriptingInterface.h b/libraries/controllers/src/controllers/ScriptingInterface.h index 7ea4814faf..969b2d19d2 100644 --- a/libraries/controllers/src/controllers/ScriptingInterface.h +++ b/libraries/controllers/src/controllers/ScriptingInterface.h @@ -276,7 +276,7 @@ namespace controller { * by {@link Uuid(0).generate|Uuid.generate} is used. * @returns {MappingObject} A controller mapping object. * @example Create a simple mapping that makes the right trigger move your avatar up. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * * mapping.from(Controller.Standard.RT).to(Controller.Actions.TranslateY); @@ -311,7 +311,7 @@ namespace controller { * @returns {MappingObject} A controller mapping object. * @example Create a simple mapping that makes the right trigger move your avatar up. * var mappingJSON = { - * "name": "com.highfidelity.controllers.example.jsonMapping", + * "name": "com.vircadia.controllers.example.jsonMapping", * "channels": [ * { "from": "Standard.RT", "to": "Actions.TranslateY" } * ] @@ -463,7 +463,7 @@ namespace controller { * {@link Controller.Hardware|Controller.Hardware.Keyboard} outputs. * @function Controller.captureMouseEvents * @example Disable Controller.Hardware.Keyboard mouse events for a short period. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Hardware.Keyboard.MouseX).to(function (x) { * print("Mouse x = " + x); diff --git a/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h b/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h index 8d1fb21610..bf943f373f 100644 --- a/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h +++ b/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h @@ -71,7 +71,7 @@ class UserInputMapper; * @property {Controller.MappingJSONRoute[]} channels - An array of routes. * @example A simple mapping JSON that makes the right trigger move your avatar up after a dead zone. * { - * "name": "com.highfidelity.controllers.example.jsonMapping", + * "name": "com.vircadia.controllers.example.jsonMapping", * "channels": [ * { * "from": "Standard.RT", @@ -176,7 +176,7 @@ public: * @returns {RouteObject} A route ready for mapping to an action or function using {@link RouteObject} methods. The data * value passed to the route is the combined value of source2 - source1. * @example Make the Oculus Touch triggers move your avatar up and down. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping * .makeAxis(Controller.Hardware.OculusTouch.LT, Controller.Hardware.OculusTouch.RT) diff --git a/libraries/controllers/src/controllers/impl/RouteBuilderProxy.h b/libraries/controllers/src/controllers/impl/RouteBuilderProxy.h index 0e456a29e9..d9fec2f808 100644 --- a/libraries/controllers/src/controllers/impl/RouteBuilderProxy.h +++ b/libraries/controllers/src/controllers/impl/RouteBuilderProxy.h @@ -90,7 +90,7 @@ class RouteBuilderProxy : public QObject { * an in-line function definition. * * @example Make the right trigger move your avatar up. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * * mapping.from(Controller.Standard.RT).to(Controller.Actions.TranslateY); @@ -105,7 +105,7 @@ class RouteBuilderProxy : public QObject { * print("Trigger value: " + value); * } * - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * * mapping.from(Controller.Standard.RT).to(onRightTrigger); @@ -124,7 +124,7 @@ class RouteBuilderProxy : public QObject { * otherwise it is disabled. * @returns {RouteObject} The RouteObject with debug output enabled or disabled. * @example Write debug information to the program log for a right trigger mapping. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * * mapping.from(Controller.Standard.RT).debug().to(function (value) { @@ -175,7 +175,7 @@ class RouteBuilderProxy : public QObject { * calls.

* @returns {RouteObject} The RouteObject with the condition added. * @example Process the right trigger differently in HMD and desktop modes. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * * // Processed only if in HMD mode. @@ -203,7 +203,7 @@ class RouteBuilderProxy : public QObject { * @param {number} max - The maximum value to pass through. * @returns {RouteObject} The route object with the clamp filter added. * @example Clamp right trigger values to between 0.3 and 0.7. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.RT).clamp(0.3, 0.7).to(function (value) { * print("Value: " + value); @@ -225,7 +225,7 @@ class RouteBuilderProxy : public QObject { * @param {number} max - When the input value rises above this value the output value changes to 1. * @returns {RouteObject} The RouteObject with the filter applied. * @example Round the right joystick forward/back values to 0 or 1 with hysteresis. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.RY).peek().to(function (value) { * print("Raw value: " + value); // 0.0 - 1.0. @@ -247,7 +247,7 @@ class RouteBuilderProxy : public QObject { * @param {number} interval - The interval between sending values, in seconds. * @returns {RouteObject} The RouteObject with the filter applied. * @example Send right trigger values every half second. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.RT).pulse(0.5).to(function (value) { * print("Value: " + value); @@ -266,7 +266,7 @@ class RouteBuilderProxy : public QObject { * @param {number} multiplier - The scale to multiply the value by. * @returns {RouteObject} The RouteObject with the filter applied. * @example Scale the value of the right joystick forward/back values by 10. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.LY).to(function (value) { * print("L value: " + value); // -1.0 to 1.0 values. @@ -288,7 +288,7 @@ class RouteBuilderProxy : public QObject { * @function RouteObject#invert * @returns {RouteObject} The RouteObject with the filter applied. * @example Invert the value of the right joystick forward/back values. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.LY).to(function (value) { * print("L value: " + value); // -1.0 to 1.0 values, forward to back. @@ -313,7 +313,7 @@ class RouteBuilderProxy : public QObject { * negative of this value is used. * @returns {RouteObject} The RouteObject with the filter applied. * @example Apply a dead-zone to the right joystick forward/back values. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.RY).deadZone(0.2).to(function (value) { * print("Value: " + value); // 0.0 - 1.0 values once outside the dead-zone. @@ -334,7 +334,7 @@ class RouteBuilderProxy : public QObject { * @returns {RouteObject} The RouteObject with the filter applied. * @example Round the right joystick forward/back values to -1, 0, or * 1. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.RY).constrainToInteger().to(function (value) { * print("Value: " + value); // -1, 0, or 1 @@ -353,7 +353,7 @@ class RouteBuilderProxy : public QObject { * @function RouteObject#constrainToPositiveInteger * @returns {RouteObject} The RouteObject with the filter applied. * @example Round the right joystick forward/back values to 0 or 1. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * mapping.from(Controller.Standard.RY).constrainToPositiveInteger().to(function (value) { * print("Value: " + value); // 0, or 1 @@ -436,7 +436,7 @@ class RouteBuilderProxy : public QObject { * @function RouteObject#logicalNot * @returns {RouteObject} The RouteObject with the filter applied. * @example Logical NOT of LSTouch value. - * var MAPPING_NAME = "com.highfidelity.controllers.example.newMapping"; + * var MAPPING_NAME = "com.vircadia.controllers.example.newMapping"; * var mapping = Controller.newMapping(MAPPING_NAME); * * mapping.from(Controller.Standard.RSTouch).peek().to(function (value) { diff --git a/libraries/networking/src/MessagesClient.h b/libraries/networking/src/MessagesClient.h index 8ad252a596..b67904f227 100644 --- a/libraries/networking/src/MessagesClient.h +++ b/libraries/networking/src/MessagesClient.h @@ -64,7 +64,7 @@ public: * from an assignment client script it is received only by that same assignment client script.

* @example Send and receive a message. * // Receiving script. - * var channelName = "com.highfidelity.example.messages-example"; + * var channelName = "com.vircadia.example.messages-example"; * * function onMessageReceived(channel, message, sender, localOnly) { * print("Message received:"); @@ -84,7 +84,7 @@ public: * * * // Sending script. - * var channelName = "com.highfidelity.example.messages-example"; + * var channelName = "com.vircadia.example.messages-example"; * var message = "Hello"; * Messages.sendMessage(channelName, message); */ @@ -112,7 +112,7 @@ public: * from an assignment client script it is received only by that same assignment client script.

* @example Send and receive data. * // Receiving script. - * var channelName = "com.highfidelity.example.messages-example"; + * var channelName = "com.vircadia.example.messages-example"; * * function onDataReceived(channel, data, sender, localOnly) { * var int8data = new Int8Array(data); @@ -140,7 +140,7 @@ public: * * * // Sending script. - * var channelName = "com.highfidelity.example.messages-example"; + * var channelName = "com.vircadia.example.messages-example"; * var int8data = new Int8Array([1, 1, 2, 3, 5, 8, 13]); * Messages.sendData(channelName, int8data.buffer); */