Skip to content

A GUI app for playing with HID devices, written in Python

License

Notifications You must be signed in to change notification settings

todbot/hidpytoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIDPyToy - A simple tool to play with USB HID devices

Written in Python3 with PyQt5 and built with fbs.

Download

Pre-build executables are available on the hidpytoy releases page for:

Requirements

To install for development (until I get setup.py up):

git clone https://github.com/todbot/hidpytoy
cd hidpytoy

Windows

py -3.6 -m venv venv
.\venv\scripts\activate.ps1
pip install -r requirements.txt

Linux

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Running

Linux

fbs run

Hint: If you are running this from a non root user, run instead this command

fbspath=$(whereis fbs | cut -d ":" -f2)
sudo $fbspath run

Building

fbs freeze

UI Customisation

Requirements

  1. Install Qt Designer from https://build-system.fman.io/qt-designer-download
  2. Save .UI file and run
pyuic5 HIDToyWindow.ui -o HIDToyWindow.py

If you are working from another location

cp ~/Desktop/HIDToyWindow.ui src/main/python/ && pyuic5 src/main/python/HIDToyWindow.ui -o src/main/python/HIDToyWindow.py

Be sure to check fbs troubleshooting page