From a230aa968d794396825c14148abfdc517245cb52 Mon Sep 17 00:00:00 2001 From: bigbass1997 Date: Fri, 27 Aug 2021 00:54:00 -0500 Subject: Added N64 Controller with Rumble Pak controller type. --- inputmaps.txt | 21 +++++++++++++++------ spec.md | 13 +++++++------ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/inputmaps.txt b/inputmaps.txt index 159dc43..5b22e7e 100644 --- a/inputmaps.txt +++ b/inputmaps.txt @@ -105,18 +105,26 @@ bits 15-8 = Analog Stick X-Axis (signed 8bit number, decimal -128 to +127) bits 7-0 = Analog Stick Y-Axis (signed 8bit number, decimal -128 to +127) -=== N64 Standard with Controller Pak === +=== N64 Standard with Rumble Pak === Spec Type: 03 02 + Identical to N64 Standard (03 01) -=== N64 Standard with Transfer Pak === +=== N64 Standard with Controller Pak === Spec Type: 03 03 + Identical to N64 Standard (03 01) -=== N64 Mouse === +=== N64 Standard with Transfer Pak === Spec Type: 03 04 + +Identical to N64 Standard (03 01) + + +=== N64 Mouse === +Spec Type: 03 05 Length: 4 bytes The N64 uses the Joybus Protocol. Pressed buttons are represented as a binary '1'. Protocol details can be found here: https://n64brew.dev/wiki/Joybus_Protocol @@ -131,14 +139,14 @@ bits 7-0 = Relative Y-Axis position (signed 8bit number, decimal -128 to +127) === N64 Voice Recognition Unit (VRU) === -Spec Type: 03 04 +Spec Type: 03 06 Length: ? Unknown at this time, more research is required to understand the VRU. === N64 RandNet Keyboard === -Spec Type: 03 05 +Spec Type: 03 07 Length: 7 bytes The N64 uses the Joybus Protocol. Protocol details can be found here: https://n64brew.dev/wiki/Joybus_Protocol And Keyboard specific details here: https://sites.google.com/site/consoleprotocols/home/nintendo-joy-bus-documentation/n64-specific/randnet-keyboard @@ -150,7 +158,7 @@ bits 7- 0 = special keyboard flags === N64 Densha de Go === -Spec Type: 03 06 +Spec Type: 03 08 Length: 4 bytes The N64 uses the Joybus Protocol. Pressed buttons are represented as a binary '1'. Protocol details can be found here: https://n64brew.dev/wiki/Joybus_Protocol @@ -212,6 +220,7 @@ Length: 1 byte Identical to GB Gamepad (05 01) + === GBA(SP) Gamepad === Spec Type: 07 01 Length: 2 bytes diff --git a/spec.md b/spec.md index e8c7f8f..fa6a719 100644 --- a/spec.md +++ b/spec.md @@ -82,12 +82,13 @@ Key | Payload Size | Name | Description -> xx 02 04 = SNES Superscope -> xx 03 01 = N64 Standard - -> xx 03 02 = N64 Standard with Controller Pak - -> xx 03 03 = N64 Standard with Transfer Pak - -> xx 03 04 = N64 Mouse - -> xx 03 05 = N64 Voice Recognition Unit (VRU) - -> xx 03 06 = N64 RandNet Keyboard - -> xx 03 07 = N64 Densha de Go (used for only 1 game) + -> xx 03 02 = N64 Standard with Rumble Pak + -> xx 03 03 = N64 Standard with Controller Pak + -> xx 03 04 = N64 Standard with Transfer Pak + -> xx 03 05 = N64 Mouse + -> xx 03 06 = N64 Voice Recognition Unit (VRU) + -> xx 03 07 = N64 RandNet Keyboard + -> xx 03 08 = N64 Densha de Go (used for only 1 game) -> xx 04 01 = GC Standard -> xx 04 02 = GC Keyboard -- cgit v1.2.3