Skip to content

SysReq key not being sent? #168

@frioux

Description

@frioux

I have a custom layout at http://github.com/frioux/tmk_keyboard, it's a fork of @cub-uanic's ergodox port. I wanted to add a SYSREQ key and for some reason it never seems to send the right keycode. On a regular keyboard, Alt+SysReq sends this:

  KeyPress event, serial 41, synthetic NO, window 0x2400001,
      root 0x9e, subw 0x0, time 3955817, (574,832), root:(575,852),
      state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
      XLookupString gives 0 bytes: 
      XmbLookupString gives 0 bytes: 
      XFilterEvent returns: False

  KeyPress event, serial 41, synthetic NO, window 0x2400001,
      root 0x9e, subw 0x0, time 3955817, (574,832), root:(575,852),
      state 0x8, keycode 107 (keysym 0xff15, Sys_Req), same_screen YES,
      XLookupString gives 0 bytes: 
      XmbLookupString gives 0 bytes: 
      XFilterEvent returns: False

  KeyRelease event, serial 41, synthetic NO, window 0x2400001,
      root 0x9e, subw 0x0, time 3955817, (574,832), root:(575,852),
      state 0x8, keycode 107 (keysym 0xff15, Sys_Req), same_screen YES,
      XLookupString gives 0 bytes: 
      XFilterEvent returns: False

  KeyRelease event, serial 41, synthetic NO, window 0x2400001,
      root 0x9e, subw 0x0, time 3955817, (574,832), root:(575,852),
      state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
      XLookupString gives 0 bytes: 
      XFilterEvent returns: False

on my ergodox, Alt+SysReq sends this:

  KeyPress event, serial 35, synthetic NO, window 0x2a00001,
      root 0x9e, subw 0x0, time 4016519, (279,757), root:(280,777),
      state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
      XLookupString gives 0 bytes: 
      XmbLookupString gives 0 bytes: 
      XFilterEvent returns: False

  KeyPress event, serial 35, synthetic NO, window 0x2a00001,
      root 0x9e, subw 0x0, time 4017255, (279,757), root:(280,777),
      state 0x8, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
      XLookupString gives 0 bytes: 
      XmbLookupString gives 0 bytes: 
      XFilterEvent returns: False

  KeyRelease event, serial 35, synthetic NO, window 0x2a00001,
      root 0x9e, subw 0x0, time 4017551, (279,757), root:(280,777),
      state 0x8, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
      XLookupString gives 0 bytes: 
      XFilterEvent returns: False

  KeyRelease event, serial 35, synthetic NO, window 0x2a00001,
      root 0x9e, subw 0x0, time 4017559, (279,757), root:(280,777),
      state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
      XLookupString gives 0 bytes: 
      XFilterEvent returns: False

I noticed that no one else ever uses the SYSREQ key, at least in the default tmk
repo. Is it possible that maybe it's incorrectly defined?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions