VIRTUTECH CONFIDENTIAL Previous - Up - Next
sun-mouse
- Provided by
-
sun-mouse
- Class Hierarchy
-
conf-object → log-object → sun-mouse
- Interfaces Implemented
-
log_object, mouse, serial_device
- Description
-
The sun-mouse device simulated the Sun mouse. It should be connected to a serial device for output, and to a graphics console to receive actual mouse input.
Attributes
- Attributes inherited from class conf-object
-
attributes, classname, component, iface, name, object_id, queue
- Attributes inherited from class log-object
-
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
- Attribute List
-
- button_event
- Pseudo attribute; write-only access; ; integer indexed; indexed type: Integer.
Write-only. Forces mouse button events. Writes to indices 0 through 2 causes the left, right or middle button to be pressed if value is 0, or released if value is 1.
- cmd_buttons
- Optional attribute; read/write access; type: Integer.
The state of the mouse buttons as set by the button-event pseudo attribute.Bit 0 = left button pressed, bit 1 = right button pressed, and 2 = middle button pressed.
- device
- Optional attribute; read/write access; type: Object.
The serial device that the mouse is connected to. The device must implement the serial-device interface.
- mouse_buffer
- Optional attribute; read/write access; type: [i*].
The mouse input buffer.
- mouse_event
- Pseudo attribute; write-only access; ; integer indexed; indexed type: Integer.
Write-only. Forces mouse events. Writes to indices 0 through 3 result in movement in directions up, down, left or right by value mm.
- recorder
- Required attribute; read/write access; type: Object.
Recorder object defining the recorder interface.
Command List
- Commands defined by interface log_object
-
log, log-group, log-level, log-size, log-type
- Commands
-
Command Descriptions
-
<sun-mouse>.left-button
- Synopsis
-
<sun-mouse>.left-button "direction"
<sun-mouse>.middle-button "direction"
<sun-mouse>.right-button "direction"
- Description
-
Set the state of the left or right mouse button.
Valid arguments are "up" and "down".
-
<sun-mouse>.middle-button
- Synopsis
-
<sun-mouse>.middle-button "direction"
<sun-mouse>.left-button "direction"
<sun-mouse>.right-button "direction"
- Description
-
Set the state of the left or right mouse button.
Valid arguments are "up" and "down".
-
<sun-mouse>.mouse-down
- Synopsis
-
<sun-mouse>.mouse-down millimeters
<sun-mouse>.mouse-left millimeters
<sun-mouse>.mouse-right millimeters
<sun-mouse>.mouse-up millimeters
- Description
-
Move the mouse up/down/left/right a specified number of millimeters.
-
<sun-mouse>.mouse-left
- Synopsis
-
<sun-mouse>.mouse-left millimeters
<sun-mouse>.mouse-down millimeters
<sun-mouse>.mouse-right millimeters
<sun-mouse>.mouse-up millimeters
- Description
-
Move the mouse up/down/left/right a specified number of millimeters.
-
<sun-mouse>.mouse-right
- Synopsis
-
<sun-mouse>.mouse-right millimeters
<sun-mouse>.mouse-down millimeters
<sun-mouse>.mouse-left millimeters
<sun-mouse>.mouse-up millimeters
- Description
-
Move the mouse up/down/left/right a specified number of millimeters.
-
<sun-mouse>.mouse-up
- Synopsis
-
<sun-mouse>.mouse-up millimeters
<sun-mouse>.mouse-down millimeters
<sun-mouse>.mouse-left millimeters
<sun-mouse>.mouse-right millimeters
- Description
-
Move the mouse up/down/left/right a specified number of millimeters.
-
<sun-mouse>.right-button
- Synopsis
-
<sun-mouse>.right-button "direction"
<sun-mouse>.left-button "direction"
<sun-mouse>.middle-button "direction"
- Description
-
Set the state of the left or right mouse button.
Valid arguments are "up" and "down".
VIRTUTECH CONFIDENTIAL Previous - Up - Next