diff cagou/plugins/plugin_wid_remote.py @ 349:33244f944bd8

core: "key_input" method is now checked and used if suitable in selected widget.
author Goffi <goffi@goffi.org>
date Fri, 17 Jan 2020 18:44:35 +0100
parents e2b51663d8b8
children 4d660b252487
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_remote.py	Fri Jan 17 18:44:32 2020 +0100
+++ b/cagou/plugins/plugin_wid_remote.py	Fri Jan 17 18:44:35 2020 +0100
@@ -34,7 +34,6 @@
 from kivy.uix.label import Label
 from kivy.uix.boxlayout import BoxLayout
 from kivy.uix.floatlayout import FloatLayout
-from kivy.core.window import Window
 from cagou import G
 from functools import partial
 
@@ -187,7 +186,6 @@
         cagou_widget.CagouWidget.__init__(self)
         FilterBehavior.__init__(self)
         TouchMenuBehaviour.__init__(self)
-        Window.bind(on_keyboard=self.key_input)
         self.stack_layout = None
         self.showRootWidget()