sim-arduboy icon indicating copy to clipboard operation
sim-arduboy copied to clipboard

Compiling on gameshell clockworkpi

Open arthurlutz opened this issue 3 years ago • 1 comments

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...).

arthurlutz avatar Apr 19 '21 21:04 arthurlutz

Nice! 😄

  1. Default keys are defined here: https://github.com/dxxb/sim-arduboy/blob/9e48de068270d58aaa5bb692ffab7290bb7733f1/src/arduboy_sdl.c#L35
  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.

dbrignoli avatar Apr 20 '21 15:04 dbrignoli