Has anyone got, or know of, a redefine keys routine suitable for a Spectrum game which I can borrow? Either in C, or callable from C. GPL licence or something more permissive with author's permission.
I can't believe I need to write such a thing from scratch!
ZX redefine keys in C?
Re: ZX redefine keys in C?
lol, that reminds me to my first hack attempts to get rid off that lousy 5678 syndrome
for a redefine routine offcourse you first need a key_routine with a place where those keys are stored
maybe that routine, if it exists, has a redifine input some where?
else you migth become a proud and famous C writer ??
for a redefine routine offcourse you first need a key_routine with a place where those keys are stored
maybe that routine, if it exists, has a redifine input some where?
else you migth become a proud and famous C writer ??
-
- Member
- Posts: 121
- Joined: Mon Mar 26, 2018 1:49 pm
Re: ZX redefine keys in C?
Heh, yes, it's not particularly hard to write, I was just after a shortcut. Given the time I spent looking for one I probably could have written it.
In case anyone else asks, there's one in Gandlaf.
In case anyone else asks, there's one in Gandlaf.
Re: ZX redefine keys in C?
Look at microman.c, -DJOYSTICK_DIALOG compile option.
A keyboard only game configuration screen is, in my opinion, part of the game personalization and gamer experience.
You are probably not willing to recycle someone else's look and feel for the final version of your games.
A keyboard only game configuration screen is, in my opinion, part of the game personalization and gamer experience.
You are probably not willing to recycle someone else's look and feel for the final version of your games.