|
character = shift_characters[character] |
|
if 'ctrl' in special_keys and 'alt' not in special_keys and 'shift' not in special_keys: |
|
character = ctrl_characters[character] |
|
if 'ctrl' in special_keys and 'alt' in special_keys: |
|
character = alt_and_ctrl_characters[character] |
|
if 'ctrl' in special_keys and 'shift' in special_keys: |
|
character = shift_and_ctrl_characters[character] |
on those lines, when special_keys(shift, ctrl, alt) is pressed, the character will be updated. If updated, demo(Combo(['ctrl','alt'], 'g', function_2, 'goodbye world')) not working. If not updated(comment those lines), demo work
keyboard_listener/functions.py
Lines 54 to 60 in 6d4b244
on those lines, when special_keys(shift, ctrl, alt) is pressed, the character will be updated. If updated, demo(
Combo(['ctrl','alt'], 'g', function_2, 'goodbye world')) not working. If not updated(comment those lines), demo work