pysynth/wrappers/querty.py
def start(self):

        """
        We setup and configure the tkinter front end for getting keys.

        We also disable 'xset' on linux machines,
        which causes problems with how key inputs are configured.
        """

        # Check if we are on linux:

        if platform.system() == 'Linux':

            # Disable 'xset'

            os.system("xset r off")

        # Configure TKinter input window

        self.root = Tk()
        self.frame = Frame(self.root, width=100, height=100)
        self.frame.bind("<KeyPress>", self.decoder.key_pressed)
        self.frame.bind("<KeyRelease>", self.decoder.key_released)
        self.frame.pack()

        self.frame.focus_set()
        self.root.mainloop()

        We setup and configure the tkinter front end for getting keys.

        We also disable 'xset' on linux machines,
        which causes problems with how key inputs are configured.
        
We setup and configure the tkinter front end for getting keys.
We also disable 'xset' on linux machines,
which causes problems with how key inputs are configured.
We setup and configure the tkinter front end for getting keys . We also disable ' xset ' on linux machines which causes problems with how key inputs are configured .
def start(self):
        if platform.system() == 'Linux':
            os.system("xset r off")
        self.root = Tk()
        self.frame = Frame(self.root, width=100, height=100)
        self.frame.bind("<KeyPress>", self.decoder.key_pressed)
        self.frame.bind("<KeyRelease>", self.decoder.key_released)
        self.frame.pack()
        self.frame.focus_set()
        self.root.mainloop()
def start ( self ) : if platform . system ( ) == 'Linux' : os . system ( "xset r off" ) self . root = Tk ( ) self . frame = Frame ( self . root , width = 100 , height = 100 ) self . frame . bind ( "<KeyPress>" , self . decoder . key_pressed ) self . frame . bind ( "<KeyRelease>" , self . decoder . key_released ) self . frame . pack ( ) self . frame . focus_set ( ) self . root . mainloop ( )
We setup and configure the tkinter front end for getting keys.
We setup and configure the tkinter front end for getting keys .
"""
        We setup and configure the tkinter front end for getting keys.

        We also disable 'xset' on linux machines,
        which causes problems with how key inputs are configured.
        """ # Check if we are on linux: # Disable 'xset' # Configure TKinter input window
self