Talk:Gamepad UI in mods: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "This guide is really good. If only Valve gave us the gamepad support code so mods with custom binaries could use it though. --~~~~")
 
(discussing the possibility of new UI + controller support for mods)
Line 1: Line 1:
This guide is really good. If only Valve gave us the gamepad support code so mods with custom binaries could use it though. --[[User:Mandrew|Mandrew]] ([[User talk:Mandrew|talk]]) 15:26, 10 June 2022 (PDT)
This guide is really good. If only Valve gave us the gamepad support code so mods with custom binaries could use it though. --[[User:Mandrew|Mandrew]] ([[User talk:Mandrew|talk]]) 15:26, 10 June 2022 (PDT)
<br><hr><br>
<h2>So, did anyone figure out how to actually make it work on (e.g. Steam-) Controller?</h2>
I tried a few things that didn't work:<br>
- ❌ `sc_force_action_manifest hl2` -  doesn't seem to work.<br>
- ❌ `sc_enable 1` - doens't do anything (is 1 by default)<br>
- ❌ `sc_controller_mode 1` - doesn't do anything (is 0 by default)<br>
- ❌ all of the above in `autoexec.cfg` doesn't work<br>
- ❌ copy `steam_input/action_manifest_hl2.vdf` and editing it to be *<modname>*-specific instead of *HL2*-specific, then `sc_force_action_manifest <modname>` (still tries to load from Half-Life 2 folder, not relative mod folder - and even if you copy *<modname>*-specific files there, I couldn't get it to work.<br>
Ideas appreciated! --[[User:Raybe|Tea]] ([[User talk:Raybe|talk]])

Revision as of 14:50, 11 July 2022

This guide is really good. If only Valve gave us the gamepad support code so mods with custom binaries could use it though. --Mandrew (talk) 15:26, 10 June 2022 (PDT)




So, did anyone figure out how to actually make it work on (e.g. Steam-) Controller?

I tried a few things that didn't work:
- ❌ `sc_force_action_manifest hl2` - doesn't seem to work.
- ❌ `sc_enable 1` - doens't do anything (is 1 by default)
- ❌ `sc_controller_mode 1` - doesn't do anything (is 0 by default)
- ❌ all of the above in `autoexec.cfg` doesn't work
- ❌ copy `steam_input/action_manifest_hl2.vdf` and editing it to be *<modname>*-specific instead of *HL2*-specific, then `sc_force_action_manifest <modname>` (still tries to load from Half-Life 2 folder, not relative mod folder - and even if you copy *<modname>*-specific files there, I couldn't get it to work.
Ideas appreciated! --Tea (talk)