Menu

Select boot OS without using the arrow keys

John Smith
2019-04-19
2019-04-20
  • John Smith

    John Smith - 2019-04-19

    I installed refind on a mac laptop but all my arrow keys are broken (dont ask) How can I re-map them to wasd or something else to be able to select things on the menu!

     
  • Roderick W. Smith

    I'm afraid that the only way to do this at the moment is to edit the source code and recompile. Specifically, check refind/menu.c, lines 538-547. You'll need to change the case statements to substitute (or better, add) the definitions you want. (In fact, it might be preferable to duplicate those lines to a bit below, in the switch (key.UnicodeChar) block, since that's where standard alphabetic keypresses are processed. You'd need to change case SCAN_UP to case 'w' or case 'W' (I'm not sure offhand if uppercase or lowercase is returned) to have it respond to a "W" keypress to move up, for instance.) Note that I've not tested such changes, so you may need to experiment a bit.

    Alternatively, and likely easier, you could try activating mouse or touch support, via enable_mouse or enable_touch, respectively, in refind.conf. Not all computers' EFIs support mice, and fewer support touch; but if yours supports either, you should be able to control rEFInd pretty well this way, rather than rely exclusively on the keyboard. I don't recall offhand if Macs' EFIs typically support mice or touch. I expect that older ones don't, but newer ones might.

     
    • John Smith

      John Smith - 2019-04-20

      Unfortunately neither mouse or touch works. Im guessing touch is useless for to me since I dont have a touchscreen computer? Anyways, my trackpad and mouse doesnt work when enable_mouse is turned on. **The pointer shows up in the middle of the screen but if I move the mouse it disapears. **

       

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.