Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Files

Latest commit

f18539c · Nov 26, 2022

History

History

pinput_tester

pinput_tester

A Pinput extended gamepad tester written in Rust for the WASM-4 fantasy console.

Building

Build the cart by running:

cargo build --release

Running

Then run it with:

w4 run-native target/wasm32-unknown-unknown/release/pinput_tester.wasm

(Note that Pinput is not yet available for the web runtime, so you need to use run-native instead of run.)

Launch a WASM-4-enabled Rust build of Pinput. The waiting for Pinput connection... message from the tester cartridge should disappear and be replaced with a visualization of the state of the first connected gamepad.