Advertisement
Guest User

autokey.c

a guest
Jun 25th, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.84 KB | None | 0 0
  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.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement