Skip to main content

Python library for Qingpi.

Project description

qingpi-python

Python library for Qingpi.

$ pip install qingpi-python

qingpictl

GUI application to control Qingpi with transparent Window and Citra compatible keyboard operation.

Currently, only Windows version is available.

Run

$ qingpictl [port]

or

$ python -m qingpi [port]

or using pre-built binary

> qingpictl.exe [port]

You may create batch file like this if you don't want to specify the port from the command line every time.

START qingpictl.exe COM6

Input mapping

Button

Control Input
A A
B S
X Z
Y X
L Q
R W
ZL 1
ZR 2
START M
SELECT N
HOME B
POWER V
WIRELESS P

Hat

Control Input
UP T
RIGHT H
DOWN G
LEFT F

SlidePad

Control Input
UP <Up>
RIGHT <Right>
DOWN <Down>
LEFT <Left>

Circle Pad Pro (not implemented)

Control Input
UP I
RIGHT L
DOWN K
LEFT J

Hotkeys

Control Input
Expand window +
Shrink window -

Developer note

$ poetry run python -m qingpi [port] --debug

The build script requires PyInstaller and ImageMagick.

$ poetry run python -m pip install pyinstaller
$ make

PyInstaller is not included in the dev group because PyInstaller has a narrower Python version specification than necessary (e.g. v6.3.0 requires "<3.13,>=3.8"), which affects version reqirements of qingpi-python.

To avoid security issues,

$ poetry run python -m pip uninstall pyinstaller
$ git clone https://github.com/pyinstaller/pyinstaller --depth 1
$ cd .\pyinstaller\bootloader\
$ py .\waf distclean all
$ cd ..\..\
$ poetry run python -m pip install .\pyinstaller\

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qingpi_python-0.1.10.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qingpi_python-0.1.10-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

File details

Details for the file qingpi_python-0.1.10.tar.gz.

File metadata

  • Download URL: qingpi_python-0.1.10.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.12.0 Windows/11

File hashes

Hashes for qingpi_python-0.1.10.tar.gz
Algorithm Hash digest
SHA256 8d7c7a26c0d9a230445a2341ab9ab5aab2257727dbc16db0b9d04fda792bd51c
MD5 f8b004d5b43f9cddf803bd6092a3a6eb
BLAKE2b-256 0f284fb8e42265cb537a7993ea3ca4121aa7a57c1667f054afa9c04d7137a25c

See more details on using hashes here.

File details

Details for the file qingpi_python-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: qingpi_python-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 43.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.12.0 Windows/11

File hashes

Hashes for qingpi_python-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 413c14e512e2be9aa8e9aefad1a1949d7a6557a61d4681ecd71f21ecb748c45f
MD5 3c6759e8410132e7dc64a40142d844de
BLAKE2b-256 025daa28642c240bb6102c3bc0c4a3cde4c2006fde23a430309092bc6f11006d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page