release input devices on reader exit
This commit is contained in:
1 parent
b71ac38d3b
commit
4c71c628d3
1 file changed
+3
-1
+3
-1
@@ -138,7 +138,9 @@ end
|
||||
-- screen orientation and upside down mode 09.03 2012
|
||||
Screen:setRotationMode(Screen.native_rotation_mode)
|
||||
|
||||
input.closeAll()
|
||||
if util.isEmulated()==0 then
|
||||
os.execute("killall -cont cvm")
|
||||
os.execute('echo "send '..KEY_MENU..'" > /proc/keypad;echo "send '..KEY_MENU..'" > /proc/keypad')
|
||||
-- send double menu key press events to trigger screen refresh
|
||||
os.execute("echo 'send 139' > /proc/keypad;echo 'send 139' > /proc/keypad")
|
||||
end
|
||||
Reference in new issue
Block a user