Jump to content

User Reference:MouseFilter

From BCI2000 Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Function

The MouseFilter captures the mouse position on the screen in device coordinates. Coordinates are always recorded.

Note: The MouseFilter is superseded by BCI2000's input logging facility, and kept for backward compatibility. Make sure not to activate input logging in a configuration where the MouseFilter is present as well; otherwise, corruption of logged data may occur.

Parameters

None.

States

MousePosX, MousePosY

These states hold mouse cursor position in device coordinates, i.e. in units of screen pixels.

See also

User Reference:KeyLogFilter, User Reference:KeystrokeFilter, User Reference:JoystickFilter, User Reference:Logging Input