[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif and CDE 2.1 Style Guide Reference
Mouse (Device)
Reference
Description
A mouse includes the following:
Pointing deviceAn input device, such as a mouse, trackball, or joystick, used to move a
pointer on the screen. The operating environment may specify a mode of
operation in which the directional keys act as a pointing device with other
keys acting as pointer buttons.
MouseA commonly used pointing device that has one or more buttons that a user
presses to interact with the operating environment.
This book uses a model mouse as the pointing device (see Appendix
C for more information).
Guidelines
RequiredProvide support for a mouse as a pointing device.
RequiredSupport the following virtual mouse buttons:
SELECTThe virtual pointer button used for selection, activation, toggling, and
forms of direct manipulation not assigned to other virtual mouse buttons.
ADJUSTThe virtual pointer button used for adjusting a selection.
TRANSFERThe virtual pointer button used for data transfer operations.
MENUThe virtual pointer button used to obtain pop-up menus.
RequiredThe period of time between button release and the subsequent press in a
multi-click event is user adjustable, and the default is not less than 100
milliseconds.
RequiredDo not assign double-click functions to choices on which the user will
typically perform multiple single clicks, such as on push buttons.
RequiredSupport a 3-button mouse.
RequiredTreat a 2-button mouse as a 3-button mouse if it has been configured so
that the third button is available by chording the other two buttons (for
example, with MB1+MB2 treated as MB3).
RequiredOn a 3-button mouse, bind MENU to MB3.
RequiredAllow the user to choose whether the bindings on a 3-button mouse support
one of the following:
SELECT and TRANSFER integrated on MB1 and TRANSFER bound to MB2
(recommended)
SELECT bound to MB1 and TRANSFER bound to MB2
SELECT and TRANSFER integrated on MB1 and ADJUST bound to MB2
SELECT and TRANSFER integrated on MB1 and nothing bound to MB2
RequiredIf you support binding TRANSFER to MB2 and also integrate TRANSFER with
SELECT on MB1, then whenever MB1 is pressed and moved, interpret the action as
a drag-and-drop operation. Ensure that when MB2 is pressed and the pointer is
moved along the same path, it will have an identical effect.
RequiredIf you support binding ADJUST to MB2, design your application so that
using ADJUST is identical to using Shift SELECT.
OptionalIf nothing is bound to MB2, your application can use it for
application-specific functionality; however, this functionality must be
accessible in other ways if the user chooses a different binding for MB2.
RequiredSupport a 2-button mouse.
RequiredAllow the user to choose whether the bindings on a 2-button mouse support
one of the following:
SELECT and TRANSFER integrated on MB1 and MENU on MB2
SELECT and TRANSFER integrated on MB1, TRANSFER bound to MB2, and MENU
bound to Alt MB1
SELECT bound to MB1, TRANSFER bound to MB2, and MENU bound to Alt MB1
RecommendedSupport a 1-button mouse, with SELECT and TRANSFER integrated on MB1 and
MENU bound to Alt MB1.
Essential Related Topics
For more information, see Appendix
C and the Data Transfer and Pointer (Predefined) reference pages.
Supplemental Related Topics
For more information, see the Default Action and Pointer reference
pages.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]