Как отключить и включить ввод с клавиатуры в Python для Windows?Python

Программы на Python
Anonymous
Как отключить и включить ввод с клавиатуры в Python для Windows?

Сообщение Anonymous »


Hi im currently working on a triggerbot for Valorant (I don’t wanna cheat i just want to learn python coding and combine it with Pixel detection and input making) and want to ask how i disable the Keyboard input and enable it right after an other task. Something like this:

Import mouse Import keyboard //diable keyboard here Mouse.click(„left“) //enable keyboard here This is just a cut of the Programm if the rest is required i can add this of course.

I tried finding something about it but it didn’t work for me. I would appreciate help. Sorry for my maybe bad English.


Источник: https://stackoverflow.com/questions/780 ... or-windows

Вернуться в «Python»