keymapperorg / KeyMapper

An Android app that change what the buttons do on your devices!
http://docs.keymapper.club
GNU General Public License v3.0
1.1k stars 154 forks source link

Hinge closed/open constraint for foldables #985

Open GL513 opened 2 years ago

GL513 commented 2 years ago

Developer TODO (don't remove)

Or the user could specify an angle degree. Not that i have a foldable, but i noticed other applications do support for hinge detection.

sds100 commented 2 years ago

Can they do this while running in the background though?

GL513 commented 2 years ago

Yeah, im pretty sure.

sds100 commented 2 years ago

Yeah, im pretty sure.

Do you have any examples of apps or documentation in Android developers?

GL513 commented 2 years ago

https://developer.android.com/codelabs/android-window-manager-dual-screen-foldables?authuser=1#2

https://developer.android.com/codelabs/android-window-manager-dual-screen-foldables?authuser=1#6

https://developer.android.com/reference/android/hardware/Sensor#STRING_TYPE_HINGE_ANGLE