UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [Request] Control media (music) and torch using hardware buttons

    Scheduled Pinned Locked Moved OS
    buttonstorchhardwarerequestmusic
    1 Posts 1 Posters 319 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • B Offline
        BigB
        last edited by BigB

        Introduction

        Hi,
        I really like listening to music. Before I Ubuntu Touch I have been using LineageOS. I know it disadvantages that's why I'm here 🙂
        However there is one feature, that I really liked. It was controlling media (music) by holding buttons.
        When You hold vol+ button you skip song, when you hold vol- button you start current song again and if you do it once again, you go back to previous song.
        Second thing was quick on/off torch. When you hold power button for 2 seconds with screen off, you can quickly enable and disable torch.

        Question

        Is it possible to control media (especially music) by hardware buttons in Ubuntu Touch?
        Same question with torch.

        Solution

        here will be the solution
        

        Important:

        here will be important information like limitations etc.
        

        First Post changelog

        • 2020.17.08 - topic creation
        1 Reply Last reply Reply Quote 0
        • First post
          Last post