开发者

Keyboard assistance for iPhone simulator

开发者 https://www.devze.com 2023-03-08 13:50 出处:网络
My game has a swipe up gesture recognition that does something. Because I use it a lot and making swipe on iPhone Simulator is not easy I want to use the real keyboard instead.

My game has a swipe up gesture recognition that does something. Because I use it a lot and making swipe on iPhone Simulator is not easy I want to use the real keyboard instead.

How can I capture the real keyboard (the one connected to the pc running the simulator) presses to do开发者_如何学Python the thing instead of having to swipe with the mouse?


Well, I would suggest using real hardware to do this if thats the problem. But you obviously dont want to take that route OR, dont want to pay the $99 bucks yet. So I suggest creating a macro that does the mouse movement for you. You can create a macro that repeatedly does a mouse click, move and unclick (a swipe gesture). Over and over again with a pause interval inbetween. You can then set a hotkey like (CTRL + M) that will start and stop the macro. Good luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号