Jump to content

User Reference:JoystickFilter

From BCI2000 Wiki

Function

The JoystickFilter translates joystick movements into a state value, allowing to use it for data analysis purposes.

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

Parameters

JoystickEnable

Enables recording of joystick movements when nonzero.

States

JoystickXpos, JoystickYpos, JoystickZpos

Each position state is ranging from 0 to 32767 with a resting position at 16384.

JoystickButtons1, JoystickButtons2, JoystickButtons3, JoystickButtons4

Each button state is either 1 when pressed or 0 when not pressed.

See also

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