Answers for "how to check if two buttons were pressed python"

0

how to check if two buttons were pressed python

import keyboard #import keyboard module
if keyboard.is_pressed('ctrl') and keyboard.is_pressed('s'):
  func() #do something
Posted by: Guest on May-27-2021

Code answers related to "how to check if two buttons were pressed python"

Python Answers by Framework

Browse Popular Code Answers by Language