How to use MEmus Custom Macro in Key-mapping

Video How to use MEmus Custom Macro in Key-mapping

MEmu is one of the most popular Android emulator software on PC today. The following article will help you use MEmu's Custom Macro 5.6.1 and above in Key-mapping effectively.

A macro is a sequence of actions (pressing, clicking, delaying, repeating, etc.) that can be triggered by a certain key. It is a powerful addition to MEmu's current Key-mapping control. You can define any sequence of actions as you wish and create your own Special Keys .

Open the Android MEmu emulator and click the Key-mapping button on the sidebar. You will see the Macro icon in the Control panel . Drag and drop it to any position on the screen. Note, it is different from non-Macro key because Macro does nothing with the point you choose. For example, put 3 keys Macro Enter, Space, Ctrl next to each other as shown below.

How to use MEmus Custom Macro in Key-mapping
MEmu

Assign a key to Macro Enter and Click the small pencil mark next to the Macro icon. A new Edit Macro panel appears, located right, containing the Edit & Command area . You will get a Macro script in Edit when you click the + sign of each command in the Command. You can also directly edit them as you like.

Here are the current supported commands and related syntax:

Macro command panel of Android emulator software - MEmu

Comeinand Syntax For example Describe
Size Size xy Size 1200 720 Identify contact screen area, adapt itself and do not need to change.
touch Touch x1 y1 [ time ] Touch 200 200 50 Touch coordinates (x1, y1) for 50 ms. Optional amount of time.
Swipe Swipe x1 y1 x2 y2 [ time ] Swipe 100 100 200 200 500 Swipe from (x1, y1) to (x2, y2) for 50 ms. Optional amount of time.
Input Input string Delay 200
Input hello world!
Delay 500
Type the words in the current inbox box. Encourage additional levels of delay.
Keypress Keypress keys Keypress Home Ignore a key on the keyboard (it only works when the game recognizes the keystroke directly).
Mapkey Mapkey keys Mapkey A Press a non-Macro key (it only supports one key, swipe to add more).
Delay Delay time Delay 100 Delay Macro in milliseconds.
Onkeydown Onkeydown Onkeydown
Touch 100 100 Onkeyup
Touch 200 200
A key combination. First press (100, 100), then press (200, 200) when you release the key.
Onkeyup Onkeyup
Loop Loop [ number of times ] Loop 3
Touch 100 100 Delay 50
Perform the loop 3 times. If not counted, it will repeat continuously until you release the key.

This article takes an example of using Macro keys in Mobile Legends . First, create a Macro to send a "Watch Out Boss" message in the game by pressing Enter . Pay attention to the number of coordinates in the right panel, always changing when moving the mouse on the screen. It tells you the exact coordinates where the mouse cursor is moving. For example, the macro is as follows:

Size 1280 720
Map key F4 // F4 is the mapping key to open the chat box in the game
Delay 100
Touch 1070 440 // Click the input box to activate it in the game
Delay 100
Input WATCH OUT BOSS // Type the message "Watch Out Boss"
Delay 100
Touch 1240 670 // Click the Enter key to send the message.

How to use MEmus Custom Macro in Key-mapping

Second, create a Macro to sell your first weapon and buy an assault weapon in the store by clicking the Space key . This is a long series of actions including 7 clicks and 3 swipes. The example macro is as follows:

Size 1280 720
Touch 1200 20 // Open store by clicking coordinates (1200, 20) on the screen.
Delay 200
Touch 200 660 // Select the first weapon in the deck.
Delay 100
Touch 1120 500 // Sell this weapon.
Delay 100
Touch 80 220 // Select a list of offensive weapons.
Delay 100
Swipe 320 500 320 200 // Swipe 3 times to move down the list.
Delay 100 // Sometimes it happens too fast, so let's add a little "delay" to make it smoother.
Swipe 320 500 320 200
Delay 100
Swipe 320 500 320 200
Delay 100
Touch 570 540 // Select the latest weapon in the list.
Delay 100
Touch 1120 500 // Buy new weapon.
Delay 100
Touch 1220 40 // Close store.

How to use MEmus Custom Macro in Key-mapping

Finally, create a Macro to check the score when pressing "Ctrl", close it by releasing the Ctrl key . In fact, the default X key has the same function. This means that most of the function keys can be replaced by the Macro key. MEmu has just pre-set Macro keys for common features for users to manipulate more.

Some new Macro keys in MEmu:

Size 1280 720
Onkeydown // Execute the command between onkeydown and onkeyup while holding this key.
Touch 992 10 // Open transcript.
Onkeyup // Execute the following command onkeyup when you release the key.
Touch 200 200 // Close the scoreboard.

How to use MEmus Custom Macro in Key-mapping

Hope the article is helpful to you.

Update new 2021

Customize Macro Key Mappings

