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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:49:37+00:00 2026-06-08T04:49:37+00:00

I/O events like keyboard inputs and hardware buttons are handled through /dev/input/event*. How about

  • 0

I/O events like keyboard inputs and hardware buttons are handled through /dev/input/event*. How about device rotations? What is the low-level mechanism, and how can we do record-n-replay as we would for /dev/input/event*?

  • 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-06-08T04:49:39+00:00Added an answer on June 8, 2026 at 4:49 am

    I don’t have the precise mechanism, but the general idea is that rotation is handled by the accelerometer. I am fairly, but not entirely, sure that it is also available via a /dev/input/event mechanism, but if not, it is probably some other, similar, method (i.e. – a character device).

    Also note two things. The first is that you do not have to actually write your own kernel level driver mimicking the precise protocol. You can write your own protocol, and then write a user-level driver to drive these events into the Dalvik infrastructure.

    Shachar

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

Sidebar

Related Questions

Is it possible to have keyboard event listener canvas.addEventListener('onkeydown', ev_keydown, false); like we have
I need to be able to record keyboard events on elements that act like
I know that for handling keyboard events in an input field you can use:
Using jQuery, I would like to capture a keyboard event that is: before the
Is there an on-value-change type of event for data input widgets like Entry, Text,
How are events like onPause, onResume etc for Android Activity taken care of in
I want to detect events like Video is playing Video has been paused Video
AddEventHandler in JavaScript is for handling the events (like onclick ) universally (i.e. on
In a quest for handling events (like mouse moves and clicks) not by subclassing,
I'm using a google events tracker like this: _gaq.push(['_setAccount', 'UA-1422398-23']); _gaq.push(['_trackEvent', 'BookingRequest', 'Parent Name',

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.