Metadata-Version: 2.1
Name: ps2joycln
Version: 0.0.1
Summary: A client to convert UDP packets from a PS2 console into keyboard events
Author-email: Adler Neves <adlerosn@gmail.com>
Project-URL: Homepage, https://github.com/adlerosn/ps2joycln
Project-URL: Bug Tracker, https://github.com/adlerosn/ps2joycln/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# PS2 Joy Client

Use PlayStation 2 input accessories that cheap "PS2 to USB" dongles don't recognize by dumping gamepad input into UDP packets.

This relies on a [server](https://github.com/adlerosn/ps2joysrv) to be running in your PS2 console.

## Dependencies

- [keyboard>=0.13.5](https://pypi.org/project/keyboard/)

## Running

On Linux: #`python3 -m ps2joycln` (yes, as root (unfortunately))

On Windows: >`python -m ps2joycln`

## Configuration

It defaults the locating of the configuration file to `~/.config/ps2joycln.ini` (or `%USERPROFILE%\.config\ps2joycln.ini`), on port `1469`, creating if not exists.

The `-c` CLI switch allows to specify another place, which can be used as profiles.

The configuration does not hot-reload. Close the application (`Ctrl+C` or whatever) and reopen to apply changes.

On Linux, it requires running as root.

### osu!mania 4k with dance mat

I personally use the snippet below with [DDR skin](https://osu.ppy.sh/community/forums/topics/845193):

```
[pad2]
dir_up=j
dir_dw=f
dir_lf=d
dir_rg=k
```

Reminder: osu!mania 4k is meant to be played with keyboard. It might be an exhausting experience.