How to use Custom Macro in MEmu Android emulator key-mapping (since MEMU 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’s a powerful feature to extend the 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’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.

Assign a key to this Macro for example “Enter” and Click the small pencil mark beside Macro icon. There 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 Macro Command Table – 1
android emulator macro

MEMU Android Emulator Macro Command Table – 2
android emulator macro

Well, let me explain how to use it by nine instructional videos.

1. loop/loopstop

 

2. onkeydown/onkeyup

 

3.input

 

4. keydown/keyup/keymove

 

5. touch

 

6. swipe

 

7. keypress

 

8. mapkey

 

9. entershoot/exitshoot

 

Download Torrents files with browsers Torch Browser

Download Torrents files with browsers Torch Browser

Torch Browser is a web browser multimedia functions beyond surfing the Torch Browser you can download Torrents files without having to use other support software.

UltraISO - create USB install Windows 10, 8.1, 7

UltraISO - create USB install Windows 10, 8.1, 7

UltraISO is the software used to create virtual drives on your computer, create and edit ISO files quickly. Alternatively you can use this software to create Win USB installation, you refer to the way done through the following article of us.

Fix Java KEmulator emulator error does not work

Fix Java KEmulator emulator error does not work

Major KEmulator errors include not being able to install KEmulator or having finished installing but unable to open KEmulator to play games.

CyberLink YouCam - How to record video with sound

CyberLink YouCam - How to record video with sound

CyberLink YouCam - is one of the popular software supports video screen computer. However, the recorded video is accompanied by sound not everyone knows how to install? In the article below, Taimienphi.vn will guide you how to install to when CyberLink YouCam download to use the recorded video with high-quality sound.

How to Enable, Disable function keys FN + F1, F2, F3, ... F12 on Laptop

How to Enable, Disable function keys FN + F1, F2, F3, ... F12 on Laptop

This article will guide you how to enable, disable function keys FN + F1, F2, F3, ... F12 on laptop Dell, HP, Lenovo, Asus, Alienware, Acer... Sometimes the function key again for any inconvenience caused to users, you can completely turn them off and turn them on when needed.

KMPlayer - Some useful shortcuts when using

KMPlayer - Some useful shortcuts when using

Use the shortcut key combination that you can play music, watch movies on Kmplayer easier and more convenient lot. Here, Taimienphi.vn will summarize some useful shortcuts or use the KMPlayer .

Fixed IDM extensions removed from Google Chrome

Fixed IDM extensions removed from Google Chrome

During use, will certainly have time to fix IDM extensions so removed from Google Chrome. The reason is because Google is misunderstood Malicious applications and cause system malfunctions.

How to see yourself like any celebrity with B612

How to see yourself like any celebrity with B612

B612 has recently launched the familiar face feature, the following article will show you how to see which celebrity faces you look like with this feature of B612.

Download Facebook photo album with Fluschipranie on Firefox

Download Facebook photo album with Fluschipranie on Firefox

If you use Firefox with a download Facebook photo album is very good, it is convenient to use Fluschipranie . Instead of installing the software on your computer, you just set up Firefox to use.

Logout accounts Viber, a logout, exit accounts Viber

Logout accounts Viber, a logout, exit accounts Viber

Using Viber on your computer, you already know how to logout them out yet? With the following article will guide you how to log off accounts safe from Viber on the computer offline, please refer to how to do offline.

How to win 7 ghost, ghost windows 7 via USB, Onekey, Norton Ghost

How to win 7 ghost, ghost windows 7 via USB, Onekey, Norton Ghost

How Ghost Win 7 USB, Norton Ghost or OneKey is one way to install windows 7 simple and efficient for your computer. If you do not have the driver for Win 7 , this is the most effective way for you, the same references and perform with Taimienphi.vn

KMPlayer - View 3D video and adjust the parameters

KMPlayer - View 3D video and adjust the parameters

Using the 3D video content on KMPlayer and performance tuning parameters to see that you can enjoy the movie, unique and compelling video on the music player.

Friends on the Zalo block, blocking friends on Zalo

Friends on the Zalo block, blocking friends on Zalo

Download Zalo help you chat and free messaging with friends. However, if you do not wish to receive any information about a person or a group of people, you can block them so as not to disturb you while using. Let Taimienphi.vn done doing offline.

Install and use on Mac computers Zalo

Install and use on Mac computers Zalo

Zalo for Mac is a version of Zalo is used for the operating system Mac OS X. Here well show you how to download Zalo and use this version on your Mac, the same reference you offline.

Zalo - How to send files, pictures to your chat

Zalo - How to send files, pictures to your chat

With Zalo you can comfortably chat with friends wherever you are, you can comfortably send pictures together while chatting, sending data to each other with no space limitations wage. The following article will guide you how to send files, pictures to you chat on Zalo offline.

Wifi ftp password change, change pass wifi modem ftp GPON

Wifi ftp password change, change pass wifi modem ftp GPON

Maybe youll meet first surprise when change wifi password FPT here is GPON fiber optic modem of FPT. However after consultation through this article to make sure all your questions will be cleared.

Retrieve password Zalo, Zalo retrieve forgotten passwords like?

Retrieve password Zalo, Zalo retrieve forgotten passwords like?

Long days you do not use Zalo, today you log back Zalo the notice requires you to enter a password, for any reason that you forget not remember my password. So how to retrieve the forgotten password Zalo? Let Taimienphi.vn go find the solution for this question offline.

Active Windows 10, Win license activation 10 180 days

Active Windows 10, Win license activation 10 180 days

Active Windows 10 , activate copyright Windows 10 to 180 days to help users experience useful features of Windows 10 before deciding to buy the right to use this last operating system of Microsoft. Along learn how to use the 180-day activation copyright Win 10 with Taimienphi.vn

SopCast - Instructions on how to create a new account

SopCast - Instructions on how to create a new account

SopCast support television viewing effective online, watch TV, football, ... and the number 1 choice of sports devotees. In this article Taimienphi.vn limit will guide you how to create a new account on SopCast

HJSplit - Fix, fix error I / O error 123

HJSplit - Fix, fix error I / O error 123

HJSplit software file splitting and coupling is easy to use because no need to install on your computer like other software. But not so that no error occurred, the error of this gadget is mainly due to improper user. taimienphi.vn will guide you how to fix error I / O error 123.