joshjaysalazar / iRacingSafetyCarGenerator

Software to generate custom safety cars during an iRacing race
GNU General Public License v3.0
1 stars 1 forks source link

Commands will type into other windows if iRacing isn't focused #12

Open joshjaysalazar opened 2 months ago

joshjaysalazar commented 2 months ago

Describe the bug If the iRacing window isn't focused ("clicked into"), the commands will be typed into whatever window does have focus.

To Reproduce Steps to reproduce the behavior:

  1. Start the generator
  2. Click away from the iRacing window
  3. Wait for a safety car and watch the commands be sent to the wrong place

Expected behavior The commands should only be able to send to the iRacing window, and should be able to be sent to it even if it doesn't have focus.

Screenshots N/A

Additional context N/A