You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking how to get the mac backspace/delete combo where if you hold shift you get delete instead of backspace. I followed the code down to where the keys are defined by hex ids but dont see how I could make my own custom one. Looks like _kbfun_press_release does some bit shifting on a global var to register the modifier so maybe my only luck is to create a function that checks if shift is pressed when pressing backspace and replace with a delete?
The text was updated successfully, but these errors were encountered:
If you're still interested, and you haven't already figured it out. Yup, that sounds like a good way. Alternately, you could change the shift key to set another flag somewhere, if checking the shift turns out to be hard (though, i think there might be a function for checking with a key is pressed or not). Alternately again, you could make shift also do a (mostly transparent) layer shift as well as setting the shift modifier bit. Just off the top of my head. I think your first idea is probably the simplest/best :-)
Looking how to get the mac backspace/delete combo where if you hold shift you get delete instead of backspace. I followed the code down to where the keys are defined by hex ids but dont see how I could make my own custom one. Looks like
_kbfun_press_release
does some bit shifting on a global var to register the modifier so maybe my only luck is to create a function that checks if shift is pressed when pressing backspace and replace with a delete?The text was updated successfully, but these errors were encountered: