Skip to content

Releases: NSTechBytes/KeyCodeInfo

v1.1

22 Mar 10:57

Choose a tag to compare

  • Feature Addition: OnReleaseKeyAction

    • Introduced a new parameter, OnReleaseKeyAction, read from the Rainmeter skin.
    • Added a new field onReleaseKeyAction in the Measure class to store the command.
    • Implemented logic in the keyboard hook callback to trigger the action on key release:
      • In combination mode (showCodeMode == 4), the action fires only when all keys are released.
      • In other modes, the action fires on a key-up event, ensuring it is executed only once per key press cycle via a releaseActionTriggered flag.
  • Modification: Handling HideForce in Combination Mode

    • Added a static variable lastCombo to store the last valid key combination.
    • Modified the GetString method to return the stored combination when no keys are pressed and HideForce is disabled.
  • Bug Fixes and Enhancements:

    • Reset releaseActionTriggered on every key-down event to allow the OnReleaseKeyAction to trigger on subsequent key releases.
    • Improved tracking of pressed keys for combination mode by managing the key order list and key events dictionary.
    • Enhanced logging in the ExecuteCommand method for clearer state changes.
  • General Code Clean-Up:

    • Ensured proper clearing and disposal of timer and hook resources in Unload and Finalize methods.
    • Maintained consistency in code structure and comments for better readability and maintenance.

v1.0

07 Mar 07:57

Choose a tag to compare

Initial Release