Menu

Remap hardware buttons on tablet? And jagged edges on icons

Mr. Boosh
2015-02-12
2015-05-31
  • Mr. Boosh

    Mr. Boosh - 2015-02-12

    Is there a way to remap the volume buttons on my tablet to select horizontally vs vertically? I can hit the rotation lock button which pulls up a virtual keyboard which I can then (with the touchscreen which is weird) select the OS using the corresponding number.

    Also, I'm trying to make a custom Android icon for my dual boot Windows/Android-x86. No matter what I do, save straight from vector image in illustrator or try to smooth out the edges in photoshop, the rounded parts are extremely jagged. Made sure the sizing is correct so I'm kinda stumped.

    Thanks

     
  • Roderick W. Smith

    rEFInd's keyboard handling is currently hard-coded and rather inflexible. If you want to modify the source code, you should look at the RunGenericMenu() function in menu.c. I do want to make rEFInd more usable on tablets, but I haven't yet gotten around to tackling that problem.

    As to icons, I'm afraid I'm not an expert on that, although I can say that rEFInd uses 128x128 PNG or ICNS files for OS icons, so you should export to that size. If you output to another size, rEFInd will try to resize the icons, and the result may be suboptimal, especially if the original size is smaller than 128x128.

     
    • Mr. Boosh

      Mr. Boosh - 2015-05-25

      Thanks for the reply Rod. By the way, icons were fixed with different Photoshop settings.

      I am unfamiliar with coding but have no problem researching this stuff myself. I switched to a different hybrid (ThinkPad Helix ivy bridge), and no hardware buttons on the tablet do anything in rEFInd, so I'm starting from scratch with this one.

      Can you point me in a direction regarding remapping using menu.c? Don't need you to hold my hand, but I don't know exactly where to start.

      Thanks

       

      Last edit: Mr. Boosh 2015-05-26
  • Roderick W. Smith

    As I said, key mappings are handled in the RunGenericMenu() function in menu.c. In particular, there are two switch() statements toward the end of that function that handle the key mappings.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.