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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:56:04+00:00 2026-06-11T03:56:04+00:00

I’m trying to figure out what format the output is from the getevent command

  • 0

I’m trying to figure out what format the output is from the getevent command in the adb shell.

For example, the output looks like this:

adb shell getevent -t | grep event1

The -t flag provides a timestap and the grep is to filter the messages to only the touch screen’s events.

22779-197145: /dev/input/event1: 0003 003a 00400001

22779-197999: /dev/input/event1: 0003 0039 82c30a97

22779-218477: /dev/input/event1: 0003 003a 00390001

22779-219301: /dev/input/event1: 0003 0039 82c30aa4

22779-230623: /dev/input/event1: 0003 003a 002f0001

22779-231416: /dev/input/event1: 0003 0039 82c10aae

22779-242769: /dev/input/event1: 0003 003a 00190001

22779-243623: /dev/input/event1: 0003 0039 82c60ac1

22779-253328: /dev/input/event1: 0003 003a 00000002

22779-254213: /dev/input/event1: 0003 0039 82da0ae4

22779-415590: /dev/input/event1: 0003 003a 00000000

22779-416444: /dev/input/event1: 0003 0039 800b1549

The problem is that I have no idea how to process this information. While the seconds last field alternates between two codes (which has been suggested to correspond to X and Y values), the last field seems to either contain huge or very small numbers.

Furthermore, the timestamp is also foreign to me. I wonder if the part after the dash are nanoseconds?

Does anyone know where I can find out about the format of these things?

  • 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-11T03:56:05+00:00Added an answer on June 11, 2026 at 3:56 am

    /dev/input/eventX is used by evdev linux kernel subsystem which is generic input event layer handling events and passing it timestamped to the apps. You can try this to get more human readable output on what is going on Android with getevent tool, like this:

    $ adb shell getevent -lp /dev/input/event1
    

    To get all getevent‘s options, do:

    $ adb shell getevent --help
    

    You can read more about getevent tool here and about evdev on Wiki.

    According to kernel sources, evdev use nanosecond-resolution time format (ktime) and the sources are in linux/next/include/linux/ktime.h or here, if you want to view it online.

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

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
Does anyone know how can I replace this 2 symbol below from the string
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I'm new to using the Perl treebuilder module for HTML parsing and can't figure

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.