shithub: npe

Download patch

ref: dc2a27ba8cbac9c58ebd316f91db66dabe5baed5
parent: 3316fe5b0e96afe3d3ec3603681f3456b2703b11
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Jul 30 09:04:48 EDT 2021

sdl2: handle Mod4 as KMOD_LGUI

--- a/libnpe_sdl2/events.c
+++ b/libnpe_sdl2/events.c
@@ -290,6 +290,8 @@
 						kmod |= KMOD_LCTRL;
 					else if(r == Kaltgr)
 						kmod |= KMOD_RALT;
+					else if(r == Kmod4)
+						kmod |= KMOD_LGUI;
 					else{
 						o = npe_sdl.textinput ? r : tolowerrune(r);
 						continue;