Partage
  • Partager sur Facebook
  • Partager sur Twitter

Liste de nom de lettres sur keyboard.

    19 septembre 2022 à 21:25:16

    Bonjour !

    Quelqu'un aurais il l'amabilité de partager une lise complète qui contiens les noms des lettres ?

    C'est pour un usage dans keyboard, dans python.

    Merci.

    Le Théoricien :zorro:

    • Partager sur Facebook
    • Partager sur Twitter
      19 septembre 2022 à 23:41:58

      Salut !

      On peut trouver un dictionnaire dans le GitHub (windows) :

      official_virtual_keys = {
          0x03: ('control-break processing', False),
          0x08: ('backspace', False),
          0x09: ('tab', False),
          0x0c: ('clear', False),
          0x0d: ('enter', False),
          0x10: ('shift', False),
          0x11: ('ctrl', False),
          0x12: ('alt', False),
          0x13: ('pause', False),
          0x14: ('caps lock', False),
          0x15: ('ime kana mode', False),
          0x15: ('ime hanguel mode', False),
          0x15: ('ime hangul mode', False),
          0x17: ('ime junja mode', False),
          0x18: ('ime final mode', False),
          0x19: ('ime hanja mode', False),
          0x19: ('ime kanji mode', False),
          0x1b: ('esc', False),
          0x1c: ('ime convert', False),
          0x1d: ('ime nonconvert', False),
          0x1e: ('ime accept', False),
          0x1f: ('ime mode change request', False),
          0x20: ('spacebar', False),
          0x21: ('page up', False),
          0x22: ('page down', False),
          0x23: ('end', False),
          0x24: ('home', False),
          0x25: ('left', False),
          0x26: ('up', False),
          0x27: ('right', False),
          0x28: ('down', False),
          0x29: ('select', False),
          0x2a: ('print', False),
          0x2b: ('execute', False),
          0x2c: ('print screen', False),
          0x2d: ('insert', False),
          0x2e: ('delete', False),
          0x2f: ('help', False),
          0x30: ('0', False),
          0x31: ('1', False),
          0x32: ('2', False),
          0x33: ('3', False),
          0x34: ('4', False),
          0x35: ('5', False),
          0x36: ('6', False),
          0x37: ('7', False),
          0x38: ('8', False),
          0x39: ('9', False),
          0x41: ('a', False),
          0x42: ('b', False),
          0x43: ('c', False),
          0x44: ('d', False),
          0x45: ('e', False),
          0x46: ('f', False),
          0x47: ('g', False),
          0x48: ('h', False),
          0x49: ('i', False),
          0x4a: ('j', False),
          0x4b: ('k', False),
          0x4c: ('l', False),
          0x4d: ('m', False),
          0x4e: ('n', False),
          0x4f: ('o', False),
          0x50: ('p', False),
          0x51: ('q', False),
          0x52: ('r', False),
          0x53: ('s', False),
          0x54: ('t', False),
          0x55: ('u', False),
          0x56: ('v', False),
          0x57: ('w', False),
          0x58: ('x', False),
          0x59: ('y', False),
          0x5a: ('z', False),
          0x5b: ('left windows', False),
          0x5c: ('right windows', False),
          0x5d: ('applications', False),
          0x5f: ('sleep', False),
          0x60: ('0', True),
          0x61: ('1', True),
          0x62: ('2', True),
          0x63: ('3', True),
          0x64: ('4', True),
          0x65: ('5', True),
          0x66: ('6', True),
          0x67: ('7', True),
          0x68: ('8', True),
          0x69: ('9', True),
          0x6a: ('*', True),
          0x6b: ('+', True),
          0x6c: ('separator', True),
          0x6d: ('-', True),
          0x6e: ('decimal', True),
          0x6f: ('/', True),
          0x70: ('f1', False),
          0x71: ('f2', False),
          0x72: ('f3', False),
          0x73: ('f4', False),
          0x74: ('f5', False),
          0x75: ('f6', False),
          0x76: ('f7', False),
          0x77: ('f8', False),
          0x78: ('f9', False),
          0x79: ('f10', False),
          0x7a: ('f11', False),
          0x7b: ('f12', False),
          0x7c: ('f13', False),
          0x7d: ('f14', False),
          0x7e: ('f15', False),
          0x7f: ('f16', False),
          0x80: ('f17', False),
          0x81: ('f18', False),
          0x82: ('f19', False),
          0x83: ('f20', False),
          0x84: ('f21', False),
          0x85: ('f22', False),
          0x86: ('f23', False),
          0x87: ('f24', False),
          0x90: ('num lock', False),
          0x91: ('scroll lock', False),
          0xa0: ('left shift', False),
          0xa1: ('right shift', False),
          0xa2: ('left ctrl', False),
          0xa3: ('right ctrl', False),
          0xa4: ('left menu', False),
          0xa5: ('right menu', False),
          0xa6: ('browser back', False),
          0xa7: ('browser forward', False),
          0xa8: ('browser refresh', False),
          0xa9: ('browser stop', False),
          0xaa: ('browser search key', False),
          0xab: ('browser favorites', False),
          0xac: ('browser start and home', False),
          0xad: ('volume mute', False),
          0xae: ('volume down', False),
          0xaf: ('volume up', False),
          0xb0: ('next track', False),
          0xb1: ('previous track', False),
          0xb2: ('stop media', False),
          0xb3: ('play/pause media', False),
          0xb4: ('start mail', False),
          0xb5: ('select media', False),
          0xb6: ('start application 1', False),
          0xb7: ('start application 2', False),
          0xbb: ('+', False),
          0xbc: (',', False),
          0xbd: ('-', False),
          0xbe: ('.', False),
          #0xbe:('/', False), # Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '/?.
          0xe5: ('ime process', False),
          0xf6: ('attn', False),
          0xf7: ('crsel', False),
          0xf8: ('exsel', False),
          0xf9: ('erase eof', False),
          0xfa: ('play', False),
          0xfb: ('zoom', False),
          0xfc: ('reserved ', False),
          0xfd: ('pa1', False),
          0xfe: ('clear', False),
      }



      • Partager sur Facebook
      • Partager sur Twitter

      Liste de nom de lettres sur keyboard.

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      • Editeur
      • Markdown