• mouse_getkey() and the ESC key

    From Nightfox@VERT/DIGDIST to Digital Man on Thu May 7 21:41:36 2020
    Hi DM,

    Recently I've updated dd_lightbar_menu.js to have mouse support. I have it set up so that the ESC key will exit out of the menu. When using mouse_getkey(), I've noticed that the ESC key needs to be pressed twice now in order for the script to detect that the ESC key was pressed. Before, when it used console.getkey() to input a keypress, the ESC key just needed to be pressed once. Do you know if mouse_getkey() just needs to have the ESC key pressed twice to return an ESC, or if that's a bug that can be fixed?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Thu May 7 22:33:04 2020
    Re: mouse_getkey() and the ESC key
    By: Nightfox to Digital Man on Thu May 07 2020 09:41 pm

    Hi DM,

    Recently I've updated dd_lightbar_menu.js to have mouse support. I have it set up so that the ESC key will exit out of the menu. When using mouse_getkey(), I've noticed that the ESC key needs to be pressed twice now in order for the script to detect that the ESC key was pressed. Before, when it used console.getkey() to input a keypress, the ESC key just needed to be pressed once. Do you know if mouse_getkey() just needs to have the ESC key pressed twice to return an ESC, or if that's a bug that can be fixed?

    I assume that can be fixed. I forwarded your question to Deuce via IRC, as he wrote that.

    digital man

    This Is Spinal Tap quote #2:
    Nigel Tufnel: Well, this piece is called "Lick My Love Pump".
    Norco, CA WX: 70.6°F, 51.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net