Then the message needs an explainer. Maybe something like “This device claims to be a keyboard. It's probably fine, but there have been cases of malicious devices claiming to be keyboards, then typing in commands to take over your computer when you plug them in. Do you trust this device, or shall I ignore its keystrokes?”