X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/fa75b1df8242dff846bd0fd6c2a274170892b73a..b7a1c3230642ebb22d03c135811ed272352423ee:/src/minwii/logfilereader.py?ds=sidebyside diff --git a/src/minwii/logfilereader.py b/src/minwii/logfilereader.py index a5a2d35..57cdc60 100755 --- a/src/minwii/logfilereader.py +++ b/src/minwii/logfilereader.py @@ -99,6 +99,16 @@ class LogFileReader(object) : mode = l.split(':', 1)[1].strip() return mode + @inplaceread + def getHID(self) : + "retourne l'interface homme-machine utilisée" + for l in self : + if l.startswith('APP HID :') : + break + + mode = l.split(':', 1)[1].strip() + return mode + @inplaceread def getFirstEventTicks(self) : "retourne le timecode du premier événement (entier)"