Skip to content

Commit

Permalink
Track secondary shift keys
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSignPainter98 committed Mar 27, 2021
1 parent 1e9aa6a commit 714e9ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/keycov/parse_kle.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
'w': 1.0,
'h2': 1.0,
'w2': 1.0,
'x2': 0.0,
'y2': 0.0,
'l': False,
'n': False,
'c': default_cap_colour,
't': default_text_colour,
}
parser_state_keys:[dict] = parser_initial_state.keys()
parser_state_reset_keys:[str] = ['d', 'w', 'h', 'w2', 'h2', 'l', 'n']
parser_state_output_keys:[str] = ['p', 'w', 'h', 'w2', 'h2', 'l', 'n', 'c', 't']
parser_state_reset_keys:[str] = ['d', 'w', 'h', 'w2', 'h2', 'x2', 'y2', 'l', 'n']
parser_state_output_keys:[str] = ['p', 'w', 'h', 'w2', 'h2', 'x2', 'y2', 'l', 'n', 'c', 't']

def parse_kle(fname:str) -> [dict]:
return parse_kle_raw(read_yaml(fname))
Expand Down

0 comments on commit 714e9ee

Please sign in to comment.