Skip to content

Instantly share code, notes, and snippets.

@ikr7
Created March 27, 2015 00:49
Show Gist options
  • Save ikr7/758f1f24c6611bf1fe1b to your computer and use it in GitHub Desktop.
Save ikr7/758f1f24c6611bf1fe1b to your computer and use it in GitHub Desktop.
mac_usbkbd_setup
#include "mbed.h"
#include "USBKeyboard.h"
USBKeyboard kbd;
int main() {
kbd.putc('z');
wait(1);
kbd.putc('/');
}
@ikr7
Copy link
Author

ikr7 commented Mar 27, 2015

mbed で USB キーボード作ると「キーボードを識別できません」って出るのを突破するやつ
システム環境設定→キーボード→キーボードの種類を変更 で出す

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment