Preferences GUI

You can access the preferences dialog throught the preferences button found in the main window. The MouseTrap preferences dialog contains the following tabbed sections.

  • General

    The General tabbed section contains general preferences for MouseTrap

  • Camera

    The Camera module is the most important part of MouseTrap in this section it is possible to configure importante actions and behaviors of this module.

  • Mouse

    The Mouse tabbed section allow users to configure the mouse motion related settings. E.g: Motion Speed.

  • Debug

    The Debug module allow users to trace out what is happening with MouseTrap and get some extra information about it.

4.1. General Tab

Show Main Gui

It is possible to enable or disable the main window, so it wont appear when MouseTrap is launched.

4.2. Camera Tab

Activate Camera module

Enabling this will make MouseTrap to start the camera module at start.

Note: Disabling this is useful for developers when new modules are being tested.

Flip Image

Enabling this will make MouseTrap to flip the image automatically when it is started. This is useful for cameras that take captures as a mirror.

Show Point Mapper

Enabling this will make MouseTrap show the point mapper when it is started.

Show Capture

Enabling this will make MouseTrap show the capture widget when it is started.

Required Movement

This is the value of the head movement needed to start moving the mouse pointer. Changging this value will make the safe area bigger or smaller depending of the value selected. Default: 10

Input Video Device Index

This is the value of the int next to our video device E.g: /dev/video0

Changing this value will cause MouseTrap to use another webcam in case there is more than one.

4.3. Mouse Tab

Step Speed

This value is the size of each mouse step, changging its value increase the speed of the mouse movements.

Note: This value is used just by the Hold Mode.

Default Click

This is the click that will be performed when the default click corner is reached by the green point. It is possible to change its value and set the most used click type.

Select Mouse Mode

With this option is possible to select the way we want to control the mouse pointer.

  • Hold Mode

    This is a simple joystick mode that will make the mouse pointer move by holding the head to the desired side.

  • Screen Mode

    This mode emulates a real mouse pointer.This will move the mouse pointer to the green point current position taken from the mapper.

4.4. Debug Tab

Debugging level

This value indicates the type of debug that should be performed. Depending of the value it will make MouseTrap to print information, warnings or errors found.

  • ACTIONS = 600

    This debug level is used to know when a feature fails, normaly that feature doesn't make mouseTrap crash.

  • MODULES = 400

    This debug level is used to know when a module fails while loading.

  • LOAD = 200

    This debug level is used to know when mouseTrap crashes while starting.

  • ALL = 0

    It will show all debugging errors.

  • EXTREME = 100*100

    This is just for tracing out all the executed code.