Velocity | Remapping a Function Key to Send a Unique Escape Sequence | Zebra

Velocity - Remapping a Function Key to Send a Unique Escape Sequence


Issue / Question

Customer migrating from TelnetCE to an Android device running Velocity. Need to bring over a KeyMacro for the F5 key.

Applicable To

Ivanti, Velocity, Function Key, Wavelink, Emulation, Android, Mobile Devices, Key Macro, Script
VC8300, TC 5x Series, TC 7x Series, All Touch Terminal Emulation, TC 8x Series, WT6000, MC Series, VC80X, VC80

Resolution / Answer

Remapping a Function key in Velocity requires that you know the HEX value for the Function Key to be remapped.  You can get this HEX value by going to the following link on Ivanti's web page:

This link will list all the Velocity Keyboard Codes for each Emulation Type.
In this Article, we are only concerned with the VT220 F5 Key.  The list below shows all the VT220 Function Keys:

The highlighted line is for F5.  The HEX value associated with F5 is E03F

Now that we know the HEX value for the Function key we are modifying, we will now go to the Velocity Console to bring in a pre-loaded Velocity Script:

In the Velocity Console, select Scripts:

You will now select Library from the Project Scripts window:

This will bring up a list of pre-loaded Scripts that you can select from.

Highlight the Key Macro Script and press OK:

You will now have the Key Macro Script in your Script window:

Click on the box to the left of Key Macro.  This will put a check in the box.

Select Link to link this Script to your Project.

You will see the following window:

Select OK to link the Script to all screens in your Velocity Project.

You will now be able to configure your Key Macro Script using the F5 HEX value that we found earlier:

In the HEX Code field, key in E03F
(E03F is the HEX value for F5)

In the New Value field you can put in your custom VT Escape Sequence.
Escape Sequences usually start off with ESC and then then have a series of symbols and numbers.
We will use ESC[15~ as our VT Escape Sequence.
We need to following the format outlined in the Script to the right of the New Value field.  This uses the following format:
The Escape value is 001B
The remainder of the characters can be typed.
So our New Value will be:

Here is what the Script will look like:

Save your Project:

Then select Deploy to create your new .wldep (Deployment) file:

Sent the newly created .wldep file to your Mobile Device for testing.

+ Applicable Products

  • 7530 G2 移动数据终端
  • 8515 车载数据终端
  • 8525 G2 车载数据终端
  • 8530 G2 车载数据终端
  • 8585 8595 Vehicle-mounted Computer
  • EC30
  • EP10 移动数据终端
  • ES400 企业级智能手机
  • EWP2000 Mobile Computer- Voice over WLAN
  • Hand-Held Computers
  • IKON 设备
  • M60
  • MC1000 移动数据终端
  • MC17
  • MC18
  • MC1x Personal Shopper Series
  • MC2100 移动数据终端
  • MC3090 移动数据终端
  • MC3100 移动数据终端
  • MC3190-Z RFID 读取器
  • MC3200 移动数据终端
  • MC3300
  • MC3300R 系列
  • MC3330R
  • MC3390R
  • MC36 移动数据终端
  • MC40
  • MC40 移动数据终端系列
  • MC40-HC
  • MC45 移动数据终端
  • MC45 NCF
  • MC55 移动数据终端
  • MC55 移动数据终端系列
  • MC55A0
  • MC55A0-HC
  • MC55N0
  • MC55X
  • MC55X-HC
  • MC65 移动数据终端
  • MC67
  • MC67 基本版
  • MC67 双 WAN 版
  • MC67 移动数据终端系列
  • MC67 NA 移动数据终端
  • MC67NA 基本模型移动数据终端
  • MC67ND 移动数据终端
  • MC70 移动数据终端
  • MC75 3.5G 全球企业数字助理 (EDA)
  • MC75A HF RFID 读取器
  • MC75A 移动数据终端
  • 适用于医疗保健业的 MC75A0-HC 移动数据终端
  • MC9090 CE 移动数据终端
  • MC9090 WM 移动数据终端
  • MC9090-G RFID 读取器
  • MC9090-Z RFID 读取器
  • MC9097 手持式移动数据终端
  • MC9190-G 移动数据终端
  • MC9190-Z RFID 读取器
  • MC9200 移动数据终端
  • MC9300 移动数据终端
  • MC9500-K 移动数据终端
  • ML900 Mobile Computer
  • ML910 Mobile Computer
  • NEO 设备
  • Omnii RT15 移动数据终端
  • Omnii XT10
  • Omnii XT15
  • Omnii XT15 移动数据终端系列
  • Omnii XT15f
  • Omnii XT15ni
  • PS20
  • RFD2000 RFID 背夹
  • RFD5500 RFID读取器
  • RFD8500 RFID读取器
  • RFD8500i UHF RFID 背夹
  • RFID Hand-Held Reader
  • RS309-HP2000FLR
  • RS309-HP2000FSR
  • RS309-HP2000ZSR
  • RS409-SR2000ZLR
  • RS409-SR2000ZZR
  • SB1
  • SB1 智能识别证系列
  • SB1-HC
  • TC20
  • TC25
  • TC51
  • TC51-HC 移动数据终端
  • TC52 触摸式数据终端
  • TC52 and TC57 Series Touch Computer
  • TC52-HC
  • TC55 触摸式数据终端
  • TC56
  • TC57 触摸式数据终端
  • TC70
  • TC70x
  • TC72 触摸式数据终端
  • TC72 and TC77 Series Touch Computer
  • TC75
  • TC75x
  • TC77 触摸式数据终端
  • TC7x Touch Computer Series
  • TC8000
  • TC8300
  • VC5090 车载数据终端
  • VC6000 车载数据终端
  • VC6090 车载数据终端
  • VC6096 WWAN 车载数据终端
  • VC70 车载数据终端
  • VC70N0
  • VC80 车载数据终端
  • VC80X
  • VC8300
  • VH10 车载数据终端
  • VRC3910 Mobile Computer
  • 车载
  • WT4000 穿戴式移动数据终端
  • WT4090
  • WT41N0
  • WT41N0 VOW
  • WT41N0 穿戴式数据终端系列
  • WT6000 佩戴式终端
  • Workabout Pro 3
  • Workabout Pro 4 移动数据终端