Ledger Nano X - The secure hardware wallet
SHARE
TWEET

autokey.c

a guest Jun 25th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- C:\Users\LGG\Documents\projects\sixkeyboard\EasyAVR-master\firmware\src\autokey.c   2017-06-25 02:48:23.000000000 -0500
  2. +++ C:\Users\LGG\Desktop\autokey.c  2017-06-25 02:47:31.000000000 -0500
  3. @@ -74,18 +74,18 @@
  4.                             /* This is a wait, and the mod is a delay count */
  5.                             g_send_wait = code.bytes.msb;
  6.                         } else {
  7.                             g_autokey_modifier = code.bytes.msb;
  8.                             g_autokey_buffer = code.bytes.lsb;
  9.                             if (g_autokey_buffer)
  10. -                               handle_code_actuate(g_autokey_buffer,ACTION_NORMAL,0);
  11. +                               enqueue_key(g_autokey_buffer);
  12.                         }
  13.                     }
  14.                 } else {
  15.                     if (g_autokey_buffer)
  16. -                       handle_code_deactuate(g_autokey_buffer,ACTION_NORMAL,0,0);
  17. +                       delete_key(g_autokey_buffer);
  18.                     g_autokey_buffer = 0;
  19.                 }
  20.             } else {
  21.                 /* Wait for a pause action to time out */
  22.                 g_send_wait -= 1;
  23.             }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top