atomic14 / esp32-zxspectrum

GNU General Public License v3.0
21 stars 0 forks source link

Mapping GPIO to key presses #1

Open scuba-hacker opened 3 hours ago

scuba-hacker commented 3 hours ago

Hi Chris. I don't know if the code currently support this, but would it be possible to support using external switches connected via gpio so that custom controllers could be made? These could be mapped to kempston joystick inputs or even key presses.

cgreening commented 3 hours ago

Yes - pretty straightforward. There are two QWIIC connectors and there are quite a few I2C GPIO expander boards that would work nicely for this kind of thing.

On Tue, 22 Oct 2024 at 12:41, Mark B. Jones aka The Scuba Hacker < @.***> wrote:

Hi Chris. I don't know if the code currently support this, but would it be possible to support using external switches connected via gpio so that custom controllers could be made? These could be mapped to kempston joystick inputs or even key presses.

— Reply to this email directly, view it on GitHub https://github.com/atomic14/esp32-zxspectrum/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMTAF3YZHFKBWHI5GCDFLZ4Y2VTAVCNFSM6AAAAABQMJH5N6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDKMJZHA4TGNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>