Pointer 2.03 KB
Newer Older
Ben Avison's avatar
Ben Avison committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
; Copyright 2008 Castle Technology Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; This header file is autogenerated from the files maintained by the
; RISC OS allocations manager and should not be edited by anyone else.

        SUBT    > &.Hdr.Pointer

; Header file for PointerV mouse interface.

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

; Pointer devices.
PointerDevice_QuadMouse         * 0
PointerDevice_MicrosoftMouse    * 1
PointerDevice_MSCMouse          * 2
PointerDevice_PS2Mouse          * 3
PointerDevice_Ethernet          * 4  ; for 2M Electronic A/S, working for Acorn
PointerDevice_RCMM              * 5  ; for Simon Forrest
PointerDevice_USB		* 7  ; Pace
PointerDevice_AltUSB		* 11 ; Castle
34
PointerDevice_Pandora           * 15 ; Thomas Milius
Ben Avison's avatar
Ben Avison committed
35
PointerDevice_RemoteMouse       * 16 ; Thomas Milius
Ben Avison's avatar
Ben Avison committed
36 37 38 39 40 41 42 43

; PointerV reason codes.
PointerReason_Request           * 0
PointerReason_Identify          * 1
PointerReason_Selected          * 2
PointerReason_Report            * 3
PointerReason_ExtRequest	* 4
PointerReason_TouchState	* 5
ROOL's avatar
ROOL committed
44 45
PointerReason_WheelChange       * 9

Ben Avison's avatar
Ben Avison committed
46 47 48 49 50 51 52 53 54 55 56


;  device record.
                                ^ 0
PointerNext                     # 4
PointerFlags                    # 4
PointerType                     # 1
PointerName                     # 1

MinPointerRecordSize            * :INDEX:@

ROOL's avatar
ROOL committed
57 58 59 60 61 62
; OS_Pointer reason codes
                                ^ 0
OSPointer_GetPointerType        # 1
OSPointer_SetPointerType        # 1
OSPointer_ReadAltPosition       # 1 ; 2x scrollwheels

Ben Avison's avatar
Ben Avison committed
63 64
        OPT     OldOpt
        END