# Disable HID(0) input for specific textboxes

**URL:** <https://forum.inductiveautomation.com/t/disable-hid-0-input-for-specific-textboxes/7766>\
**Category:** Ignition\
**Created:** [December 30, 2013, 4:32pm UTC](https://forum.inductiveautomation.com/t/disable-hid-0-input-for-specific-textboxes/7766 "2013-12-30T16:32:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamabelew](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@adamabelew](https://forum.inductiveautomation.com/u/adamabelew)\
**Post date:** [December 30, 2013, 4:32pm UTC](https://forum.inductiveautomation.com/t/disable-hid-0-input-for-specific-textboxes/7766/1 "2013-12-30T16:32:26Z")

</div>

I have an RFID reader (USB) that will automatically fill in the active textbox (or any input field) with the data read from the card. This is working great. However, I would like to only allow this to function when the focus is on a specific textbox. For example I only want the user to have the card input to be read into the card info textbox, not the User Name textbox.

Is there a way to ignore or disable a port (USB) ony at certain times?

Thanks

---

<div class="post-metadata">

**Author:** ![adamabelew](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@adamabelew](https://forum.inductiveautomation.com/u/adamabelew)\
**Post date:** [December 30, 2013, 9:17pm UTC](https://forum.inductiveautomation.com/t/disable-hid-0-input-for-specific-textboxes/7766/2 "2013-12-30T21:17:48Z")

</div>

I think I found a way to do it. There is a commandline utility called “DEVCON” that can monitor & control hardware devices. Knowing the hardware ID (vendor specific), the device can be stopped and started.

I can assign the commandline command to a pushbutton to activate the reader, and when done, de-activate it.

I didn’t know this existed.

I have it tested and working at the OS level (WinXP) and will verify functionality later in Ignition.
