update README.md. closes #64

This commit is contained in:
Mathieu Virbel 2013-07-02 09:20:35 +02:00
parent 5ff62b146e
commit 8e2564ccc8
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ from jnius import autoclass
Hardware = autoclass('org.renpy.android.Hardware') Hardware = autoclass('org.renpy.android.Hardware')
print 'DPI is', Hardware.getDPI() print 'DPI is', Hardware.getDPI()
Hardware.accelerometerEnable() Hardware.accelerometerEnable(True)
for x in xrange(20): for x in xrange(20):
print Hardware.accelerometerReading() print Hardware.accelerometerReading()
sleep(.1) sleep(.1)