• M
    virkeycode: Allow ANSI_A · 72ffbd1b
    Michal Privoznik 提交于
    https://bugzilla.redhat.com/show_bug.cgi?id=1044806
    
    Currently, sending the ANSI_A keycode from os_x codepage doesn't work as
    it has a special value of 0x0. Our internal code handles that no
    different to other not defined keycodes. Hence, in order to allow it we
    must change all the undefined keycodes from 0 to -1 and adapt some code
    too.
    
      # virsh send-key guestname --codeset os_x ANSI_A
      error: invalid keycode: 'ANSI_A'
    
      # virsh send-key guestname --codeset os_x ANSI_B
      # virsh send-key guestname --codeset os_x ANSI_C
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    72ffbd1b
virkeycode-mapgen.py 2.0 KB