Changes

Line 204: Line 204:  
         tw.lc.heap.append(-1)
 
         tw.lc.heap.append(-1)
   −
Look in /sys/devices on your computer to find other devices you may be able to access. Also, if you can work out how to use them...
+
Look in /sys/devices on your computer to find other devices you may be able to access.  
 +
 
 +
Also you can access the following events on the X0-1.75, (some on X0-1.0 -1.5)
 
* accelerometer: /dev/input/event0 ???
 
* accelerometer: /dev/input/event0 ???
 
* power button: /dev/input/event1
 
* power button: /dev/input/event1
Line 212: Line 214:  
* microphone jack: /dev/input/event8
 
* microphone jack: /dev/input/event8
 
* rotate, cursor, and game pad keys: /dev/input/event10
 
* rotate, cursor, and game pad keys: /dev/input/event10
 +
* mouse : /dev/input/mice
    
  def myblock(tw, x):  # ignores second argument
 
  def myblock(tw, x):  # ignores second argument
2,486

edits