Skip to content
  • Andreas Wettstein's avatar
    xkb: Suppress autorepeat for Set and Lock of Mods, Groups, and Controls · 5447ac45
    Andreas Wettstein authored and Adam Jackson's avatar Adam Jackson committed
    
    
    The autorepeat for these actions was not correctly implemented, as the key
    repeat would be mistakenly interpreted as key releases.  Rather than fixing
    this, this change simply disables autorepeat for Set/Lock actions, for two
    reasons:
    
    - Autorepeating Set/Lock keys make complicate the interactions of actions.
    
    - Autorepeating Set/Lock keys have no apparent benefit, but hurt in the real
      world for layouts such as de(neo): Neo has a Level5 shift on the LSGT key,
      and a Level5 lock on Level5 of the same key.  This is unusable if LSGT
      autorepeats.  However, disabling autorepeat for key LSGT completely is not
      ideal for users that have a "usual" layout besides Neo, where LSGT carries
      symbols.
    
    Signed-off-by: default avatarAndreas Wettstein <wettstein509@solnet.ch>
    Reviewed-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
    5447ac45