• Profile picture of JackFly

    JackFlyhalloween-2018-winnerstick-idol-winnerchristmas-2022-winnerhalloween-2021-winneryou-triedhalloween-2020-winneruc-voteruc-winner-lvl3crusaderfeatured-lvl3occifermaster-nodersubscriber 2019-09-23 12:19:35 UTC

    @ralph question
    Does Apple let you use the volume buttons as part of the controllers to make a game? Let’s say it doesn’t rise or lower the volume anymore, there will be a way to manage volume in a menu or stuff instead

    1
    • I don’t think apple would allow these types of stuff.

      2019-09-23 12:39:46 UTC 1
    • hm

      I’m not 100% sure on that

      I do believe you can catch the event and then once you do that you can do whatever you want

      aka in the code

      if (volume_button_up)
      // jump or whatever

      but idk if you can prevent the button from also doing its default behavior of manipulating the volume, so the volume will still go up/down

      2019-09-23 17:58:30 UTC 0