Alaska Software Inc. - Enable/disable keyboard reading
Username: Password:
AuthorTopic: Enable/disable keyboard reading
Itai Ben-ArtziEnable/disable keyboard reading
on Wed, 12 Feb 2020 23:38:34 -0800
Is it possible to disable/enable reading from a keyboard connected to
a USB port?  How?

Many thanks,
-Itai
Itai Ben-ArtziRe: Enable/disable keyboard reading
on Thu, 13 Feb 2020 11:50:43 -0800
In the same context, if I have two keyboards, can I send commands
sequence to a specific keyboard?  How?
Many thanks,
-Itai
Jim LeeRe: Enable/disable keyboard reading
on Fri, 14 Feb 2020 07:57:27 +0100
>Is it possible to disable/enable reading from a keyboard connected to a USB 
>port?  How?

unplug it 
it can also be done by Software

>if I have two keyboards, can I send commands sequence to a specific 
>keyboard?  How?

a Keyboard can send but not receive.

tell us what is your Problem which 2 x Keyboard ?
Itai Ben-ArtziRe: Enable/disable keyboard reading
on Fri, 14 Feb 2020 09:01:21 -0800
Jim,
In addition to the standard keyboard, there is a scanner connected to
a USB port that operates as a keyboard (scanning a credit-card or
driver-license simply send a long string to the keyboard buffer).  I'd
like to enable the read from that scanner only after prompting a user
to perform the scan and then disable it to prevent a user from
scanning unexpectedly.
Jim LeeRe: Enable/disable keyboard reading
on Sat, 15 Feb 2020 04:49:40 +0100
hi,

as i say you can disable USB using @Kernel32:DeviceIoControl.

not sure how your Scanner work but my Scanner must be "enable" to use it.
i know those cheap Scanner act as Keyboard-Bridge but i dont like them as 
User can producet exact that Errror you are talking about.