this post was submitted on 25 Aug 2024
1 points (100.0% liked)

Steam Deck

14768 readers
10 users here now

A place to discuss and support all things Steam Deck.

Replacement for r/steamdeck_linux.

As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title

The following is a list of suggested flairs:
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.

Some more Steam Deck specific flairs:
[Boot Screen] - Custom boot screens/videos.
[Selling] - If you are selling your deck.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 3 years ago
MODERATORS
 

I am currently trying to create a hotkey, that executes a sequence of inputs, to switch my equipment efficiently.

What I need is a way to disable all other inputs, while it is executed. As well as a way to only have it executed once per button press. Independent from how long it's being held.

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 2 months ago (3 children)

Steam Input is designed in a way that does not support executing sequences of inputs. That is by intention, because many people would use this to cheat. Lot of games do not allow this kind of automation, which would lead to ban them without realization they were not allowed to do. Then Valve would get blame to support cheating from users and developers.

I learned about it when trying to do it too (but for building a menu to play offline RetroArch game emulation, not to cheat). My suggestion is to use a different software to automate this kind of input sequences.

[–] [email protected] 0 points 2 months ago (1 children)

Your information is incorrect as I have been using Steam Input for input sequences in games such as Path of Exile for many months bow. It just isn't as easy as writing in AHK, but you can do it.

[–] [email protected] 0 points 2 months ago (1 children)

What part do you refer as incorrect? My information is not incorrect. Steam does not support easy creation of input sequences, so they cannot be held responsible. It does not mean its not possible. Or do you refer to the part about some games banning for automating long input sequences? That's not false information too, because some games detect this kind of behavior as cheating, not all games, some.

[–] [email protected] 0 points 2 months ago* (last edited 2 months ago) (1 children)

Steam Input is designed in a way that does not support executing sequences of inputs.

English isn´t my first language but if I read it doesn't support it, I conclude it isn't able to do it or it isn't designed to do it.

[–] [email protected] 0 points 2 months ago (1 children)

English isn't my first language too (its third in fact). Doesn't support COULD mean several things, depending on the context. In example games never designed for Linux work through Proton. Developers may not support it, but game might work perfectly fine. In context to the Input system, not supporting here means that Valve does not help and doesn't make creating sequences of inputs easy. This at least puts Valve in a position where they can say this wasn't designed as a cheat program.

[–] [email protected] 0 points 2 months ago (1 children)

Oh, I understand what you mean now. Thank you explaining, I took your message as "No, you can't do it and it is considered cheating".

[–] [email protected] 0 points 2 months ago

I don't blame anyone for it. I should have framed my statement differently.

[–] [email protected] 0 points 2 months ago (1 children)

I think there's a way around that, I know there's a Lethal Company input scheme that will type whole computer commands for you. I need to dig that control scheme up and see how he does it.

[–] [email protected] 0 points 2 months ago (2 children)

I would like to see that too, you know, for science. Well there are methods I guess, because I could automate two keys (not sure if I did more). I was very careful with my wording before to not exclude this entirely, just saying its hard to do and Steam Input does not make it easily possible.

But thinking of that, maybe they create the configuration file with a different third party tool. The Steam Input configuration is just a regular (formatted) text file that can be edited easily. If I have to guess, then they probably used some sort of config generator instead using the Steam Input GUI.

[–] [email protected] 0 points 2 months ago (1 children)

Found it, see this reddit post here.

it's basically setting up a virtual menu where button 1 is: A -> wait 60ms S -> wait 60ms S -> wait 60ms SPACE etc etc.

Here's a link straight to the controller config: steam://controllerconfig/1966720/3142322044 You can easily open this by sending this link in a steam message, and then clicking on the link from inside game mode.

[–] [email protected] 0 points 2 months ago

Thank you for finding it. I did something similar, but only 2 keys or something like that. I know for a fact that this is not impossible to do, that's why my initial wording was very careful chosen. Its just impractical for most users to do lot of key presses with it, as it requires lot of timing and setup to do the most basic stuff. I always wondered if this pattern can be copy pasted in the file with little changes, to create long sequences in a quick way.

[–] [email protected] 0 points 2 months ago

I was able to create an input sequence using multiple actions and manually setting the activation delay on them. Tho my problem with it not ignoring other inputs, while executing the actions, still remains.

[–] [email protected] 0 points 2 months ago

Setting a toggled hold to repeat auto button is about as close as I feel I get to cheating on Steam input configurations.

[–] [email protected] 0 points 2 months ago

Maybe actiona or xdotools would work?