KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Hinge closed/open constraint for foldables

Open GL513 opened this issue 3 years ago • 4 comments

Developer TODO (don't remove)

  • [ ] create new branch. put issue number at start of name
  • [ ] update documentation
  • [ ] squash and merge
  • [ ] delete branch

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

GL513 avatar May 01 '22 13:05 GL513

Can they do this while running in the background though?

sds100 avatar May 01 '22 17:05 sds100

Yeah, im pretty sure.

GL513 avatar May 01 '22 21:05 GL513

Yeah, im pretty sure.

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

sds100 avatar May 02 '22 10:05 sds100

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

GL513 avatar May 02 '22 13:05 GL513