TheDeadSnake / LC-Touchscreen

A LethalCompany monitor mod
0 stars 0 forks source link

Gamepad issues #30

Closed notfatchicks44 closed 1 month ago

notfatchicks44 commented 1 month ago

Hello! Mod works great but unfortunately, I cannot to seem to get the screen to work with gamepad or with users on the steam deck, the buttons appear as question marks, is it possible to get it working for both keyboard users and gamepad users in the same lobby? if so how would I format the keybinds in the config? Thanks!

TheDeadSnake commented 1 month ago

The mod is completely client-side, so it does not matter if you are in a online lobby or play offline.

If you want to use a Controller you'll need to either: 1) Edit the config file

Lastly the keybindings should only be question marks if the entered binding is invalid.

*) The config "me.pm.TheDeadSnake.cfg" is located inside your "BepInEx/config/" folder.

If you think you did everything and it still does not work, please post the relevant config sections and if possible console output of the mods startup and I will mark this issue as a bug and try to look into it.

notfatchicks44 commented 1 month ago

Hello! I appreciate the fast reply! I do apologize in advance as I am new to modding, it seems with the InputUtils i can correctly configure the "x" button to interact and the "right trigger" to flash, how would i go about correctly setting that up manually in the config? i can see how to type them but i cant seem to get the buttons formatted correctly/get the name of the buttons right, would appreciate it very much as my friends play on steam deck and its hard for them to manually edit the configs, thanks!

TheDeadSnake commented 1 month ago

If you want to edit the file manually, you'll first need to locate it in the above mentioned location. Then: 1) Search under [Layout] for the relevant sections for the "Primary" and "Secondary" keybinds (Roughly at line 28 and 36) 2) As the keybinds are generalized (XBox, PS, Steam Deck, ...) by Unity you can not use e.g. "\<GamePad>/X". Instead you can use:

The keybinding you most likely want would be:

notfatchicks44 commented 1 month ago

Thank you! Worked like a charm :)