From 2ef75a9665f2a598ec25fb4af497a7f9788d5bfd Mon Sep 17 00:00:00 2001
From: atao
Date: Mon, 24 May 2021 07:12:38 +0200
Subject: [PATCH] feat: allow playing with extended ascii keys
See issue #26
---
brighton/brightonControllers.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/brighton/brightonControllers.c b/brighton/brightonControllers.c
index 00a8f81..15faaad 100644
--- a/brighton/brightonControllers.c
+++ b/brighton/brightonControllers.c
@@ -112,7 +112,10 @@ static void
brightonMapKeyboard(brightonWindow *bwin, brightonApp *app,
int channel, char *param)
{
- int from, to, chan;
+ // int from, to, chan;
+ unsigned char from;
+ int to, chan;
+
from = param[0];