python reading devices using evdev
<p>i am trying to read from character devices using evdev </p>

<p><a href="http://autokey.googlecode.com/svn/trunk/src/lib/evdev.py" rel="nofollow">http://autokey.googlecode.com/svn/trunk/src/lib/evdev.py</a></p>

<p>i want to know the mouse positions, keyboard, </p>

<p>at present it only shows the type of device</p>

<pre><code> krisdigitx-Satellite-Pro-L450D src # python evdev.py /dev/input/event8
 &lt;Device name='SynPS/2 Synaptics TouchPad' axes={} buttons={}&gt;
</code></pre>

<p>and does not show any other details, am i missing something??</p>

<p>I also tried, but no result from the poll function..</p>

<pre><code>#!/usr/bin/env python

import evdev

scanner_location = '/dev/input/event6'
dev = evdev.Device(scanner_location)

while 1:
    dev.poll()
</code></pre>
