summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyevents.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 049b4db..91fa8a4 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -54,7 +54,26 @@ static void feh_set_parse_kb_partial(fehkey *key, int index, char *ks) {
case 'C':
mod = ControlMask;
break;
+ case 'S':
+ mod = ShiftMask;
+ break;
+ case '1':
+ mod = Mod1Mask;
+ break;
+ case '2':
+ mod = Mod2Mask;
+ break;
+ case '3':
+ mod = Mod3Mask;
+ break;
+ case '4':
+ mod = Mod4Mask;
+ break;
+ case '5':
+ mod = Mod5Mask;
+ break;
default:
+ weprintf("feh keys: invalid modifier %c in %s", ks[0], ks);
break;
}
cur = ks + 2;