This issue stemmed from a comment in #10703
As a follow up, do the same for the rest of the constants in control types, and ensure that all of NVDA uses the enum versions and officially deprecate (and give a date of removal for) the module level constants.
While doing this, add a deprecation comment to SpeechReason constants also.
Originally posted by @feerrenrut in #10703
This issue stemmed from a comment in #10703
As a follow up, do the same for the rest of the constants in control types, and ensure that all of NVDA uses the enum versions and officially deprecate (and give a date of removal for) the module level constants.
While doing this, add a deprecation comment to SpeechReason constants also.
Originally posted by @feerrenrut in #10703