Skip to content

Configure Joystick for vice.js #15

@nodepond

Description

@nodepond

Does someone know, how to configure a joystick-keymapping for vice.js?

As far as what I have found, I can only trigger C64 key-codes, but not codes for the joystick programatically. (Like: function sendSpaceKeyPressedCode() { Module.ccall('keyboard_key_pressed', 'undefined', ['number'], [32]); } )

Can I do something similar with the joystick?

I found a thread from a user on a forum, that pretends to got the joystick working online (here the example). When I went to the code, I just found a command line option, and it seems, that the emulator uses the joystick default-config with the num-block, that seems not a good choice for making it compatible to the web.

Can the joystick-config somehow get configured?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions