Skip to main content

Configuration tool for GPD Win devices

Project description

Linux version of GPD WinControls for GPD Win Mini and GPD Win 4

A full replacement for WinControls, including features not exposed in the official app.

Shoulder buttons can be reassigned, and mouse clicks can be put anywhere. Start, Select and Menu buttons can be configured.

Delay between macro keystrokes can be changed arbitrarily, and the fixed 300ms delay after the end of the macro can be changed.

Many more keys can be assigned to buttons, not just ones you can already press.

Usage:

usage: gpdconfig [-h] [-s FILE] [-d FILE] [-r] [-v] [-c] [-f FIELD] [-k] [config ...]

Configures the mouse-mode controls on GPD Win devices. Replaces the official GPD WinControls app.

positional arguments:
  config                field=value, set a button or config field to the given value.

options:
  -h, --help            show this help message and exit
  -s FILE, --set FILE   Read config from FILE
  -d FILE, --dump FILE  Dump config to FILE
  -r, --reset           Reset to defaults
  -v, --verbose         Output current config to stdout

Informational options:
  -c, --fields          List available fields
  -f FIELD, --field-help FIELD
                        Help for a specific field
  -k, --keys            List available keycodes

One or all settings can be changed on the command line (e.g. gpdconfig ledmode=solid colour=FFFFFF) or from an input file.

The following fields take keycodes (use '-k' to get a list of all valid keycodes, including mouse buttons): 'lu', 'ld', 'll', 'lr', 'du', 'dd', 'dl', 'dr', 'a', 'b', 'x', 'y', 'l1', 'r1', 'l2', 'r2', 'l3', 'r3', 'start', 'select', 'menu', 'l41', 'l42', 'l43', 'l44', 'r41', 'r42', 'r43', 'r44'

The following fields take numbers: 'ldead', 'lcent', 'rdead', 'rcent', 'l4delay1', 'l4delay2', 'l4delay3', 'l4delay4', 'r4delay1', 'r4delay2', 'r4delay3', 'r4delay4'

The following fields take other values: 'rumble' (0,1,2) , 'ledmode' (off,solid,breathe,rotate), 'colour' (RRGGBB in hex)

Have fun!

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

gpdconfig-1.0.3.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

gpdconfig-1.0.3-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

Details for the file gpdconfig-1.0.3.tar.gz.

File metadata

  • Download URL: gpdconfig-1.0.3.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for gpdconfig-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ef574499a52c38c0570ed483f9d0d5e2c6d1e5116f0ea433c614aef64b5f5fb8
MD5 51f5a091278da4e441e3026e6e003560
BLAKE2b-256 0987f6d39b45a80b0e91540ed6ee7329ea30d7f799b919e2150fe7c49519b613

See more details on using hashes here.

File details

Details for the file gpdconfig-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: gpdconfig-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 33.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for gpdconfig-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea08e3270eda698eeec83d77653ddde2091209a50a28af2ca91987499082dedb
MD5 a3b4c028ed8e83eb9de847d9a2d66246
BLAKE2b-256 07469cc609547f98c83a5e38cd054f1711c47664181bfc3628e01b18e273f3fb

See more details on using hashes here.

Supported by

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