Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 11: Unresponsive or Faulty in Games #789

Open
bissiasjason opened this issue Jan 12, 2024 · 0 comments
Open

Windows 11: Unresponsive or Faulty in Games #789

bissiasjason opened this issue Jan 12, 2024 · 0 comments

Comments

@bissiasjason
Copy link

Hello all,

When trying to play games, there is some faulty behavior in some. I tested multiple non-game programs and they all work fine (various text editors, Ableton Live 10, GIMP, Spotify, Firefox). All of these are while KMonad is running. The moment I shut it down, it's back to normal.

Games that do not work at all:

  • Lethal Company
  • Stardew Valley
  • Elite Dangerous

Games with faulty behavior:

  • Battlefield 4 (any key I press makes my player turn to the left. Especially strange since I don't have any keys mapped to looking)
  • Burnout Paradise Remastered (Only thing that works is pressing Space at the first button prompt as you boot the game. Otherwise, nothing comes in)
  • Zork Anthology (Only tested the first game. In normal mode it works fine, but in my second layer it presses the normal first and then the altered layer)

Games that work as expected:

  • Fallout 4 (surprising)
  • Terraria
  • BallisticNG
  • Risk of Rain 2
  • The Binding of Isaac

This is my config (based on the US ANSI 100% template):

(defcfg 
 input (low-level-hook)
 output (send-event-sink)

 fallthrough false
 allow-cmd false
)

(defsrc
  esc  f1   f2   f3   f4   f5   f6   f7   f8   f9   f10  f11  f12        ssrq slck pause
  grv  1    2    3    4    5    6    7    8    9    0    -    =    bspc  ins  home pgup  nlck kp/  kp*  kp-
  tab  q    w    e    r    t    y    u    i    o    p    [    ]    \     del  end  pgdn  kp7  kp8  kp9  kp+
  caps a    s    d    f    g    h    j    k    l    ;    '    ret                        kp4  kp5  kp6
  lsft z    x    c    v    b    n    m    ,    .    /    rsft                 up         kp1  kp2  kp3  kprt
  lctl lmet lalt           spc            rmet ralt cmp  rctl            left down rght  kp0  kp.
)

(defalias lef (layer-switch leHa))	;;switching to Left Hand mode
(defalias nor (layer-switch norm))	;;switching to normal mode
(defalias elf (around slck @lef))	;;to be able to turn on Scroll-Lock light on keyboard
(defalias ron (around slck @nor))	;;ditto

(deflayer norm
  esc  f1   f2   f3   f4   f5   f6   f7   f8   f9   f10  f11  f12        ssrq @elf pause
  grv  1    2    3    4    5    6    7    8    9    0    -    =    bspc  ins  home pgup  nlck kp/  kp*  kp-
  tab  q    w    e    r    t    y    u    i    o    p    [    ]    \     del  end  pgdn  kp7  kp8  kp9  kp+
  caps a    s    d    f    g    h    j    k    l    ;    '    ret                        kp4  kp5  kp6
  lsft z    x    c    v    b    n    m    ,    .    /    rsft                 up         kp1  kp2  kp3  kprt
  lctl lmet lalt           spc            rmet ralt cmp  rctl            left down rght  kp0  kp.
)


(deflayer leHa
  esc  f12  f11  f10  f9   f8   f7   f6   f5   f4   f3   f2   f1         ssrq @ron pause
  bspc =    -    0    9    8    7    6    5    4    3    2    1    grv   ins  home pgup  nlck kp/  kp*  kp-
  ret  p    o    i    u    y    t    r    e    w    q    [    ]    \     del  end  pgdn  kp7  kp8  kp9  kp+
  caps ;    l    k    j    h    g    f    a    s    d    '    tab                        kp4  kp5  kp6
  rsft /    m    n    b    v    c    x    ,    .    z    lsft                 up         kp1  kp2  kp3  kprt
  lctl rmet ralt           spc            lmet lalt cmp  lctl            left down rght  kp0  kp.
)

Side note: the faulty behavior was present also before the Scroll Lock backdoor (elf and ron) was implemented, therefore I don't believe Scroll Lock is to blame for the weirdness.

Thank y'all in advance for your time and help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant