Close
Showing results 1 to 4 of 4
  1. #1
    Member
    Join Date
    May 2012
    Location
    New Zealand
    Posts
    64
    Blog Entries
    1

    Default Visual display of a keymap press (on a timer)

    I'd like to show a visual display (32x32 menu button) for x seconds after pressing a keymap. After X seconds of that same keymap NOT being pressed turn off the button.

    Actual use case is as followings...

    When I press CTRL+7 I want to turn on (make visible) the menu button, if I press CTRL+7 again still keep the button on/visible. When I have stopped pressing CTRL+7 (after a few seconds or so) hide the button.

    How do I go about this in ISBoxer?

  2. #2
    Member
    Join Date
    May 2012
    Location
    New Zealand
    Posts
    64
    Blog Entries
    1

    Default

    No suggestions?

  3. #3

    Default

    It would be better to post this kind of question on the ISBoxer forums, even if there is an ISBoxer forum here. They get more heavily monitored for this kind of thing.

    That said. I would create a mapped key with two actions.
    Action 1, load the menu
    Action 2, unload the menu, put a timer on this action, with a pool size of 1, set the Replace timers option, and the number of seconds you want it to display for.

    That way, when you press the first time, it will show, and if not pressed again, the menu will unload after x seconds. If you do press the key again, the existing countdown timer will be replaced by a the new one, effectively starting the countdown again.

  4. #4
    Member
    Join Date
    May 2012
    Location
    New Zealand
    Posts
    64
    Blog Entries
    1

    Default

    Thanks. That is 100% what I was looking for.

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •