Mouse in 3.12 (AREV Specific)
At 27 DEC 1997 01:41:16AM Andrew McClurg wrote:
I am using a mouse in a recently upgrade AREV system from 2.12 to 3.12
Currently both buttons operate the same. Can I change this to have the right hand button displaying the Help. If i have three buttons I could have the left as normal, center for Help and Right for Options.
If you know let me know. I would be greatful
Regards
Andrew McClurg
At 29 DEC 1997 03:01PM Mark Martin wrote:
Andrew,
There is an include record that lays out some of the parameters for mouse control in 3.12 – MOUSE_CONSTANTS. Here is another record that specifies mouse controls in ARev.
Note that the settings in both includes match those available for DOS mouse programming as specified by Microsoft.
**
* Definitions of field layout of the MOUSE_DEFINITIONS variable in
* the labeled common for Advantage mouse support:
* COMMON /MOUSEVARS/ MOUSEX,MOUSEY,MOUSE_ACTIVE,MOUSE_DEFINITIONS
* Mouse button definitions -
* each field contains scan code
EQU LFT$ TO 1
EQU RGHT$ TO 2
EQU LR$ TO 3 ;* left + right
EQU CENTER$ TO 4
EQU LC$ TO 5 ;* left + center
EQU RC$ TO 6 ;* right + center
EQU LRC$ TO 7 ;* left + right + center
* boolean value enabling/disabling mouse support
EQU M_ON$ TO 8
* sensitivity definitions
EQU MP_XRAT$ TO 9 ;* initialized mickey/pixel x ratio
EQU MP_YRAT$ TO 10 ;* initialized mickey/pixel y ratio
EQU X_PC_RAT$ TO 11 ;* horizontal pixel/character ratios
EQU Y_PC_RAT$ TO 12 ;* vertical pixel/character ratios
*
* These equates reference values in MOUSE_DEFINITIONS
* which contain the specific pixel/character ratios.
EQU WINDRAT$ TO 1 ;* pixel/char ratio in windows
EQU EDITRAT$ TO 2 ;* pixel/char ratio in editor
EQU POPRAT$ TO 3 ;* pixel/char ratio in popups
EQU MENURAT$ TO 4 ;* pixel/char ratio in menus
EQU PAINTRAT$ TO 5 ;* pixel/char ratio in paint
EQU DEFAULTRAT$ TO 6 ;* default pixel/char ratio
* Mouse & driver information
EQU M_TYPE$ TO 13
EQU M_DRIVER$ TO 14
EQU M_BUTTON$ TO 15
EQU DEFREC$ TO 'DEFAULT_MOUSE'
EQU REC_SUFFIX$ TO '_MOUSE'
EQU DEFAULT_X_RATIO$ TO 10
EQU DEFAULT_Y_RATIO$ TO 20
EQU DEFAULT_MP_XRATIO$ TO 8
EQU DEFAULT_MP_YRATIO$ TO 16
EQU MOUSE_TYPE$ TO 'Bus,Serial,InPort,PS/2,HP'
EQU DEFAULT_DEF$ TO \0DFE1BFE0043\
* Source Date: 13:24:06 25 JUN 1990 Build ID: AREV*2.0.54 Level: 2.0