Difference between revisions of "Kempston Mouse Buttons"

From SpecNext official Wiki
Jump to: navigation, search
(Adding info about related nextreg $0A)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Port
 
{{Port
 
|Number=$FADF
 
|Number=$FADF
|PortMask=%-------0cc0----c
+
|NumberDec=64223
 +
|PortMask=%---- ---0 --0- ----
 
|ShortDesc=Reads buttons on Kempston Mouse.
 
|ShortDesc=Reads buttons on Kempston Mouse.
 
|Readable=Yes
 
|Readable=Yes
 
|Writable=No
 
|Writable=No
 +
|Subsystem=Input
 
}}
 
}}
 +
{| class="wikitable"
 +
! Bit !! Function
 +
|-
 +
| 7-4 || contains wheel-delta value (0..15) since previous read.
 +
|-
 +
| 3 || fourth button
 +
|-
 +
| 2 || middle button
 +
|-
 +
| 1 || left button
 +
|-
 +
| 0 || right button
 +
|}
 +
 +
Mouse sensitivity and button reversal can be adjusted via {{NextRegNo|$0A}}.

Latest revision as of 11:21, 26 April 2021

Number $FADF
Decimal 64223
Short desc. Reads buttons on Kempston Mouse.
Bit Mask %---- ---0 --0- ----
Readable Yes
Writable No
Subsystem Input
Bit Function
7-4 contains wheel-delta value (0..15) since previous read.
3 fourth button
2 middle button
1 left button
0 right button

Mouse sensitivity and button reversal can be adjusted via Peripheral 5 Register ($0A).