More trailing whitespace
This commit is contained in:
parent
5b2a9b101d
commit
3523ab283f
6
kitty/keys.h
generated
6
kitty/keys.h
generated
@ -487,7 +487,7 @@ static inline const char*
|
||||
key_lookup(uint8_t key, KeyboardMode mode, uint8_t mods, uint8_t action) {
|
||||
switch(mode) {
|
||||
case NORMAL:
|
||||
switch(action & 3) { case 3: return NULL;
|
||||
switch(action & 3) { case 3: return NULL;
|
||||
case 0: // RELEASE
|
||||
return NULL;
|
||||
|
||||
@ -2891,7 +2891,7 @@ key_lookup(uint8_t key, KeyboardMode mode, uint8_t mods, uint8_t action) {
|
||||
|
||||
|
||||
case APPLICATION:
|
||||
switch(action & 3) { case 3: return NULL;
|
||||
switch(action & 3) { case 3: return NULL;
|
||||
case 0: // RELEASE
|
||||
return NULL;
|
||||
|
||||
@ -5295,7 +5295,7 @@ key_lookup(uint8_t key, KeyboardMode mode, uint8_t mods, uint8_t action) {
|
||||
|
||||
|
||||
case EXTENDED:
|
||||
switch(action & 3) { case 3: return NULL;
|
||||
switch(action & 3) { case 3: return NULL;
|
||||
case 0: // RELEASE
|
||||
switch (mods & 0xf) {
|
||||
case 0x0:
|
||||
|
||||
@ -281,7 +281,7 @@ def generate_key_table():
|
||||
i += 1
|
||||
ind('case {}:'.format(mode))
|
||||
i += 1
|
||||
ind('switch(action & 3) { case 3: return NULL; ')
|
||||
ind('switch(action & 3) { case 3: return NULL;')
|
||||
for action in (defines.GLFW_RELEASE, defines.GLFW_PRESS, defines.GLFW_REPEAT):
|
||||
i += 1
|
||||
ind('case {}: // {}'.format(action, 'RELEASE PRESS REPEAT'.split()[action]))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user