Difference between revisions of "Kempston Mouse Buttons"

From SpecNext official Wiki
Jump to: navigation, search
(Adding info about related nextreg $0A)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Port
 
{{Port
 
|Number=$FADF
 
|Number=$FADF
 +
|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
 
|Subsystem=Input
|PortMask=%---- ---0 --0- ----
 
 
}}
 
}}
 
{| class="wikitable"
 
{| class="wikitable"
Line 20: Line 21:
 
| 0 || right 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).