Skip to content

BasicPortholeService

Arthur Nishimoto edited this page Aug 1, 2013 · 2 revisions

main class: omicron::BasicPortholeService Interfaces omicron with tablets running the Porthole application. Porthole is a prototype application for controlling VR application through tablet devices. This service is reimplemented in omegalib to offer advanced functionality like picture streaming and dynamic GUI generation.

Generated events

  • Service type: Tablet, UI
  • Event types: Move, Up, Down, Zoom, Rotate
  • Event data fields: position, extra data (int array), flags The service returns pointer events like a mouse (with flags for left/right click). The position is in normalized coordinates (0.0 to 1.0). The service also returns UI type events when the user interacts with GUI elements in the porthole application. The extra data int array contains the id of the UI control at index 0.

Configuration parameters

  • port (integer): the listening port for the service (default: 3490)
Clone this wiki locally