Mousespeak

Mousespeak

Let your mouse do the talking by transmitting your movements and text messages from multiple devices in realtime with Isometrik

Featured Use

  1. Subscribe
  2. Presence event – State Change
Mouse Events

Through simple tracking of the mouse position, we can get the coordinates and broadcast the location over Isometrik to any other viewers. We can also listen for keystrokes to broadcast the text changes along with the mouse position coordinates.

Isometrik.publish({ channel : 'mouseMoves', message : { addMessage } });
Send Coordinates

With Isometrik, it's simple to send arbitrary data in realtime, including screen coordinates. In this example, we can send JSON objects containing the x- and y- coordinates of a mouse position within a publish() call.

Don't forget to use your own when initializing Isometrik! If you don’t have one yet, sign up now to get your own unique keys!

Display Occupancy

You can also display the number of users online with our presence() receives user events including Join/Leave status changes. To use this optional API, you need to enable the feature on your Admin Dashboard and add the lines to your subscribe() call.

isometrik.subscribe({ channels: [CHANNEL], withPresence: true }); isometrik.addListener({ message: function (message) { addMessageConsole(message); }, });