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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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. **
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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 thecase
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 theswitch (key.UnicodeChar)
block, since that's where standard alphabetic keypresses are processed. You'd need to changecase SCAN_UP
tocase 'w'
orcase '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
orenable_touch
, respectively, inrefind.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.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. **