{"id":2893,"date":"2018-09-12T05:56:25","date_gmt":"2018-09-12T05:56:25","guid":{"rendered":"https:\/\/www.memuplay.com\/blog\/?p=2893"},"modified":"2021-02-02T06:11:17","modified_gmt":"2021-02-01T22:11:17","slug":"how-to-use-macro-in-key-mapping","status":"publish","type":"post","link":"https:\/\/www.memuplay.com\/blog\/how-to-use-macro-in-key-mapping.html","title":{"rendered":"Customize Macro Key Mappings"},"content":{"rendered":"<p>How to use <strong>Custom\u00a0Macro<\/strong> in MEmu Android emulator key-mapping (since\u00a0<strong>MEMU 5.6.1<\/strong>)<\/p>\n<p>Macros are sequences of actions (such as keystrokes, mouse clicks, delays and loop, etc) that can be triggered by a specific key. It's a powerful feature to extend\u00a0the existed key-mapping control. You can define any action sequence as you want and make your own special KEY.<\/p>\n<p>Open MEmu Android emulator and click key-mapping button on the sidebar. You will have a Macro icon in the advanced controls panel. Drag and drop it to any spot on the screen. Be noted that it's different from non-Marco key because Macro has nothing to do with the spot you place. For example, I place the three Macro keys \"Enter, Space, Ctrl\" on the bottom.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24305\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/\u5b8f1.jpg\" alt=\"\" width=\"1582\" height=\"753\" srcset=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/\u5b8f1.jpg 1582w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/\u5b8f1-300x143.jpg 300w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/\u5b8f1-1024x487.jpg 1024w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/\u5b8f1-624x297.jpg 624w\" sizes=\"auto, (max-width: 1582px) 100vw, 1582px\" \/><\/p>\n<p>Assign a key to this Macro for example \"Enter\" and Click the small pencil mark beside Macro icon.\u00a0There will be a new panel of Edit Macro on the right, which contains Edit area and Command area. You will get the Macro script in Edit area when clicking the + mark of each command in Command area. You can also edit them directly as you want. The current supported commands and related grammar are as follows:<\/p>\n<p style=\"text-align: center;\"><strong>MEMU Android Emulator Macro Command Table - 1<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3484\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro608-1.png\" alt=\"android emulator macro\" width=\"627\" height=\"631\" srcset=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro608-1.png 627w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro608-1-298x300.png 298w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro608-1-624x628.png 624w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro608-1-180x180.png 180w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro608-1-60x60.png 60w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro608-1-150x150.png 150w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/p>\n<p style=\"text-align: center;\"><strong>MEMU Android Emulator Macro Command Table - 2<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3495\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro-608-2-1.png\" alt=\"android emulator macro\" width=\"628\" height=\"396\" srcset=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro-608-2-1.png 628w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro-608-2-1-300x189.png 300w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/09\/macro-608-2-1-624x393.png 624w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><br \/>\n<\/strong><\/p>\n<p>Well, let me explain how to use it by nine instructional videos.<\/p>\n<p><strong>1. loop\/loopstop<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: loop\/loopstop\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/fu1eRkOzaG0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>2. onkeydown\/onkeyup<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: onkeydown\/onkeyup\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/u98MKGGMp4Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.input<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: input\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/j1l0JSy47UM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>4. keydown\/keyup\/keymove<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: keydown\/keyup\/keymove\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/hwrzCYKiP-w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>5. touch<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: touch\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/Z9XuSLnv1x4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>6. swipe<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: swipe\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/hZI37mrCNSE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>7. keypress<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: keypress\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/rtwQQdVv4mk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>8. mapkey<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: mapkey\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/Eh2uuCFtqnA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>9. entershoot\/exitshoot<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"MEmu Macro Command Teaching: entershoot\/exitshoot\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/Wx9ByVm7K60?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>OK, that's all the samples. If you still have doubts please join our <a href=\"https:\/\/www.facebook.com\/groups\/memuplayer\">user group<\/a> to raise your question. Our online <a href=\"https:\/\/www.facebook.com\/linjunzheng1991\">support engineer<\/a> would love to help you there. In addition, we will continuously improve this Macro function. Your feedback is always welcomed.<\/p>\n<p><strong>&gt;&gt; Newbie to MEmu? No worry,\u00a0<a href=\"https:\/\/www.memuplay.com\/blog\/index.php\/2016\/03\/31\/get-started\/\">Getting Started<\/a><\/strong><\/p>\n<hr \/>\n<p>&gt; Back to\u00a0<strong><a href=\"https:\/\/www.memuplay.com\/support.html\">MEmu 101<\/a><\/strong>, everything you need to know about MEmu &lt;&lt;<\/p>\n<ul>\n<li><strong>Official Website:<\/strong>\u00a0<a href=\"https:\/\/www.memuplay.com\/\">https:\/\/www.memuplay.com<\/a><\/li>\n<li><strong>Official Twitter:<\/strong><a href=\"https:\/\/twitter.com\/MicrovirtMEmu\">\u00a0https:\/\/twitter.com\/MicrovirtMEmu<\/a><\/li>\n<li><strong>Facebook Page:<\/strong><a href=\"https:\/\/www.facebook.com\/memuplayer\">\u00a0https:\/\/www.facebook.com\/memuplayer<\/a><\/li>\n<li><strong>MEmu User Group:<\/strong>\u00a0<a href=\"https:\/\/www.facebook.com\/groups\/memuplayer\">https:\/\/www.facebook.com\/groups\/memuplayer<\/a><\/li>\n<li><strong>Discord<\/strong>:\u00a0<a href=\"https:\/\/discord.gg\/gA4GWV9\">https:\/\/discord.gg\/gA4GWV9<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to use Custom\u00a0Macro in MEmu Android emulator key-mapping (since\u00a0MEMU 5.6.1) Macros are sequences of actions (such as keystrokes, mouse clicks, delays and loop, etc) that can be triggered by a specific key. It&#8217;s a powerful feature to extend\u00a0the existed key-mapping control. You can define any action sequence as you want and make your own special KEY. Open MEmu Android emulator and click key-mapping button on the sidebar. You will have a Macro icon in the advanced controls panel. Drag and drop it to any spot on the screen. Be noted that it&#8217;s different from non-Marco key because Macro has nothing to do with the spot you place. For example, I place the three Macro keys &#8220;Enter, Space, Ctrl&#8221; on the bottom. Assign a key to this Macro for example &#8220;Enter&#8221; and Click the small pencil mark beside Macro icon.\u00a0There will be a new panel of Edit Macro on the right, which contains Edit area and Command area. You will get the Macro script in Edit area when clicking the + mark of each command in Command area. You can also edit them directly as you want. The current supported commands and related grammar are as follows: MEMU Android Emulator<a class=\"show-more\" href=\"https:\/\/www.memuplay.com\/blog\/how-to-use-macro-in-key-mapping.html\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":17187,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[13,130,366,19,279,468,469,25893,4802,92,210,137],"yst_prominent_words":[545,1393,1390,1387,956,26747,958,1397,1394,1391,7469,1398,1395,959,503,544,543,1389,1386,954],"class_list":["post-2893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-memu-faq","tag-android","tag-android-5-1","tag-android-7-1","tag-android-emulator","tag-android-emulator-download-sites","tag-custom-macro","tag-edit-macro","tag-faq-5","tag-lang-en","tag-mobile-legends","tag-pubg-mobile","tag-skillshot"],"_links":{"self":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/2893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/comments?post=2893"}],"version-history":[{"count":21,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/2893\/revisions"}],"predecessor-version":[{"id":25141,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/2893\/revisions\/25141"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/media\/17187"}],"wp:attachment":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/media?parent=2893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/categories?post=2893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/tags?post=2893"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=2893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}