Skip to content

Ability to auto disable prox sensor on startup #90

@Bluscream

Description

@Bluscream

I have once had to replace my usb-c port on my quest, and accidentally broke the ribbon cable of the proximity sensor while doing so, ever since that i need my prox sensor to be disabled on startup otherwise the screen stays blank (yeah, even when manually turning the screen on. idk why but it is like it is).

I used Automagic to do this before;

  <flow type="flow">
    <name>quest disable proximity sensor</name>
    <group>Quest VR</group>
    <enabled>true</enabled>
    <lastExecutionStartTime>1681516572533</lastExecutionStartTime>
    <lastExecutionEndTime>1681516572537</lastExecutionEndTime>
    <executionPolicy>SKIP</executionPolicy>
    <emergencyStopCount>999</emergencyStopCount>
    <triggercontainer id="t1" x="70.0" y="52.5">
      <trigger>Automagic Startup</trigger>
      <trigger>App Task Started: com.oculus.vrshell,com.oculus.vrshell.home,com.bos.vrLauncher</trigger>
      <trigger>Display State: On</trigger>
    </triggercontainer>
    <actioncontainer id="t2" x="69.999985" y="262.5">Send Broadcast: com.oculus.vrpowermanager.prox_close </actioncontainer>
    <connection from="t1" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
  </flow>
  <action type="send_broadcast">
    <useDefaultName>true</useDefaultName>
    <name>Send Broadcast: com.oculus.vrpowermanager.prox_close </name>
    <intentAction>com.oculus.vrpowermanager.prox_close</intentAction>
    <categoryListEnabled>false</categoryListEnabled>
    <categoryList>android.intent.category.DEFAULT</categoryList>
    <dataEnabled>false</dataEnabled>
    <data></data>
    <dataTypeEnabled>false</dataTypeEnabled>
    <dataType>text/plain</dataType>
    <explicitComponent>false</explicitComponent>
    <packageName></packageName>
    <className></className>
    <flagList>FLAG_ACTIVITY_NEW_TASK</flagList>
    <extras></extras>
    <waitForResult>false</waitForResult>
    <accessResultExtras></accessResultExtras>
  </action>

but Automagic does not work anymore since Android 12 and these fucking stupid permission restrictions. Can you make it part of either oculess or vrLauncher or perhaps a new app like idk vrTweaks or smth.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions