Virtual Boy controller: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(note correspondence with SNES)
No edit summary
Line 23: Line 23:
  12 - Button B
  12 - Button B
  13 - Button A
  13 - Button A
  14 - Always 1
  14 - Controller ID code; 1 = standard controller
  15 - Low battery signal
  15 - Battery voltage; 1 = low voltage


This is very analogous to the [[SNES controller]], which reports its 4 face buttons where the VB reports its right d-pad. However, the last 4 bits (B, A, 1, battery) have no correspondence in the SNES controller report.
This is very analogous to the [[SNES controller]], which reports its 4 face buttons where the VB reports its right d-pad. However, the last 4 bits (B, A, 1, battery) have no correspondence in the SNES controller report.

Revision as of 06:14, 22 April 2019

The Virtual Boy controller has an NES-compatible protocol, and has been used in homebrew games.

  • Spook-O'-Tron
  • Candelabra - Estoscerro

After strobing the controller, the following 16 bits can be read from the data line:

 0 - Right D-pad Down
 1 - Right D-pad Left
 2 - Select
 3 - Start
 4 - Left D-pad Up
 5 - Left D-pad Down
 6 - Left D-pad Left
 7 - Left D-pad Right
 8 - Right D-pad Right
 9 - Right D-pad Up
10 - Button L (opposite left D-pad)
11 - Button R (opposite right D-pad)
12 - Button B
13 - Button A
14 - Controller ID code; 1 = standard controller
15 - Battery voltage; 1 = low voltage

This is very analogous to the SNES controller, which reports its 4 face buttons where the VB reports its right d-pad. However, the last 4 bits (B, A, 1, battery) have no correspondence in the SNES controller report.

References