Commit: aeac53d9cf221af9e9f5985a73e8a1ca46e505f8
Parent: c62739768891ffa9637c73991256e33d291f595e
Author: bigbass1997
Date: 2023-10-15 17:01 UTC
Summary: Swapped SNES controller type ordering
CHANGELOG.md | 5 ++
docs/latest/draft-tasd-spec.html | 256 +++++++++++++++++++++++++++++++++++++++----------------------------------------
docs/latest/draft-tasd-spec.txt | 84 +++++++++++++-------------
docs/tasd-spec-0001/draft-tasd-spec-0001.html | 256 +++++++++++++++++++++++++++++++++++++++----------------------------------------
docs/tasd-spec-0001/draft-tasd-spec-0001.txt | 84 +++++++++++++-------------
src/docs/draft-tasd-spec-0001.xml | 74 ++++++++++++-----------
6 files changed, 383 insertions(+), 376 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e47712f..aa5d240 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), although currently without version numbers added.
+## 2023-10-15
+
+### Changed
+- Reordered the SNES controller types to match PORT_CONTROLLER ordering
+
## 2023-10-13
### Changed
diff --git a/docs/latest/draft-tasd-spec.html b/docs/latest/draft-tasd-spec.html
index dd70bf9..9e53fab 100644
--- a/docs/latest/draft-tasd-spec.html
+++ b/docs/latest/draft-tasd-spec.html
@@ -1464,10 +1464,10 @@ li > p:last-of-type {
5.2.1. SNES Standard Controller
- 5.2.2. SNES Mouse
+ 5.2.2. SNES Super Multitap
- 5.2.3. SNES Super Multitap
+ 5.2.3. SNES Mouse
@@ -3850,11 +3850,11 @@ li > p:last-of-type {
- Single Input Length: 4 Octets¶
-Octet 0¶
+Single Input Length: 5 Octets¶
+Octet 0 :¶
- Bit 7:
- 1¶
@@ -3885,74 +3885,158 @@ li > p:last-of-type {
- Bit 0:
- - 1¶
+
- I/O Pin State - 1 if Multitap ports 1 and 2 are being polled, 0 if ports 3 and 4 are.¶
Octet 1¶
- Bit 7:
- - /Right button¶
+
- Controller N-1 or N-3 /B¶
- Bit 6:
- - /Left button¶
+
- Controller N-1 or N-3 /Y¶
- Bit 5:
- - Current sensitivity (0: high sensitivity; 1: low or medium sensitivity)¶
+
- Controller N-1 or N-3 /Select¶
- Bit 4:
- - Current sensitivity (0: medium sensitivity; 1: low or high sensitivity)¶
+
- Controller N-1 or N-3 /Start¶
- Bit 3:
- - 1¶
+
- Controller N-1 or N-3 /Up¶
- Bit 2:
- - 1¶
+
- Controller N-1 or N-3 /Down¶
- Bit 1:
- - 1¶
+
- Controller N-1 or N-3 /Left¶
- Bit 0:
- - 0¶
+
- Controller N-1 or N-3 /Right¶
Octet 2¶
- - Bits 7-1:
- - /Vertical displacement since last read¶
+
- Bit 7:
+ - Controller N-1 or N-3 /A¶
+
+
+- Bit 6:
+ - Controller N-1 or N-3 /X¶
+
+
+- Bit 5:
+ - Controller N-1 or N-3 /L¶
+
+
+- Bit 4:
+ - Controller N-1 or N-3 /R¶
+
+
+- Bit 3:
+ - 1¶
+
+
+- Bit 2:
+ - 1¶
+
+
+- Bit 1:
+ - 1¶
-- Bit 0:
- - Direction (0: up; 1: down)¶
+
- Bit 0:
+ - 1¶
Octet 3¶
- - Bits 7-1:
- - /Horizontal displacement since last read¶
+
- Bit 7:
+ - Controller N-2 or N-4 /B¶
+
+
+- Bit 6:
+ - Controller N-2 or N-4 /Y¶
+
+
+- Bit 5:
+ - Controller N-2 or N-4 /Select¶
+
+
+- Bit 4:
+ - Controller N-2 or N-4 /Start¶
+
+
+- Bit 3:
+ - Controller N-2 or N-4 /Up¶
+
+
+- Bit 2:
+ - Controller N-2 or N-4 /Down¶
+
+
+- Bit 1:
+ - Controller N-2 or N-4 /Left¶
+
+
+- Bit 0:
+ - Controller N-2 or N-4 /Right¶
+
+
+
+Octet 4¶
+
+ - Bit 7:
+ - Controller N-2 or N-4 /A¶
+
+
+- Bit 6:
+ - Controller N-2 or N-4 /X¶
+
+
+- Bit 5:
+ - Controller N-2 or N-4 /L¶
+
+
+- Bit 4:
+ - Controller N-2 or N-4 /R¶
+
+
+- Bit 3:
+ - 1¶
+
+
+- Bit 2:
+ - 1¶
+
+
+- Bit 1:
+ - 1¶
-- Bit 0:
- - Direction (0: up; 1: down)¶
+
- Bit 0:
+ - 1¶
+Controller N is the controller port number on the console that the Multitap is connected to. Controller N-1...N-4 are the controller ports 1...4 on the Multitap. Two Multitap ports are polled simultaneously by the game - either 1 and 2, or 3 and 4. The I/O Pin state in octet 0 MUST be 1 for multitap ports 1 and 2, or 0 for ports 3 and 4.¶
-
-5.2.3. SNES Super Multitap
+
+5.2.3. SNES Mouse
-
Single Input Length: 5 Octets¶
-Octet 0 :¶
+Single Input Length: 4 Octets¶
+Octet 0¶
- Bit 7:
- 1¶
@@ -3983,151 +4067,67 @@ li > p:last-of-type {
- Bit 0:
- - I/O Pin State - 1 if Multitap ports 1 and 2 are being polled, 0 if ports 3 and 4 are.¶
+
- 1¶
Octet 1¶
- Bit 7:
- - Controller N-1 or N-3 /B¶
+
- /Right button¶
- Bit 6:
- - Controller N-1 or N-3 /Y¶
+
- /Left button¶
- Bit 5:
- - Controller N-1 or N-3 /Select¶
+
- Current sensitivity (0: high sensitivity; 1: low or medium sensitivity)¶
- Bit 4:
- - Controller N-1 or N-3 /Start¶
+
- Current sensitivity (0: medium sensitivity; 1: low or high sensitivity)¶
- Bit 3:
- - Controller N-1 or N-3 /Up¶
+
- 1¶
- Bit 2:
- - Controller N-1 or N-3 /Down¶
+
- 1¶
- Bit 1:
- - Controller N-1 or N-3 /Left¶
+
- 1¶
- Bit 0:
- - Controller N-1 or N-3 /Right¶
+
- 0¶
Octet 2¶
- - Bit 7:
- - Controller N-1 or N-3 /A¶
-
-
-- Bit 6:
- - Controller N-1 or N-3 /X¶
-
-
-- Bit 5:
- - Controller N-1 or N-3 /L¶
-
-
-- Bit 4:
- - Controller N-1 or N-3 /R¶
-
-
-- Bit 3:
- - 1¶
-
-
-- Bit 2:
- - 1¶
-
-
-- Bit 1:
- - 1¶
+
- Bits 7-1:
+ - /Vertical displacement since last read¶
-- Bit 0:
- - 1¶
+
- Bit 0:
+ - Direction (0: up; 1: down)¶
Octet 3¶
- - Bit 7:
- - Controller N-2 or N-4 /B¶
-
-
-- Bit 6:
- - Controller N-2 or N-4 /Y¶
-
-
-- Bit 5:
- - Controller N-2 or N-4 /Select¶
-
-
-- Bit 4:
- - Controller N-2 or N-4 /Start¶
-
-
-- Bit 3:
- - Controller N-2 or N-4 /Up¶
-
-
-- Bit 2:
- - Controller N-2 or N-4 /Down¶
-
-
-- Bit 1:
- - Controller N-2 or N-4 /Left¶
-
-
-- Bit 0:
- - Controller N-2 or N-4 /Right¶
-
-
-
-Octet 4¶
-
- - Bit 7:
- - Controller N-2 or N-4 /A¶
-
-
-- Bit 6:
- - Controller N-2 or N-4 /X¶
-
-
-- Bit 5:
- - Controller N-2 or N-4 /L¶
-
-
-- Bit 4:
- - Controller N-2 or N-4 /R¶
-
-
-- Bit 3:
- - 1¶
-
-
-- Bit 2:
- - 1¶
-
-
-- Bit 1:
- - 1¶
+
- Bits 7-1:
+ - /Horizontal displacement since last read¶
-- Bit 0:
- - 1¶
+
- Bit 0:
+ - Direction (0: up; 1: down)¶
-Controller N is the controller port number on the console that the Multitap is connected to. Controller N-1...N-4 are the controller ports 1...4 on the Multitap. Two Multitap ports are polled simultaneously by the game - either 1 and 2, or 3 and 4. The I/O Pin state in octet 0 MUST be 1 for multitap ports 1 and 2, or 0 for ports 3 and 4.¶
diff --git a/docs/latest/draft-tasd-spec.txt b/docs/latest/draft-tasd-spec.txt
index 03d279a..c7f2222 100644
--- a/docs/latest/draft-tasd-spec.txt
+++ b/docs/latest/draft-tasd-spec.txt
@@ -7,7 +7,7 @@ Independent TAS Console Replay Research Group V. Grey
Bigbass
rasteri
- 13 October 2023
+ 15 October 2023
TASD File Format Specification Version 1
@@ -102,8 +102,8 @@ Table of Contents
5.1.2. NES Four Score
5.2. SNES Controller Types
5.2.1. SNES Standard Controller
- 5.2.2. SNES Mouse
- 5.2.3. SNES Super Multitap
+ 5.2.2. SNES Super Multitap
+ 5.2.3. SNES Mouse
5.3. N64 Controller Types
5.3.1. N64 Standard Controller
5.3.2. N64 Standard Controller with Rumble
@@ -1744,45 +1744,7 @@ Table of Contents
Bit 1: 1
Bit 0: 1
-5.2.2. SNES Mouse
-
- Single Input Length: 4 Octets
-
- *Octet 0*
-
- Bit 7: 1
- Bit 6: 1
- Bit 5: 1
- Bit 4: 1
- Bit 3: 1
- Bit 2: 1
- Bit 1: 1
- Bit 0: 1
-
- *Octet 1*
-
- Bit 7: /Right button
- Bit 6: /Left button
- Bit 5: Current sensitivity (0: high sensitivity; 1: low or medium
- sensitivity)
- Bit 4: Current sensitivity (0: medium sensitivity; 1: low or high
- sensitivity)
- Bit 3: 1
- Bit 2: 1
- Bit 1: 1
- Bit 0: 0
-
- *Octet 2*
-
- Bits 7-1: /Vertical displacement since last read
- Bit 0: Direction (0: up; 1: down)
-
- *Octet 3*
-
- Bits 7-1: /Horizontal displacement since last read
- Bit 0: Direction (0: up; 1: down)
-
-5.2.3. SNES Super Multitap
+5.2.2. SNES Super Multitap
Single Input Length: 5 Octets
@@ -1849,6 +1811,44 @@ Table of Contents
Pin state in octet 0 MUST be *1* for multitap ports *1 and 2*, or *0*
for ports *3 and 4*.
+5.2.3. SNES Mouse
+
+ Single Input Length: 4 Octets
+
+ *Octet 0*
+
+ Bit 7: 1
+ Bit 6: 1
+ Bit 5: 1
+ Bit 4: 1
+ Bit 3: 1
+ Bit 2: 1
+ Bit 1: 1
+ Bit 0: 1
+
+ *Octet 1*
+
+ Bit 7: /Right button
+ Bit 6: /Left button
+ Bit 5: Current sensitivity (0: high sensitivity; 1: low or medium
+ sensitivity)
+ Bit 4: Current sensitivity (0: medium sensitivity; 1: low or high
+ sensitivity)
+ Bit 3: 1
+ Bit 2: 1
+ Bit 1: 1
+ Bit 0: 0
+
+ *Octet 2*
+
+ Bits 7-1: /Vertical displacement since last read
+ Bit 0: Direction (0: up; 1: down)
+
+ *Octet 3*
+
+ Bits 7-1: /Horizontal displacement since last read
+ Bit 0: Direction (0: up; 1: down)
+
5.3. N64 Controller Types
5.3.1. N64 Standard Controller
diff --git a/docs/tasd-spec-0001/draft-tasd-spec-0001.html b/docs/tasd-spec-0001/draft-tasd-spec-0001.html
index dd70bf9..9e53fab 100644
--- a/docs/tasd-spec-0001/draft-tasd-spec-0001.html
+++ b/docs/tasd-spec-0001/draft-tasd-spec-0001.html
@@ -1464,10 +1464,10 @@ li > p:last-of-type {
5.2.1. SNES Standard Controller
- 5.2.2. SNES Mouse
+ 5.2.2. SNES Super Multitap
- 5.2.3. SNES Super Multitap
+ 5.2.3. SNES Mouse
@@ -3850,11 +3850,11 @@ li > p:last-of-type {
-
-5.2.2. SNES Mouse
+
+5.2.2. SNES Super Multitap
-
Single Input Length: 4 Octets¶
-Octet 0¶
+Single Input Length: 5 Octets¶
+Octet 0 :¶
- Bit 7:
- 1¶
@@ -3885,74 +3885,158 @@ li > p:last-of-type {
- Bit 0:
- - 1¶
+
- I/O Pin State - 1 if Multitap ports 1 and 2 are being polled, 0 if ports 3 and 4 are.¶
Octet 1¶
- Bit 7:
- - /Right button¶
+
- Controller N-1 or N-3 /B¶
- Bit 6:
- - /Left button¶
+
- Controller N-1 or N-3 /Y¶
- Bit 5:
- - Current sensitivity (0: high sensitivity; 1: low or medium sensitivity)¶
+
- Controller N-1 or N-3 /Select¶
- Bit 4:
- - Current sensitivity (0: medium sensitivity; 1: low or high sensitivity)¶
+
- Controller N-1 or N-3 /Start¶
- Bit 3:
- - 1¶
+
- Controller N-1 or N-3 /Up¶
- Bit 2:
- - 1¶
+
- Controller N-1 or N-3 /Down¶
- Bit 1:
- - 1¶
+
- Controller N-1 or N-3 /Left¶
- Bit 0:
- - 0¶
+
- Controller N-1 or N-3 /Right¶
Octet 2¶
- - Bits 7-1:
- - /Vertical displacement since last read¶
+
- Bit 7:
+ - Controller N-1 or N-3 /A¶
+
+
+- Bit 6:
+ - Controller N-1 or N-3 /X¶
+
+
+- Bit 5:
+ - Controller N-1 or N-3 /L¶
+
+
+- Bit 4:
+ - Controller N-1 or N-3 /R¶
+
+
+- Bit 3:
+ - 1¶
+
+
+- Bit 2:
+ - 1¶
+
+
+- Bit 1:
+ - 1¶
-- Bit 0:
- - Direction (0: up; 1: down)¶
+
- Bit 0:
+ - 1¶
Octet 3¶
- - Bits 7-1:
- - /Horizontal displacement since last read¶
+
- Bit 7:
+ - Controller N-2 or N-4 /B¶
+
+
+- Bit 6:
+ - Controller N-2 or N-4 /Y¶
+
+
+- Bit 5:
+ - Controller N-2 or N-4 /Select¶
+
+
+- Bit 4:
+ - Controller N-2 or N-4 /Start¶
+
+
+- Bit 3:
+ - Controller N-2 or N-4 /Up¶
+
+
+- Bit 2:
+ - Controller N-2 or N-4 /Down¶
+
+
+- Bit 1:
+ - Controller N-2 or N-4 /Left¶
+
+
+- Bit 0:
+ - Controller N-2 or N-4 /Right¶
+
+
+
+Octet 4¶
+
+ - Bit 7:
+ - Controller N-2 or N-4 /A¶
+
+
+- Bit 6:
+ - Controller N-2 or N-4 /X¶
+
+
+- Bit 5:
+ - Controller N-2 or N-4 /L¶
+
+
+- Bit 4:
+ - Controller N-2 or N-4 /R¶
+
+
+- Bit 3:
+ - 1¶
+
+
+- Bit 2:
+ - 1¶
+
+
+- Bit 1:
+ - 1¶
-- Bit 0:
- - Direction (0: up; 1: down)¶
+
- Bit 0:
+ - 1¶
+Controller N is the controller port number on the console that the Multitap is connected to. Controller N-1...N-4 are the controller ports 1...4 on the Multitap. Two Multitap ports are polled simultaneously by the game - either 1 and 2, or 3 and 4. The I/O Pin state in octet 0 MUST be 1 for multitap ports 1 and 2, or 0 for ports 3 and 4.¶
-
-5.2.3. SNES Super Multitap
+
+5.2.3. SNES Mouse
-
Single Input Length: 5 Octets¶
-Octet 0 :¶
+Single Input Length: 4 Octets¶
+Octet 0¶
- Bit 7:
- 1¶
@@ -3983,151 +4067,67 @@ li > p:last-of-type {
- Bit 0:
- - I/O Pin State - 1 if Multitap ports 1 and 2 are being polled, 0 if ports 3 and 4 are.¶
+
- 1¶
Octet 1¶
- Bit 7:
- - Controller N-1 or N-3 /B¶
+
- /Right button¶
- Bit 6:
- - Controller N-1 or N-3 /Y¶
+
- /Left button¶
- Bit 5:
- - Controller N-1 or N-3 /Select¶
+
- Current sensitivity (0: high sensitivity; 1: low or medium sensitivity)¶
- Bit 4:
- - Controller N-1 or N-3 /Start¶
+
- Current sensitivity (0: medium sensitivity; 1: low or high sensitivity)¶
- Bit 3:
- - Controller N-1 or N-3 /Up¶
+
- 1¶
- Bit 2:
- - Controller N-1 or N-3 /Down¶
+
- 1¶
- Bit 1:
- - Controller N-1 or N-3 /Left¶
+
- 1¶
- Bit 0:
- - Controller N-1 or N-3 /Right¶
+
- 0¶
Octet 2¶
- - Bit 7:
- - Controller N-1 or N-3 /A¶
-
-
-- Bit 6:
- - Controller N-1 or N-3 /X¶
-
-
-- Bit 5:
- - Controller N-1 or N-3 /L¶
-
-
-- Bit 4:
- - Controller N-1 or N-3 /R¶
-
-
-- Bit 3:
- - 1¶
-
-
-- Bit 2:
- - 1¶
-
-
-- Bit 1:
- - 1¶
+
- Bits 7-1:
+ - /Vertical displacement since last read¶
-- Bit 0:
- - 1¶
+
- Bit 0:
+ - Direction (0: up; 1: down)¶
Octet 3¶
- - Bit 7:
- - Controller N-2 or N-4 /B¶
-
-
-- Bit 6:
- - Controller N-2 or N-4 /Y¶
-
-
-- Bit 5:
- - Controller N-2 or N-4 /Select¶
-
-
-- Bit 4:
- - Controller N-2 or N-4 /Start¶
-
-
-- Bit 3:
- - Controller N-2 or N-4 /Up¶
-
-
-- Bit 2:
- - Controller N-2 or N-4 /Down¶
-
-
-- Bit 1:
- - Controller N-2 or N-4 /Left¶
-
-
-- Bit 0:
- - Controller N-2 or N-4 /Right¶
-
-
-
-Octet 4¶
-
- - Bit 7:
- - Controller N-2 or N-4 /A¶
-
-
-- Bit 6:
- - Controller N-2 or N-4 /X¶
-
-
-- Bit 5:
- - Controller N-2 or N-4 /L¶
-
-
-- Bit 4:
- - Controller N-2 or N-4 /R¶
-
-
-- Bit 3:
- - 1¶
-
-
-- Bit 2:
- - 1¶
-
-
-- Bit 1:
- - 1¶
+
- Bits 7-1:
+ - /Horizontal displacement since last read¶
-- Bit 0:
- - 1¶
+
- Bit 0:
+ - Direction (0: up; 1: down)¶
-Controller N is the controller port number on the console that the Multitap is connected to. Controller N-1...N-4 are the controller ports 1...4 on the Multitap. Two Multitap ports are polled simultaneously by the game - either 1 and 2, or 3 and 4. The I/O Pin state in octet 0 MUST be 1 for multitap ports 1 and 2, or 0 for ports 3 and 4.¶
diff --git a/docs/tasd-spec-0001/draft-tasd-spec-0001.txt b/docs/tasd-spec-0001/draft-tasd-spec-0001.txt
index 03d279a..c7f2222 100644
--- a/docs/tasd-spec-0001/draft-tasd-spec-0001.txt
+++ b/docs/tasd-spec-0001/draft-tasd-spec-0001.txt
@@ -7,7 +7,7 @@ Independent TAS Console Replay Research Group V. Grey
Bigbass
rasteri
- 13 October 2023
+ 15 October 2023
TASD File Format Specification Version 1
@@ -102,8 +102,8 @@ Table of Contents
5.1.2. NES Four Score
5.2. SNES Controller Types
5.2.1. SNES Standard Controller
- 5.2.2. SNES Mouse
- 5.2.3. SNES Super Multitap
+ 5.2.2. SNES Super Multitap
+ 5.2.3. SNES Mouse
5.3. N64 Controller Types
5.3.1. N64 Standard Controller
5.3.2. N64 Standard Controller with Rumble
@@ -1744,45 +1744,7 @@ Table of Contents
Bit 1: 1
Bit 0: 1
-5.2.2. SNES Mouse
-
- Single Input Length: 4 Octets
-
- *Octet 0*
-
- Bit 7: 1
- Bit 6: 1
- Bit 5: 1
- Bit 4: 1
- Bit 3: 1
- Bit 2: 1
- Bit 1: 1
- Bit 0: 1
-
- *Octet 1*
-
- Bit 7: /Right button
- Bit 6: /Left button
- Bit 5: Current sensitivity (0: high sensitivity; 1: low or medium
- sensitivity)
- Bit 4: Current sensitivity (0: medium sensitivity; 1: low or high
- sensitivity)
- Bit 3: 1
- Bit 2: 1
- Bit 1: 1
- Bit 0: 0
-
- *Octet 2*
-
- Bits 7-1: /Vertical displacement since last read
- Bit 0: Direction (0: up; 1: down)
-
- *Octet 3*
-
- Bits 7-1: /Horizontal displacement since last read
- Bit 0: Direction (0: up; 1: down)
-
-5.2.3. SNES Super Multitap
+5.2.2. SNES Super Multitap
Single Input Length: 5 Octets
@@ -1849,6 +1811,44 @@ Table of Contents
Pin state in octet 0 MUST be *1* for multitap ports *1 and 2*, or *0*
for ports *3 and 4*.
+5.2.3. SNES Mouse
+
+ Single Input Length: 4 Octets
+
+ *Octet 0*
+
+ Bit 7: 1
+ Bit 6: 1
+ Bit 5: 1
+ Bit 4: 1
+ Bit 3: 1
+ Bit 2: 1
+ Bit 1: 1
+ Bit 0: 1
+
+ *Octet 1*
+
+ Bit 7: /Right button
+ Bit 6: /Left button
+ Bit 5: Current sensitivity (0: high sensitivity; 1: low or medium
+ sensitivity)
+ Bit 4: Current sensitivity (0: medium sensitivity; 1: low or high
+ sensitivity)
+ Bit 3: 1
+ Bit 2: 1
+ Bit 1: 1
+ Bit 0: 0
+
+ *Octet 2*
+
+ Bits 7-1: /Vertical displacement since last read
+ Bit 0: Direction (0: up; 1: down)
+
+ *Octet 3*
+
+ Bits 7-1: /Horizontal displacement since last read
+ Bit 0: Direction (0: up; 1: down)
+
5.3. N64 Controller Types
5.3.1. N64 Standard Controller
diff --git a/src/docs/draft-tasd-spec-0001.xml b/src/docs/draft-tasd-spec-0001.xml
index e527bf3..0d7bcc1 100644
--- a/src/docs/draft-tasd-spec-0001.xml
+++ b/src/docs/draft-tasd-spec-0001.xml
@@ -1390,42 +1390,6 @@
- SNES Mouse
- Single Input Length: 4 Octets
- Octet 0
-
- - Bit 7:
- 1
- - Bit 6:
- 1
- - Bit 5:
- 1
- - Bit 4:
- 1
- - Bit 3:
- 1
- - Bit 2:
- 1
- - Bit 1:
- 1
- - Bit 0:
- 1
-
- Octet 1
-
- - Bit 7:
- /Right button
- - Bit 6:
- /Left button
- - Bit 5:
- Current sensitivity (0: high sensitivity; 1: low or medium sensitivity)
- - Bit 4:
- Current sensitivity (0: medium sensitivity; 1: low or high sensitivity)
- - Bit 3:
- 1
- - Bit 2:
- 1
- - Bit 1:
- 1
- - Bit 0:
- 0
-
- Octet 2
-
- - Bits 7-1:
- /Vertical displacement since last read
- - Bit 0:
- Direction (0: up; 1: down)
-
- Octet 3
-
- - Bits 7-1:
- /Horizontal displacement since last read
- - Bit 0:
- Direction (0: up; 1: down)
-
-
-
SNES Super Multitap
Single Input Length: 5 Octets
Octet 0 :
@@ -1485,6 +1449,42 @@
Controller N is the controller port number on the console that the Multitap is connected to. Controller N-1...N-4 are the controller ports 1...4 on the Multitap. Two Multitap ports are polled simultaneously by the game - either 1 and 2, or 3 and 4. The I/O Pin state in octet 0 MUST be 1 for multitap ports 1 and 2, or 0 for ports 3 and 4.
+
+ SNES Mouse
+ Single Input Length: 4 Octets
+ Octet 0
+
+ - Bit 7:
- 1
+ - Bit 6:
- 1
+ - Bit 5:
- 1
+ - Bit 4:
- 1
+ - Bit 3:
- 1
+ - Bit 2:
- 1
+ - Bit 1:
- 1
+ - Bit 0:
- 1
+
+ Octet 1
+
+ - Bit 7:
- /Right button
+ - Bit 6:
- /Left button
+ - Bit 5:
- Current sensitivity (0: high sensitivity; 1: low or medium sensitivity)
+ - Bit 4:
- Current sensitivity (0: medium sensitivity; 1: low or high sensitivity)
+ - Bit 3:
- 1
+ - Bit 2:
- 1
+ - Bit 1:
- 1
+ - Bit 0:
- 0
+
+ Octet 2
+
+ - Bits 7-1:
- /Vertical displacement since last read
+ - Bit 0:
- Direction (0: up; 1: down)
+
+ Octet 3
+
+ - Bits 7-1:
- /Horizontal displacement since last read
+ - Bit 0:
- Direction (0: up; 1: down)
+
+
N64 Controller Types
@@ -1924,6 +1924,8 @@