bindings: Add 'W' as alias for modifier 4
This commit is contained in:
parent
d4278e802e
commit
4e74e31d23
|
@ -15,9 +15,10 @@
|
|||
# <Modifiers>: One or more of
|
||||
# - None
|
||||
# * Any
|
||||
# A Alt
|
||||
# A Alt (=modifier 1)
|
||||
# C Ctrl
|
||||
# S Shift
|
||||
# W Windows (=modifier 4)
|
||||
# 1-5 Modifier 1-5
|
||||
#
|
||||
# <Button>:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
|
||||
* Copyright (C) 2004-2019 Kim Woelders
|
||||
* Copyright (C) 2004-2020 Kim Woelders
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to
|
||||
|
@ -546,8 +546,6 @@ ActionDecode(const char *line)
|
|||
modifiers |= ShiftMask;
|
||||
break;
|
||||
case 'A':
|
||||
modifiers |= Mod1Mask;
|
||||
break;
|
||||
case '1':
|
||||
modifiers |= Mod1Mask;
|
||||
break;
|
||||
|
@ -557,6 +555,7 @@ ActionDecode(const char *line)
|
|||
case '3':
|
||||
modifiers |= Mod3Mask;
|
||||
break;
|
||||
case 'W':
|
||||
case '4':
|
||||
modifiers |= Mod4Mask;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue