![](https://i-blog.csdnimg.cn/blog_migrate/6bf3a6417f838618f0b43eb8d015d426.png)
![](https://i-blog.csdnimg.cn/blog_migrate/b016d8521c78eb67c2cb5b928f678759.png)
![](https://i-blog.csdnimg.cn/blog_migrate/232edecfc38d31c7fa56953f18ed3fca.png)
![](https://i-blog.csdnimg.cn/blog_migrate/a2cea99c24df4c46c575bece8e00638a.png)
1 APP_ANC_ENABLE
<messageName>APP_ANC_ENABLE</messageName> <buttonEvent>SINGLE_CLICK</buttonEvent> <activePinFriendlyName>VOICE</activePinFriendlyName> <pinFriendlyName>VOICE</pinFriendlyName>
<pad>44</pad> // 耳机开发layout未使用
2 APP_ANC_DISABLE
<messageName>APP_ANC_DISABLE</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>VOICE</activePinFriendlyName> <timeout_ms>3000</timeout_ms>
3 APP_ANC_TOGGLE_ON_OFF
<messageName>APP_ANC_TOGGLE_ON_OFF</messageName> <buttonEvent>HELD</buttonEvent> <activePinFriendlyName>MFB</activePinFriendlyName> <timeout_ms>6000</timeout_ms>
<pinFriendlyName>MFB</pinFriendlyName>
<pad>2</pad>
4 APP_ANC_SET_NEXT_MODE
<messageName>APP_ANC_SET_NEXT_MODE</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>MFB</activePinFriendlyName> <timeout_ms>4000</timeout_ms>
5 APP_LEAKTHROUGH_TOGGLE_ON_OFF <messageName>APP_LEAKTHROUGH_TOGGLE_ON_OFF</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SYS_CTRL</activePinFriendlyName> <timeout_ms>2000</timeout_ms>
<pinFriendlyName>SYS_CTRL</pinFriendlyName>
<pad>0</pad>
6 APP_LEAKTHROUGH_SET_NEXT_MODE
<messageName>APP_LEAKTHROUGH_SET_NEXT_MODE</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SW8</activePinFriendlyName> <timeout_ms>6000</timeout_ms>
<pinFriendlyName>SW8</pinFriendlyName>
<pad>45</pad>
7 APP_LEAKTHROUGH_DISABLE
<messageName>APP_LEAKTHROUGH_DISABLE</messageName> <buttonEvent>IGNORE</buttonEvent>
8 APP_LEAKTHROUGH_ENABLE
<messageName>APP_LEAKTHROUGH_ENABLE</messageName> <buttonEvent>IGNORE</buttonEvent>
9 APP_MFB_BUTTON_SINGLE_CLICK <messageName>APP_MFB_BUTTON_SINGLE_CLICK</messageName> <buttonEvent>SINGLE_CLICK</buttonEvent> <activePinFriendlyName>SYS_CTRL</activePinFriendlyName>
10 APP_MFB_BUTTON_HELD_RELEASE_1SEC <messageName>APP_MFB_BUTTON_HELD_RELEASE_1SEC</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SYS_CTRL</activePinFriendlyName> <timeout_ms>1000</timeout_ms>
11 APP_MFB_BUTTON_HELD_RELEASE_3SEC
<messageName>APP_MFB_BUTTON_HELD_RELEASE_3SEC</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SYS_CTRL</activePinFriendlyName> <timeout_ms>3000</timeout_ms>
12 APP_MFB_BUTTON_HELD_RELEASE_6SEC <messageName>APP_MFB_BUTTON_HELD_RELEASE_6SEC</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SYS_CTRL</activePinFriendlyName>
<timeout_ms>6000</timeout_ms>
13 APP_MFB_BUTTON_HELD_RELEASE_8SEC <messageName>APP_MFB_BUTTON_HELD_RELEASE_8SEC</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SYS_CTRL</activePinFriendlyName> <timeout_ms>8000</timeout_ms>
14 APP_BUTTON_FACTORY_RESET
<message device_specific="true"> <messageName>APP_BUTTON_FACTORY_RESET</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SYS_CTRL</activePinFriendlyName> <timeout_ms>15000</timeout_ms>
16 APP_VA_BUTTON_DOWN
<message>
<messageName>APP_VA_BUTTON_DOWN</messageName> <buttonEvent>ENTER</buttonEvent> <activePinFriendlyName>SW8</activePinFriendlyName>
17 APP_VA_BUTTON_HELD_RELEASE <messageName>APP_VA_BUTTON_HELD_RELEASE</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>SW8</activePinFriendlyName> <timeout_ms>1000</timeout_ms>
18 APP_VA_BUTTON_SINGLE_CLICK <messageName>APP_VA_BUTTON_SINGLE_CLICK</messageName> <buttonEvent>SINGLE_CLICK</buttonEvent> <activePinFriendlyName>SW8</activePinFriendlyName>
-
19 APP_VA_BUTTON_DOUBLE_CLICK <messageName>APP_VA_BUTTON_DOUBLE_CLICK</messageName> <buttonEvent>DOUBLE_CLICK</buttonEvent> <activePinFriendlyName>SW8</activePinFriendlyName>
20 APP_VA_BUTTON_HELD_1SEC
<messageName>APP_VA_BUTTON_HELD_1SEC</messageName> <buttonEvent>HELD</buttonEvent> <activePinFriendlyName>SW8</activePinFriendlyName> <timeout_ms>1000</timeout_ms>
21 APP_VA_BUTTON_RELEASE
<messageName>APP_VA_BUTTON_RELEASE</messageName> <buttonEvent>RELEASE</buttonEvent> <activePinFriendlyName>SW8</activePinFriendlyName>
22 APP_BUTTON_VOLUME_UP_DOWN
<message>
<messageName>APP_BUTTON_VOLUME_UP_DOWN</messageName> <buttonEvent>RELEASE</buttonEvent> <activePinFriendlyName>VOL_PLUS</activePinFriendlyName> <activePinFriendlyName>VOL_MINUS</activePinFriendlyName>
</message>
<pinFriendlyName>VOL_PLUS</pinFriendlyName>
<pad>41</pad>
<pinFriendlyName>VOL_MINUS</pinFriendlyName>
<pad>40</pad>
23 APP_BUTTON_VOLUME_DOWN
<messageName>APP_BUTTON_VOLUME_DOWN</messageName> <buttonEvent>ENTER</buttonEvent> <activePinFriendlyName>VOL_MINUS</activePinFriendlyName> <negatePinFriendlyName>VOL_PLUS</negatePinFriendlyName>
24 APP_BUTTON_VOLUME_UP
<messageName>APP_BUTTON_VOLUME_UP</messageName> <buttonEvent>ENTER</buttonEvent> <activePinFriendlyName>VOL_PLUS</activePinFriendlyName> <negatePinFriendlyName>VOL_MINUS</negatePinFriendlyName>
25 APP_BUTTON_VOLUME_DOWN_RELEASE <messageName>APP_BUTTON_VOLUME_DOWN_RELEASE</messageName> <buttonEvent>RELEASE</buttonEvent> <activePinFriendlyName>VOL_MINUS</activePinFriendlyName>
26 APP_BUTTON_VOLUME_UP_RELEASE <messageName>APP_BUTTON_VOLUME_UP_RELEASE</messageName> <buttonEvent>RELEASE</buttonEvent> <activePinFriendlyName>VOL_PLUS</activePinFriendlyName>
27 APP_BUTTON_FORWARD
<messageName>APP_BUTTON_FORWARD</messageName> <buttonEvent>SINGLE_CLICK</buttonEvent> <activePinFriendlyName>FORWARD</activePinFriendlyName> <pinFriendlyName>FORWARD</pinFriendlyName>
<pad>43</pad>
28 APP_BUTTON_FORWARD_HELD
<messageName>APP_BUTTON_FORWARD_HELD</messageName> <buttonEvent>HELD</buttonEvent> <activePinFriendlyName>FORWARD</activePinFriendlyName> <timeout_ms>500</timeout_ms>
29 APP_BUTTON_FORWARD_HELD_RELEASE <messageName>APP_BUTTON_FORWARD_HELD_RELEASE</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>FORWARD</activePinFriendlyName> <timeout_ms>500</timeout_ms>
30 APP_BUTTON_BACKWARD
<messageName>APP_BUTTON_BACKWARD</messageName> <buttonEvent>SINGLE_CLICK</buttonEvent> <activePinFriendlyName>BACK</activePinFriendlyName> <pinFriendlyName>BACK</pinFriendlyName>
<pad>42</pad>
31 APP_BUTTON_BACKWARD_HELD
<messageName>APP_BUTTON_BACKWARD_HELD</messageName> <buttonEvent>HELD</buttonEvent> <activePinFriendlyName>BACK</activePinFriendlyName> <timeout_ms>500</timeout_ms>
32 APP_BUTTON_BACKWARD_HELD_RELEASE <messageName>APP_BUTTON_BACKWARD_HELD_RELEASE</messageName> <buttonEvent>HELD_RELEASE</buttonEvent> <activePinFriendlyName>BACK</activePinFriendlyName> <timeout_ms>500</timeout_ms>
33 APP_BUTTON_PLAY_PAUSE_TOGGLE <messageName>APP_BUTTON_PLAY_PAUSE_TOGGLE</messageName> <buttonEvent>ENTER</buttonEvent> <activePinFriendlyName>MUSIC</activePinFriendlyName> <pinFriendlyName>MUSIC</pinFriendlyName>
<pad>3</pad>
![](https://i-blog.csdnimg.cn/blog_migrate/425d87da0fd7582a9267f634bd2dead7.png)
![](https://i-blog.csdnimg.cn/blog_migrate/167c15bd39b9bee5aa8f728fbf61d3e0.png)