TASEmulators / TASEmulators/BizHawk

[F.Rq.] SNES rumble

Open
#4,498 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Core: BSNES Core: Snes9x Request: Feature/Enhancement Waiting on upstream
Dominant language
C#
Stars
2.8k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

This is a homebrew standard. spec

Since it's over the controller ports, I thought we might be able to implement it by snooping on the controller registers with a hook (since at least new BSNES implements them), but my test was fruitless:

local buffer = {};
event.on_bus_write(function(addr, val, flags)
	table.insert(buffer, bizstring.hex(val));
end, 0x4016);
while true do
	emu.frameadvance();
	gui.cleartext();
	gui.addmessage("snooped "..bizstring.fold(table.concat(buffer, " "), 60, "\n    "));
	buffer = {};
end

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked RumbleTech.pdf and trace how SNES controller-register writes reach event.on_bus_write at 0x4016; compare that behavior with the stated bsnes support. Done means implementing SNES rumble support over the controller ports and verifying it against the standard.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, lua
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.