pppps2pc

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot Documentation Status mypy uv pytest Ruff Downloads Stargazers pre-commit.ci status Prettier Follow @Tatsh Mastodon Follow

Extremely simple tool to enable the ParaParaParadise PS2 controller on a PC.

Check out the Linux kernel module and the PS2 driver (IRX) decompile.

Commands

ps2para

PS2 ParaParaParadise controller tool.

Usage

ps2para [OPTIONS] COMMAND [ARGS]...

enable

Enable a PS2 ParaParaParadise controller.

Usage

ps2para enable [OPTIONS]

Options

-d, --debug

Enable debug level logging.

install-udev-rules-main

Install udev rules for the device.

Usage

ps2para install-udev-rules-main [OPTIONS]

Options

-d, --debug

Enable debug level logging.

-p, --path <path>

Path to ps2para. Not checked for validaity.

--rules-dir <rules_dir>

Path to udev rules directory.

Library

Constants.

pppps2pc.constants.ENABLE_MAGIC_BYTES

Magic bytes to enable the device.

pppps2pc.constants.KONAMI_VENDOR_ID

Konami USB vendor ID.

pppps2pc.constants.PPP_PS2_PRODUCT_ID

USB ParaParaParadise controller product ID.

pppps2pc.constants.UDEV_RULES_FILENAME

udev rules filename.

pppps2pc.constants.UDEV_RULE_LINE

udev rule line for the device.

Has placeholder %(ps2para)s for the full path to the script.

Utilities.

pppps2pc.utils.enable_ppp_controller() → None

Enable a PS2 ParaParaParadise controller.

pppps2pc.utils.generate_udev_rule(ps2para: Path | str) → str

Generate udev rule for the device.

Parameters:
ps2para : Path | str

Path to the script to run when the device is added.

Returns:

udev rule line for the device.

Return type:

str

pppps2pc.utils.install_udev_rules(ps2para: Path | str, rules_dir: str | Path | None = None) → None

Install udev rules for the device.

Parameters:
ps2para : Path | str

Path to the script to run when the device is added.

rules_dir : Path | None

Path to udev rules directory.

Indices and tables