CodeAndQuestsEveryDay icon indicating copy to clipboard operation
CodeAndQuestsEveryDay copied to clipboard

Question: We can use Arduino as Keyboard, what hack can we pull from that ?

Open EloiStree opened this issue 5 years ago • 2 comments

https://www.arduino.cc/en/Reference.KeyboardWrite

EloiStree avatar Aug 11 '19 14:08 EloiStree

image image

32:
33: ! 34: " 35: # 36: $ 37: % 38: & 39: ' 40: ( 41: ) 42: * 43: + 44: , 45: - 46: . 47: / 48: 0 49: 1 50: 2 51: 3 52: 4 53: 5 54: 6 55: 7 56: 8 57: 9 58: : 59: ; 60: < 61: = 62: > 63: ? 64: @ 65: a 66: b 67: c 68: d 69: e 70: f 71: g 72: h 73: i 74: j 75: k 76: l 77: m 78: n 79: o 80: p 81: q 82: r 83: s 84: t 85: u 86: v 87: w 88: x 89: y 90: z 91: [ 92:
93: ] 94: ^ 95: _ 96: ` 97: A 98: B 99: C 100: D 101: E 102: F 103: G 104: H 105: I 106: J 107: K 108: L 109: M 110: N 111: O 112: P 113: Q 114: R 115: S 116: T 117: U 118: V 119: W 120: X 121: Y 122: Z 123: { 124: | 125: } 126: ~ https://www.arduino.cc/en/Tutorial/ASCIITable

EloiStree avatar Aug 11 '19 14:08 EloiStree

Use XInput

  • https://www.partsnotincluded.com/tutorials/how-to-emulate-an-xbox-controller-with-arduino-xinput/
  • https://www.reddit.com/r/arduino/comments/8wlyad/xinput_library/
    • For Micro: https://github.com/bootsector/XInputPadMicro
    • For Leonardo: https://github.com/dmadison/ArduinoXInput
      • https://github.com/dmadison/ArduinoXInput_AVR

EloiStree avatar Aug 12 '19 21:08 EloiStree