Skip to content

simple "analog stick mode" for stickzones? #26

Description

@ryan-ronnander

I recently compiled from git yesterday and I was baffled at first by the default stickzone mappings. No offense, but the default mappings render the analog stick useless for most gaming scenarios. At least how I would use the analog stick...

I myself use the analog stick as a replacement for arrow keys on the keyboard. This makes it essential to have overlapping simple zones for diagonal camera movement, etc.

How would I go about doing that or is there a profile already buried in the source files?

I have the following section for binding that kind of works, but I feel it could be improved a bit as I'm confused by the decimal numbers and grid map.

# Stick Mappings
# --------------
# configure normal keyboard overlap

# Remove page up / down default stick zones
stickzone del STICK_PAGEDOWN
stickzone del STICK_PAGEUP

stickzone bounds STICK_LEFT   0.0 0.0 0.2 1.0   SEND KEYS: LEFT
stickzone bounds STICK_RIGHT   0.8 0.0 1.0 1.0   SEND KEYS: RIGHT

stickzone bounds STICK_UP  0.1 0.0 1.0 0.2   SEND KEYS: UP
stickzone bounds STICK_DOWN   0.1 0.8 1.0 1.0   SEND KEYS: DOWN


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions