Disable Remote Volume

My keyboard has a volume control on it. When I take control of a target PC, that volume control functions on the target PC. Is there any way to disable this? It's actually a real nuisence since it is affecting the volume of a PC that is in another part of the house. What I really need to do is to stop Teamviewer sending the particular control signals ( whatever they are ) to the target PC. I assume these must be control characters of some form or another. Is there some way to block this either on the target or the master ( controlling ) PC?