Keystrokes/KeyCommands on button click

Home Forums General Programming Keystrokes/KeyCommands on button click

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #69344
    Jingles
    Participant
      • Topics: 1
      • Replies: 1
      • Total: 2

      Hey!

      I’m fairly new to both LUA and Ctrlr, but I’d really like to integrate keystrokes (key commands/shortcuts) that are triggered when a button is clicked (mouse down).

      So far, I found: KeyPress(KeyPress.spaceKey)
      I can’t find a list of keys either (or send the keys to another window).

      Can someone help me out on this one? I’d much appreciate it! 😀

      Cheers,
      J.J.

      #69345
      Jingles
      Participant
        • Topics: 1
        • Replies: 1
        • Total: 2

        Okay, I found the first list 😀

        value(“spaceKey”, KeyPress::spaceKey),
        value(“escapeKey”, KeyPress::escapeKey),
        value(“returnKey”, KeyPress::returnKey),
        value(“tabKey”, KeyPress::tabKey),
        value(“deleteKey”, KeyPress::deleteKey),
        value(“backspaceKey”, KeyPress::backspaceKey),
        value(“insertKey”, KeyPress::insertKey),
        value(“upKey”, KeyPress::upKey),
        value(“downKey”, KeyPress::downKey),
        value(“leftKey”, KeyPress::leftKey),
        value(“rightKey”, KeyPress::rightKey)

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The forum ‘Programming’ is closed to new topics and replies.
      There is currently 0 users and 48 guests online
      No users are currently active
      Forum Statistics
      Threads: 2,495, Posts: 17,374, Members: 77,605
      Most users ever online was 12 on January 22, 2019 3:47 pm
      Ctrlr