This commit is contained in:
Gwenhael Le Moine 2024-09-12 16:27:39 +02:00
parent 168a1e31d5
commit 6280d4e9bd
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 49 additions and 55 deletions

View file

@ -64,12 +64,6 @@ LIBS = -lm \
$(shell "$(PKG_CONFIG)" --libs sdl2) \ $(shell "$(PKG_CONFIG)" --libs sdl2) \
$(shell "$(PKG_CONFIG)" --libs ncursesw) $(shell "$(PKG_CONFIG)" --libs ncursesw)
# SDLCFLAGS = $(shell "$(PKG_CONFIG)" --cflags sdl2)
# SDLLIBS = $(shell "$(PKG_CONFIG)" --libs sdl2)
# override CFLAGS += $(SDLCFLAGS) -DHAS_SDL2=1
# LIBS += $(SDLLIBS)
.PHONY: all clean clean-all pretty-code install mrproper .PHONY: all clean clean-all pretty-code install mrproper
all: $(TARGETS) all: $(TARGETS)

View file

@ -10,63 +10,63 @@ typedef struct hpkey_t {
static hpkey_t keyboard[ 49 ] = { static hpkey_t keyboard[ 49 ] = {
/* From top left to bottom right */ /* From top left to bottom right */
{0x14, 0}, {0x14, false},
{0x84, 0}, {0x84, false},
{0x83, 0}, {0x83, false},
{0x82, 0}, {0x82, false},
{0x81, 0}, {0x81, false},
{0x80, 0}, {0x80, false},
{0x24, 0}, {0x24, false},
{0x74, 0}, {0x74, false},
{0x73, 0}, {0x73, false},
{0x72, 0}, {0x72, false},
{0x71, 0}, {0x71, false},
{0x70, 0}, {0x70, false},
{0x04, 0}, {0x04, false},
{0x64, 0}, {0x64, false},
{0x63, 0}, {0x63, false},
{0x62, 0}, {0x62, false},
{0x61, 0}, {0x61, false},
{0x60, 0}, {0x60, false},
{0x34, 0}, {0x34, false},
{0x54, 0}, {0x54, false},
{0x53, 0}, {0x53, false},
{0x52, 0}, {0x52, false},
{0x51, 0}, {0x51, false},
{0x50, 0}, {0x50, false},
{0x44, 0}, {0x44, false},
{0x43, 0}, {0x43, false},
{0x42, 0}, {0x42, false},
{0x41, 0}, {0x41, false},
{0x40, 0}, {0x40, false},
{0x35, 0}, {0x35, false},
{0x33, 0}, {0x33, false},
{0x32, 0}, {0x32, false},
{0x31, 0}, {0x31, false},
{0x30, 0}, {0x30, false},
{0x25, 0}, {0x25, false},
{0x23, 0}, {0x23, false},
{0x22, 0}, {0x22, false},
{0x21, 0}, {0x21, false},
{0x20, 0}, {0x20, false},
{0x15, 0}, {0x15, false},
{0x13, 0}, {0x13, false},
{0x12, 0}, {0x12, false},
{0x11, 0}, {0x11, false},
{0x10, 0}, {0x10, false},
{0x8000, 0}, {0x8000, false},
{0x03, 0}, {0x03, false},
{0x02, 0}, {0x02, false},
{0x01, 0}, {0x01, false},
{0x00, 0}, {0x00, false},
}; };
static int contrast = 10; static int contrast = 10;