Skip to content

Add toggle flag to combo button#12623

Merged
hrydgard merged 1 commit intohrydgard:masterfrom
iota97:sticky-combo
Mar 1, 2020
Merged

Add toggle flag to combo button#12623
hrydgard merged 1 commit intohrydgard:masterfrom
iota97:sticky-combo

Conversation

@iota97
Copy link
Copy Markdown
Contributor

@iota97 iota97 commented Feb 12, 2020

Add toggle mode to combo button (the combo button it self will not be hold in down animation, as it would make little sense as other input can override the held and there might be multiple button in the combo).

Should help use cases as #10159 a bit.

EDIT: it swap button separately if one is pressed and the other not when is activated, i dunno what should be the expected behaviour with multiple key toggle tho' (remember the last status and change them all? Loop to check if all have been released by other input before?).

@hrydgard
Copy link
Copy Markdown
Owner

Hm, are you happy with this as-is? Can't quite tell from the description.

@hrydgard hrydgard added the Input/Controller Input and controller issues label Feb 29, 2020
@hrydgard hrydgard added this to the v1.10.0 milestone Feb 29, 2020
@iota97
Copy link
Copy Markdown
Contributor Author

iota97 commented Feb 29, 2020

Yeah, I think even if it can be a bit weird with multiple button other solution will end up more confusing/complex with a single one (and i think one button toggle it's a more common use case than multiple ones).

If you want to check how it is now the apk mentioned here have it: #12486 (comment)

@hrydgard hrydgard merged commit b1e83df into hrydgard:master Mar 1, 2020
@iota97 iota97 deleted the sticky-combo branch March 1, 2020 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Input/Controller Input and controller issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants