A screenshot capturer with grid history viewer, can use XInput controller to issue commands.
- Clone the project
pipenv install- Get the xbox controller
- Configure the constants at around the top of
main.pywfile - Run
main.pywwith pipenv (pipenv run python main.pyw) - Enable 'LT/RT take' in menu 'Option'
- Run your game
- You can take a screenshot by holding Left Trigger and Right Trigger on the xbox controller to the very back (255/255 value, or max gas, first player controller only)
- Issue screenshot capture with your xinput controller (xbox controller)
- View captured screenshots with a grid view
- Rotate (deque-wise) history
- Delete all/Save all history
- Some simple options such as xinput pool interval, history limit, on/off xinput
- With each screenshot:
- Copy to clipboard
- Save/Save as individual file
- Delete from history
- Pin (skip it when user issues 'delete all')
NOTE: There are better screenshot capturing tools, this is only made because I couldn't find one that I can use with by xbox controller
note: I can't find a way to capture the Print Screen key
note: It will only check state of the first player controller (the first player xbox controller will show the 9-12 o'clock ring as first player)
- pipenv
- Python 3.12
- It is not cross-platform due to these problems:
- pywin32 (for clipboard reading, couldn't find one cross platform that supports copy as bitmap)
- tkinter (xpnative theme)
- Maybe save files in another thread so that it will not block the tkinter mainloop
MIT
Feel free