Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on gameshell clockworkpi #22

Open
arthurlutz opened this issue Apr 19, 2021 · 1 comment
Open

Compiling on gameshell clockworkpi #22

arthurlutz opened this issue Apr 19, 2021 · 1 comment

Comments

@arthurlutz
Copy link

I'm happy to have sim-arduboy compiling and running on the gameshell clockworkpi https://www.clockworkpi.com/ (running debian bullseye). Thanks for working and publishing this piece of software !

Here is a video of it running : https://imgur.com/nkUQkeS

It has some glitches I need to investigate (gets stuck from time to time).

Could you give me an example keymap, it seems to be an undocumented feature (sorry if I missed the docs...).

@dbrignoli
Copy link

Nice! 😄

  1. Default keys are defined here:
    int default_key2btn[BTN_COUNT] = {
  2. Values are SDLK_* constant values which can be found here: https://github.com/libsdl-org/SDL/blob/main/include/SDL_keycode.h

On the command line the keymap is specified by passing a comma-separated list of, maximum 6, integers to the -k switch. The code could be improved to accept scancode symbol names instead of integers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants