added PyKeyboardEvent imports to mac and windows