Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6071663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:04:23+00:00 2026-05-23T10:04:23+00:00

I would like to create an external pushbutton to use with one of my

  • 0

I would like to create an external pushbutton to use with one of my applications. My question does not focus on the hardware itself (that’s why I’m asking it here), but on the software/communication side. What would be the best and most straightforward way to do? A good speed is important, so it should not differ too much from the latency of a normal keyboard.

The following solutions come to my mind:

  • let the hardware be a modified keyboard, or at least it should be recognized by the system as a keyboard. Pro: no extra work from software-side required. Con: what if I need to use a normal keyboard as well? Ok, not so bad, with today’s USB keyboards…
  • Communicate through serial port. This would be the most straightforward approach, or better yet, it would have been like 10 years ago. Now most computers don’t even have one, of course, there are plenty of serial-usb converters around.
  • Let it be a standard USB device. I don’t like the idea, with installing drivers, and having to care about different OS, etc.

Does anything better come to your minds?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:04:24+00:00Added an answer on May 23, 2026 at 10:04 am

    The USB keyboard class HID seems the best to me. You can use different scancodes than standard keyboards, or less often used like those used for app-specific buttons on some keyboards. (Note that current X.Org drivers are still limited to scancodes < 256.)

    Probably it’s not hard to find a reference HID keyboard implementation for your device, too.

    Serial ports are rare in modern PCs and especially notebooks; even if the system board has RS232 circuitry it has no external connector.

    Writing a custom driver for the PC side means much more work and more space for bugs. You’re far safer using a time-proven standard driver.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a COM object that runs in an out of
I would like to create a stored procedure with parameters that indicate which fields
I would like to create a custom document library where I use the standard
I would like to use Powershell to create a couple of scheduled tasks, on
I create .NET applications for a mid-sized manufacturing company. I would like to create
On external website (not fb page) would like to put like button where once
i would like to set up an external configuration file that I can store
I'm not sure if this is possible, but i would like to create an
I would like to create wordpress plugin that will display quote of the day.
I would like to create a crawler using php that would give me a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.