capybara/constants.py
2021-11-04 02:41:34 +02:00

13 lines
230 B
Python

from pynput.keyboard import Key
from pynput.mouse import Button
button_code_lookup = [
Button.left,
Button.right
]
keyboard_lookup = {
"{space}": Key.space,
"{ent}": Key.enter,
"{backspace}": Key.backspace
}