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 6682171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:40:30+00:00 2026-05-26T04:40:30+00:00

I am in a project where I will need to write a simple driver

  • 0

I am in a project where I will need to write a simple driver that accepts input from a USB device and preforms actions on GUI according to the received msg (Like writing a usb mouse driver but with my own protocol).
I am searching the possibility of this and I found software testing automation tools like LDTP that already can generate actions like mouse clicks and keyboard hits .
Are there other APIs to use ? How long it will consume given that my team has good understanding of C language and no experience with Linux ?

  • 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-26T04:40:31+00:00Added an answer on May 26, 2026 at 4:40 am

    You have basically two options, that I can think of:

    • X11: Use the XTest extension (XTestFakeDeviceKeyEvent, XTestFakeRelativeMotionEvent, etc.)
    • Module uinput.

    The first one makes use of fake input devices (try running xinput list in the shell) that are present in most (all?) X servers. Each call to one of the XTestFake* function generates an X input message.

    The second one is a kernel module that allows a user application to create input devices and send input events. You simply open the /dev/uinput device, send a few ioctls to configure it, and then write the input events directly.

    And, of course, you can write an input kernel driver!

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

Sidebar

Related Questions

I am starting research on a project that will need to provide ACID semantics
I am about to build a piece of a project that will need to
In my project I need to create a business object validation layer that will
I am creating a simple project that will allow me to upload and download
i need to write simple android application that run on the background and read
I've got an upcoming project wherein I will need to connect our website (
I need to work on C++ project on my windows machine. My project will
I am currently working on a large project and will relatively soon need a
How do you ensure that the project will be build with good design decisions
I need to write some code that deals with generating and manipulating multivariable polynomials.

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.