Controller Input Support

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Controller Input Support

Postby Xech » Mon Sep 12, 2022 4:56 am

Edit: Added a community controller layout for the Steam Deck, "Haven and Hearth - Steam Deck 1.0". Intended for default mappings on the Ender client with "bad" camera. Try it, hate it, and fix it, but I think it's dandy for basic choring. Wouldn't trust it for combat just yet, but camera on the right stick works surprisingly well!

PXL_20220914_081923810_2 (1).jpg

Having seen other popular Java games with controller input, and how other games with similar perspectives accomplish smooth gameplay, I wanted to bump the love for the old twin sticks.

Even if response time isn't instant due to limitations of the input system (evident from the 9-page result when searching "controller"), I think it'd still be quite playable and worth it. The nested icons in the lower-right corner, along with radial flyout context menus, both strongly lean into controller vibes already.

The attached image was mostly in the spirit of possibility - H&H performs great, but it's nigh unplayable on the Steam Deck given the givens.

Thanks! :)

PSX_20220911_215249 (1).jpg
You do not have the required permissions to view the files attached to this post.
Last edited by Xech on Wed Sep 14, 2022 9:33 am, edited 3 times in total.
Xech
 
Posts: 4
Joined: Thu Aug 18, 2022 3:42 am

Re: Controller Input Support

Postby displaced » Mon Sep 12, 2022 6:51 am

What java version did you use to get it running?
I only tried 5 minutes and got bored because of the strange errors it would throw at me lol.
displaced
 
Posts: 123
Joined: Wed Feb 12, 2014 12:09 am

Re: Controller Input Support

Postby Xech » Mon Sep 12, 2022 3:01 pm

displaced wrote:What java version did you use to get it running?
I only tried 5 minutes and got bored because of the strange errors it would throw at me lol.


This is using OpenJDK 17. There are a few considerations to account for with the Steam Deck specifically, such as writeability, package management tokens, and pacman.
Xech
 
Posts: 4
Joined: Thu Aug 18, 2022 3:42 am

Re: Controller Input Support

Postby The_Blode » Mon Sep 12, 2022 3:05 pm

It would take a *TON* of work, but I feel if project zomboid can do gamepad, it's well within Hafen's limitations.

I certainly wouldn't ever use it unless, of course, i found myself with a steam deck
User avatar
The_Blode
 
Posts: 564
Joined: Sat Oct 08, 2011 7:51 am
Location: Location: Location

Re: Controller Input Support

Postby displaced » Mon Sep 12, 2022 10:25 pm

Xech wrote:
displaced wrote:What java version did you use to get it running?
I only tried 5 minutes and got bored because of the strange errors it would throw at me lol.


This is using OpenJDK 17. There are a few considerations to account for with the Steam Deck specifically, such as writeability, package management tokens, and pacman.


Ah.. I don't wanted to to the whole pacman route.
Do you know why it doesn't work plug and play like on windows? Maybe the archbuild of steamos? It's kinda annoying...
displaced
 
Posts: 123
Joined: Wed Feb 12, 2014 12:09 am

Re: Controller Input Support

Postby waga » Mon Sep 12, 2022 11:42 pm

Heal your wounds.
waga
 
Posts: 620
Joined: Fri Apr 20, 2012 10:07 pm

Re: Controller Input Support

Postby Xech » Wed Sep 14, 2022 9:28 am

Healed. New ones earned. Also, added a layout for the Steam Deck that seems to work decently well! Updated the main post.
Xech
 
Posts: 4
Joined: Thu Aug 18, 2022 3:42 am

Re: Controller Input Support

Postby Alu » Fri Mar 03, 2023 6:46 pm

Xech wrote:Healed. New ones earned. Also, added a layout for the Steam Deck that seems to work decently well! Updated the main post.

Cant find your layout, did you call the whole game like this in your library?

btw, the very very simple way to get it running on steam deck:
just install Lutris from the steam deck app store and then get haven from here: https://lutris.net/games/haven-hearth/. done.
If you're lazy as I am, tell it to create a desktop shortcut, which you then can add as a 3rd party app through steam (add it using the steam shortcut from the desktop). when thats done you can simply launch it from the gaming mode.
Alu
 
Posts: 7
Joined: Sun Oct 04, 2015 12:07 pm


Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot], Majestic-12 [Bot], Semrush [Bot], rfxDarth and 16 guests