I got this working after a bit of fiddling. I suspect it won't work for other GUI's but it works on Probe Basic.
I don't know how to submit a pull request (assuming that's a request for adding functions/bug-fixes to LCNC?), but one should probably still be submitted so this function is available for all GUI's. Having a physical override reset button is super-handy.
QtPyVCP creates pin qtpyvcp.feed-override.reset which is visible in halshow. Triggering that pin will set halui.feed-override.value to 1. We can test this in halshow by setting the pin TRUE after twiddling the slider a bit. Slider will reset to 100% and pin value will change to 1. Yay!
The trick is that the qtpyvcp pin isn't created until after Probe Basic loads, so we need to connect to the pin in the postgui hal file.
Step 1 - add encoder to main HAL file. Some of this may have been done in pncconf already.
#---Set override initial state
setp halui.feed-override.direct-value false
setp halui.feed-override.scale .01 (edit for encoder sensitivity, 0.01 = 1% per encoder click)
setp halui.feed-override.count-enable true
#---Connect pins to signals
net fo-count <= [HMOT](CARD0).7i73.0.1.enc0.count
net fo-count => halui.feed-override.counts
#--Add encoder pushbutton switch
net fo-reset <= [HMOT](CARD0).7i73.0.1.input-14
Step 2 - connect reset function to Probe Basic screen action pin in custom_postgui.hal file
net fo-reset => qtpyvcp.feed-override.reset
Step 3 - ensure INI file calls up the post GUI file
[HAL]
HALUI = halui
HALFILE = yourmachinehere.hal
POSTGUI_HALFILE = custom_postgui.hal
...
NOTE 1 - works for feed, spindle, rapid, and max velocity overrides.
NOTE 2 - Maybe not obvious to beginners, but you'll have to change the input pins above to match your particular setup
Hope this helps. Feel free to edit the thread title if it fails or is inappropriate.
-Ralph