This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class AutoSuggestion { | |
| private static final int TEN_THOUSAND_REQUESTS = 10000; | |
| private static final int START = 0; | |
| private static final String SEPARATOR = "--------------------------------------------------------------------" + | |
| "---------------------------------------------------------------"; | |
| public static void main(String[] args) { | |
| /* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "DigiKeyboard.h" | |
| //Command key is ord 37 and as a modifier 0x00000008 | |
| //See NX_DEVICELCMDKEYMASK http://svn.red-bean.com/bob/SDL-altivec/trunk/src/video/quartz/SDL_QuartzEvents.m | |
| //For a look at available keys https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/DigiKeyboard.h | |
| #define MOD_CMD_LEFT 0x00000008 | |
| boolean do_hack = true; | |
| void setup() { |
OlderNewer