コード例 #1
0
ファイル: device.py プロジェクト: BuFuuu/autocompletion_linux
    def repeat(self):
        '''
        Get or set the keyboard repeat rate (in characters per
        minute) and delay (in milliseconds).
        '''

        return KbdInfo(*_input.ioctl_EVIOCGREP(self.fd))
コード例 #2
0
ファイル: device.py プロジェクト: gvalkov/python-evdev
    def repeat(self):
        '''
        Get or set the keyboard repeat rate (in characters per
        minute) and delay (in milliseconds).
        '''

        return KbdInfo(*_input.ioctl_EVIOCGREP(self.fd))