Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 641 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 641 Bytes

SimulateKeyboard

It doesn't contain whole source.

I will add it later.

Simulate keyboard library for iOS

You can simulate keyboard event.

Test on iOS7, but I think this supports iOS6 too.

How to use

refer to main.mm (skeyboard; command line tool)

Keycodes

same as keycodes for BeeKeyboard

http://api.iolate.kr/beekeyboard/headers/BeeKeycode.h

Example

Homebutton:

simulateKeyboardEvent(12, 64, 1);
simulateKeyboardEvent(12, 64, 0);

Copy (Cmd + C):

simulateKeyboardEvent(7, 231, 1);
simulateKeyboardEvent(7, 6, 1);
simulateKeyboardEvent(7, 6, 0);
simulateKeyboardEvent(7, 231, 0);