Wrong virtual key code in client machine when button control enabled earphone are connected to host

Options
Omiyaman
Omiyaman Posts: 1
edited May 2023 in General questions

Hi,

When I check virtual key code using tool (linked bottom) among TeamViewer host and client machines, client machine always receives wrong virtual key codes. 

In host machine, I plug 4 conductive earphone with control button (Vol Up, Vol Down and Play/Pause) to audio jack and host machine detect virtual key codes (0xAF, 0xAE and 0xB3 respectively) correctly.  However  those code are transffered to 0x42, 0x43 and 0x47 at client machine.

Virtual key code table: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes 

I tested same with Microsoft Remote Desktop Connetion and **bleep** software, neither of them receives those earphones button control virtual key codes at all so returns nothing in virtual key code reading tool.

I use below tool (sorry for Japanese ) to read the scan code and virtual key code.

http://kts.sakaiweb.com/keymill.html

Please fix.