Fixing issues

This commit is contained in:
Max Hunt 2018-09-28 00:29:06 +01:00
parent 3a6bde3a0b
commit d82ea91291

View File

@ -20,7 +20,7 @@ Keypad kpd = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
#define ledpin 11 #define ledpin 11
char ctrlKey = KEY_LEFT_GUI; char ctrlKey = KEY_LEFT_CTRL;
void setup() { void setup() {
Keyboard.begin(); Keyboard.begin();
@ -34,17 +34,17 @@ void fmf1() {}
void fmf2() {} void fmf2() {}
void fmf3() {} void fmf3() {}
void fmfky() {Keyboard.print("Fuck You");} void fmfky() {Keyboard.print("Fuck You");}
void fmshl() {Keyboard.print("ssh root@192.168.1.999");} void fmshl() {Keyboard.println("ssh root@192.168.1.999");}
void fmshg() {Keyboard.print("ssh -p 16969 root@225.225.225.999");} void fmshg() {Keyboard.println("ssh -p 16969 root@225.225.225.999");}
void fmgdr() {Keyboard.print(":/mnt/GIT/gitFolder/");} void fmgdr() {Keyboard.print(":/mnt/GIT/gitFolder/");}
void fmezg() {Keyboard.print("ezgit");}//Keyboard.printlnm("ezgit"); void fmezg() {Keyboard.println("ezgit");}//Keyboard.printlnm("ezgit");
void fmsbr() {Keyboard.print("source ~/.bashrc");} void fmsbr() {Keyboard.println("source ~/.bashrc");}
void fmszr() {Keyboard.print("source ~/.zshrc");} void fmszr() {Keyboard.println("source ~/.zshrc");}
void fmclb() {Keyboard.press(ctrlKey);delay(5);Keyboard.press("b");delay(5);Keyboard.releaseAll();} void fmclb() {Keyboard.press(ctrlKey);delay(20);Keyboard.press(98);delay(20);Keyboard.releaseAll();}
void fmglp() {Keyboard.print("git log --pretty --color --graph --oneline --decorate --histogram");} void fmglp() {Keyboard.println("git log --pretty --color --graph --oneline --decorate --histogram");}
void fmcbh() {Keyboard.press(ctrlKey);delay(5);Keyboard.press("b");delay(5);Keyboard.releaseAll();delay(5);Keyboard.print("h");} void fmcbh() {Keyboard.press(ctrlKey);delay(20);Keyboard.press(98);delay(20);Keyboard.releaseAll();delay(5);Keyboard.print("h");}
void fmcbv() {Keyboard.press(ctrlKey);delay(5);Keyboard.press("b");delay(5);Keyboard.releaseAll();delay(5);Keyboard.print("v");} void fmcbv() {Keyboard.press(ctrlKey);delay(20);Keyboard.press(98);delay(20);Keyboard.releaseAll();delay(5);Keyboard.print("v");}
void fmcbs() {Keyboard.press(ctrlKey);delay(5);Keyboard.press("b");delay(5);Keyboard.releaseAll();delay(5);Keyboard.print("s");} void fmcbs() {Keyboard.press(ctrlKey);delay(20);Keyboard.press(98);delay(20);Keyboard.releaseAll();delay(5);Keyboard.print("s");}
void fmexr() {Keyboard.print("exit");delay(5);}//ln void fmexr() {Keyboard.print("exit");delay(5);}//ln