Skip to content

Trigger for foldable hinge #2336

Backlog
Backlog

Description

@correii

Have you checked if an issue already exists for this feature request?

  • Nobody else has requested this feature before

What feature would you like added?

I think it would be useful if fold / unfold could be used as a trigger.

When I have my phone folded, I always have auto rotate off. But when unfolded, the screen is wider turned sideways. This means either having to press the manual rotate button every time I change orientation, or toggling auto rotate from quick settings every time I fold/unfold the device. So being able to automatically enable auto rotate when unfolding, and disable it when folding, would eliminate that annoyance which would be incredibly nice. I don't believe there's currently any way to automate actions based on fold state.

I'm not sure how the hardware communicates the fold state to the system, like if it would be considered a "key/button" press/switch toggle or whatever. But since the system is aware of the fold state somehow, it should be possible to read that value, right?

App version

4.7.1

Device model and manufacturer

OPPO Find N6

Extra info

  • My device is rooted

Activity

  1. added
    enhancement
    on Nov 25, 2026
  2. sds100 commented on Nov 26, 2026

    @sds100
    Collaborator

    @jambl3r I'm not sure about this, on the spectrum of being a button vs generic automation, this could be classed as a button. It is trivial to implement, I already have the code to observe the fold state for constraints.

  3. jambl3r commented on Nov 26, 2026

    @jambl3r
    Collaborator

    Yeah I agree it's out of scope. Would be weird to record as a trigger too as your display obviously changes between recording the fold/unfold trigger.

  4. sds100 commented on Nov 26, 2026

    @sds100
    Collaborator

    it wouldn't be recorded, we'd add a button in the discover screen, just like fingerprint gestures, assistant trigger etc. My argument against is that I don't see much obvious utility for this, but we shouldn't underestimate what people can do with Key Mapper lol.

    Edit: fingerprint gestures are pretty much non existent in the last 5 years, so maybe we need a fun feature for the modern foldables

  5. sds100 commented on Nov 29, 2026

    @sds100
    Collaborator

    We will do this. Have one "Fold" trigger, that gives two options to trigger it on fold or unfold. Rename "On device buttons" header to "On-device triggers".

  6. changed the title [-]Possibly use fold / unfold as a trigger on foldable devices?[/-] [+]Trigger for foldable hinge[/+] on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementneeds triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions