Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PoE2] Is controller supported? #507

Open
AnnanFay opened this issue Jan 26, 2025 · 5 comments
Open

[PoE2] Is controller supported? #507

AnnanFay opened this issue Jan 26, 2025 · 5 comments

Comments

@AnnanFay
Copy link

I'm trying to get item info popup working on PoE 2 when using the controller UI, but does not seem to work. It's not listed under features, so assume it's completely broken?

Tried:

  • [default] middle mouse
  • "replace m-mouse with" set to P, 0, Numpad0

Related #231 is for PoE1, but seems to suggest some part was working.

Environment: Windows 10, XBox controller, Steam version of PoE2.

@Lailloken
Copy link
Owner

I can look into it again. Personally, I'd like the omni-key to be rebindable to controller-input, but last time I tried that AutoHotkey started acting up (the script was generating higher CPU-load and lost responsiveness for no apparent reason). I didn't like a hypothetical hybrid approach of playing with a controller and having to use mouse/kb for the tool, so I didn't look any further into it.

@AnnanFay
Copy link
Author

Not sure how it is on other systems, but it seems easy to remap controller keys to keyboard keys over steam - maybe that is an avenue to get it working. Even if not possible, having just the keyboard keys work would be useful.

Image

@Lailloken
Copy link
Owner

Some observations from initial testing:

  • I can make the omni-key work by disabling the inventory screen-check in controller-mode (mainly because I don't really feel like setting up and verifying an alternative inventory-check for 8 resolutions)

  • overlays activated by the omni-key appear next to the mouse-cursor, and it doesn't follow the "controller-cursor," so one would have to manually position the mouse-cursor somewhere and don't move it, and/or remember to put it back there every time it is used

You can do some testing by recalibrating the inventory-check on the "character screen," where you access the inventory, skilltree, etc. This should make the omni-key work again, but only on that specific screen and not while interacting with vendors or the stash (the inventory-check scans three pixels in the top-right corner of the client-window). Please let me know if anything else (usability-wise) would need to be altered in controller-mode.

@AnnanFay
Copy link
Author

AnnanFay commented Feb 5, 2025

Inventory recalibration worked.

manually position the mouse-cursor somewhere and don't move it

It would be good to have a configuration place, can manually specify X=700, Y=400 or whatever.

I generally keep my mouse on my second monitor to use the browser. It also tends to disappear-reapear at distracting moments if I keep it over the game window.

@Lailloken
Copy link
Owner

Lailloken commented Feb 5, 2025

I have opened a dev branch with some minor changes:

  • the "general" section of the settings menu now shows if the client is running in controller-mode (it should detect changes on-the-fly, without having to restart the tool):
    Image

  • in controller-mode, the tool no longer performs the inventory-check when pressing the omni-key

  • the item-info tooltip and omni-key context-menu are "anchored" to the left edge of the inventory in controller-mode:
    Image

    • they're currently offset by height/2, let me know if that behavior (or the positioning in general) should be tweaked

Feel free to download the branch and copy it over your current install. I am open to enabling additional features in controller-mode, on a case-by-case basis, so let me know if you run into anything that doesn't currently work.
EDIT: these changes are now live in v1.56.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants