Or alternatively, just get a wired keyboard.
In 2010, the KeyKeriki team exposed weak XOR encryption in certain Microsoft wireless keyboards.
Many of the operating systems are made to offer keyboard-based controls in case the mouse physically fails.

Therefore, having control over a users keyboard is like having control over their entire computer.
The attacker doesnt even have to be physically within the targeted building, OSullivan said.
The research on wireless keyboards complements work Bastille did earlier in 2016 on wireless mice.

Most of the companies didnt respond to WIREDs request for comment.
Bastille suggested that connecting keyboards using Bluetooth to a computer, rather than radio could solve the problem.
If they can sniff and inject, its recreation above.
source: www.techworm.net