|
Scott, >Every time you hit Ctrl-V, it does a field exit, followed by a paste... >that's pretty annoying :) So I changed it to be Shift-Insert. Can't you tell the difference between the left and right Ctrl? Would the left Ctrl plus V do an error reset followed by a paste? That should be less annoying. Seems to me the solution is to detect the difference between a press and release of Ctrl with no modifiers, vs getting other key down/up scan codes while Ctrl is depressed. IOW, for the Ctrl key, don't act on the key down event. Set a flag and don't act until the key up event. Then only perform the assigned "Ctrl" action when no other key events have occured in the interim. That may have the side effect of not allowing key repeats for Ctrl, but I can live without repeating Error Resets. :) While repeating Field Exits have more potential, IMHO, I'd gladly trade that for the ability to define an action for the key when used alone, which does not occur when used as a modifier to other keys. Doug
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.