Kempston Mouse Buttons: Difference between revisions
From SpecNext Wiki
No edit summary |
Adding info about related nextreg $0A |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{Port | {{Port | ||
|Number=$FADF | |Number=$FADF | ||
|NumberDec=64223 | |||
|PortMask=%---- ---0 --0- ---- | |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
| Port 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 NextReg:$0A.