shithub: npe

Download patch

ref: 99c39874ceae2e7b0af75b43733baac8b2a50f35
parent: f69141f76fffc01b11e8c2c74424a8f7a1501fae
author: Jacob Moody <moody@posixcafe.org>
date: Tue Feb 7 01:10:43 EST 2023

send keyup for Kctl, useful for duke3d

--- a/libnpe_sdl2/events.c
+++ b/libnpe_sdl2/events.c
@@ -340,11 +340,10 @@
 						kmod &= ~KMOD_LSHIFT;
 					else if(r == Kctl)
 						kmod &= ~KMOD_LCTRL;
-					else{
-						t = Rup;
-						send(salt[Ckey].c, &r);
-						send(salt[Ckeytype].c, &t);
-					}
+
+					t = Rup;
+					send(salt[Ckey].c, &r);
+					send(salt[Ckeytype].c, &t);
 				}
 			}
 			break;