SpaceControl DLL  Version 2.8.9
API documentation for the SpaceControl 3D input devices
event_type.h File Reference

Events sent by the daemon. More...

Go to the source code of this file.

Enumerations

enum  EventType {
  NOTHING_CHANGED = -1, BSC_SETTINGS_CHANGED = 0x20000, ADV_SETTINGS_CHANGED, DEV_PARS_CHANGED,
  DEV_ERR_UNKNOWN_COMMAND, DEV_ERR_INVALID_VALUE, DEV_ERR_PARSE_ERROR, DEV_ERR_INTERNAL_ERROR,
  DEV_ERR_INVALID_ID, DEV_ERR_BUF_OVERFLOW, DEV_FRONT, DEV_RIGHT,
  DEV_TOP, DEV_FIT, DEV_WHEEL_LEFT, DEV_WHEEL_RIGHT,
  EVT_HNDL_SENS_DLG, EVT_HNDL_THRESH_DLG, EVT_HNDL_LCD_DLG, EVT_HNDL_LEDS_DLG,
  EVT_APPL_IN_FRGRND, EVT_HNDL_CALC_DLG, EVT_HNDL_WFL_DLG, DEV_BACK,
  DEV_LEFT, DEV_BOTTOM, DEV_CTRL, APPL_FUNC_START = 0x20020
}
 These values are sent together with the standard data (the cap's translation and rotation data) to a connected application and signal events the daemon wants to tell the application. More...
 

Detailed Description

Events sent by the daemon.

Enumeration Type Documentation

◆ EventType

enum EventType

These values are sent together with the standard data (the cap's translation and rotation data) to a connected application and signal events the daemon wants to tell the application.

If the daemon sends the event "basic setting are changed" the application can reload the settings to display them e. g. See API function scFetchStdData(), parameter 'event', for further details.

  • Values in the range [1..0x1FFFF] signal that one or more device keys are pressed by the user; they contain a bitmask out of the 17 keys.
  • Values greater than 0x20020 represent so called application functions: The user has connected a key with a menu function out of an application menu. A plug-in has to execute this function then.
  • The values between 0x20000 and 0x20020 have the meaning which is stated in the comment to each value.
Enumerator
NOTHING_CHANGED 

nothing to signal

BSC_SETTINGS_CHANGED 

basic settings are changed

ADV_SETTINGS_CHANGED 

advanced settings are changed

DEV_PARS_CHANGED 

some other parameters are changed

DEV_ERR_UNKNOWN_COMMAND 

device firmware error: unknown command detected

DEV_ERR_INVALID_VALUE 

device firmware error: invalid value detected

DEV_ERR_PARSE_ERROR 

device firmware error: error parsing the command string

DEV_ERR_INTERNAL_ERROR 

device firmware error: unspecified internal error

DEV_ERR_INVALID_ID 

device firmware error: invalid identifier detected

DEV_ERR_BUF_OVERFLOW 

device firmware error: buffer overflow occured

DEV_FRONT 

"Front" command is to be executed

DEV_RIGHT 

"Right" command is to be executed

DEV_TOP 

"Top" command is to be executed

DEV_FIT 

"Fit" command is to be executed

DEV_WHEEL_LEFT 

wheel is moved in left direction

DEV_WHEEL_RIGHT 

wheel is moved in right direction

EVT_HNDL_SENS_DLG 

the GUI's sensitivity slider should be shown

EVT_HNDL_THRESH_DLG 

the GUI's threshold slider should be shown

EVT_HNDL_LCD_DLG 

the GUI's LCD brightness slider should be shown

EVT_HNDL_LEDS_DLG 

the GUI's LED brightness slider should be shown

EVT_APPL_IN_FRGRND 

signals an application that it is in the foreground now

EVT_HNDL_CALC_DLG 

the GUI's Calculator/NumPad dialog should be shown

EVT_HNDL_WFL_DLG 

the GUI's Wheel Function Launcher dialog should be shown

DEV_BACK 

"Back" command is to be executed

DEV_LEFT 

"Left" command is to be executed

DEV_BOTTOM 

"Bottom" command is to be executed

DEV_CTRL 

"CTRL" command is to be executed (for triggering a function in WFL)

APPL_FUNC_START 

an application function is to be executed

SC DLL

SpaceControl Copyright (c) SpaceControl GmbH & Co. KG, Am Technologiepark 10, D-82229 Seefeld
Generated by Doxygen