Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bridge.m/h to make plyer works with severals implementation #789

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

tito
Copy link
Member

@tito tito commented Mar 30, 2023

  • startDeviceMotionWithReferenceFrame() is used for compass
  • startDeviceMotion() is used in gravity, gyroscope, spatialorientation
  • startRelativeAltitude() is used in barometer

Closes kivy/plyer#734
Closes kivy/pyobjus#88

Sources: https://github.com/kivy/pyobjus/tree/master/objc_classes/aux

- startDeviceMotionWithReferenceFrame() is used for compass
- startDeviceMotion() is used in gravity, gyroscope, spatialorientation
- startRelativeAltitude() is used in barometer

Closes kivy/plyer#734

(note: i don't know anymore where is the original bridge.h/m. This is
the one i take from one project to another... i don't know how others
do without it.)
@tito tito merged commit 72846f2 into master Mar 30, 2023
@tito tito deleted the fixes-bridge branch March 31, 2023 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants