code: def enable_extended_scan_code_mode(self):
          
          if not self.capabilities.have_extended_scan_code_mode():
              raise
          self._require_version(major=2)
          self.config_flag('SHORT_TICKET', True)
          self.config_flag('STATIC_TICKET', False)
docs: Extended scan code mode means the Yubikey will output the bytes in
          the 'fixed string' as scan codes, without modhex encoding the data.
  
          Because of the way this is stored in the config flags, it is not
          possible to disable this option once it is enabled (of course, you
          can abort config update or reprogram the YubiKey again).
  
          Requires YubiKey 2.x.