From SpinetiX Support Wiki
In the digital signage context, interactivity refers to the HMP quality of reacting in a user-defined manner (i.e. reactive action), following the input received from external devices. The interactivity trigger could be a human input (via a touchscreen, a keyboard, a web page etc.) or machine input (e.g., another HMP, a Control System etc.).
Based on how the HMP communicates with the external device, three types of interactivity can be differentiated:
- Interactivity via USB (simple)
- Interactivity via IP network (advanced)
- Interactivity via RS232 (advanced)
Based on the message received, the HMP can perform reactive actions like:
- switch from the displaying the regular content to displaying a particular content;
- display the message received (i.e. instant text messaging) or contextual animations, images and / or videos on the screen;
- display or hide part(s) of the current content;
- control the playback (e.g., play, pause, resume, stop) of video, audio or animated content;
- send a message to other devices (including other HMPs, serial devices etc.);
- do an AJAX request to an HTTP server;
- ... and many more.
The process to create interactivity is always the same, regardless of how the external device is connected to the HMP:
- HMP receives an input message from the external device via USB, IP network, or serial port.
- Input conversion
- The HMP translates internally this message into an event (like keydown, mousedown, mousemove etc.) or a Shared Variable update action.
- Reactive output
How to configure the HMP for interactivity
Further details about how to configure the HMP for the different types of interactivity are presented on:
- Interactivity via USB - Configuration
- Interactivity via IP network - Configuration
- Interactivity via RS232 - Configuration
How to create interactive content
There are different methods to create interactive content (projects) for HMP:
- Using the interactive widgets of Elementi (respectively, the interactive templates of HMD).
- Using jSignage library which provides many functions to build interactive content.
Further details about how to create interactive content are presented on:
- Interactivity via USB - How to create interactive content
- Interactivity via IP network - How to create interactive content
- Interactivity via RS232 - How to create interactive content
You can also build your interactive project starting from one of the following sample projects:
- Create an interactive travel project,
- Instant messaging project,
- Tic-tac-toe project,
- RFID project,
- Keyboard driven counter project.
See also how to add a mouse cursor to an interactive project.