Browse Source

send left and right arrow key

Fabian Peter Hammerle 8 years ago
parent
commit
395cae14cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main.cpp

+ 2 - 2
main.cpp

@@ -29,8 +29,8 @@ int main() {
     unsigned int nwindows;
     search_toontown_windows(xdo, &windows, &nwindows);
     for(unsigned int i=0; i<nwindows; i++) {
-        xdo_send_keysequence_window(xdo, windows[i], "space", KEY_DELAY);
-        xdo_send_keysequence_window(xdo, windows[i], "BackSpace", KEY_DELAY);
+        xdo_send_keysequence_window(xdo, windows[i], "Right", KEY_DELAY);
+        xdo_send_keysequence_window(xdo, windows[i], "Left", KEY_DELAY);
     }
 
     return 0;