1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] Get Inputs without Focus in Python/Pygame?

Discussão em 'Python' iniciado por Stack, Outubro 8, 2024.

  1. Stack

    Stack Membro Participativo

    I am creating a small app for myself to be able to show my keyboard inputs and show them in a Joystick layout, like this:

    [​IMG]

    This itself, works perfectly fine while the Pygame windows is focused, my problem is, i can't have this focused all the time, in fact it will never have focus because either way i will be using OBS to stream or i will be using my emulator, and pygame doesn't detect inputs that are out of the window. Is there any way to make python or pygame read all the input made to the computer??? I am hitting a wall here. Thanks in advance!!

    Continue reading...

Compartilhe esta Página