Left and Up Arrow keys input are wrong
https://askubuntu.com/questions/1567605/left-and-up-arrow-keys-input-are-wrongI'm new to Linux, but haven't struggled with an issue like this. A few minutes after restarting today, I noticed my Left and Up Arrow keys behaving weirdly, and, after some research, tried running the evtest command. It failed to install the first time, and after some time looking into that, then other possible solutions, followed by a restart (upon which I found the issue persisted), I tried again, and when first successfully running the command, it displayed the expected inputs for Left Arrow and Up Arrow.
I thought this was weird, and, in the process of writing a question here, realised the inputs were, in fact, normal, and the issue seemed to have resolved itself, so I deleted the drafted question and hoped for the best.
But a few minutes later, somehow, it's back, and this time, when running the evtest command, I did get something else:
Properties:
Testing ... (interrupt to exit)
Event: time 1781003817.237160, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003817.237160, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 1
Event: time 1781003817.237160, -------------- SYN_REPORT ------------
“”^[[24~Event: time 1781003817.293081, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003817.293081, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 0
Event: time 1781003817.293081, -------------- SYN_REPORT ------------
Event: time 1781003818.093134, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003818.093134, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 1
Event: time 1781003818.093134, -------------- SYN_REPORT ------------
“”Event: time 1781003818.205096, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b5
Event: time 1781003818.205096, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 0
Event: time 1781003818.205096, -------------- SYN_REPORT ------------
Event: time 1781003823.957103, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003823.957103, type 1 (EV_KEY), code 144 (KEY_FILE), value 1
Event: time 1781003823.957103, -------------- SYN_REPORT ------------
^[^[^[\^[[1;3S^[g^[h^[[17;3~Event: time 1781003824.021127, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003824.021127, type 1 (EV_KEY), code 144 (KEY_FILE), value 0
Event: time 1781003824.021127, -------------- SYN_REPORT ------------
Event: time 1781003824.629021, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003824.629021, type 1 (EV_KEY), code 144 (KEY_FILE), value 1
Event: time 1781003824.629021, -------------- SYN_REPORT ------------
^[^[^[\^[[1;3S^[g^[h^[[17;3~Event: time 1781003824.685136, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0194
Event: time 1781003824.685136, type 1 (EV_KEY), code 144 (KEY_FILE), value 0
Event: time 1781003824.685136, -------------- SYN_REPORT ------------
The first two sets of events are Left Arrow, the second two are Up Arrow. I should note that Left Arrow also occasionally opens the Context Menu, as if I had pressed Right Mouse Button. These two keys are the only ones behaving oddly, and, while briefly testing another keyboard, its own worked just fine, despite both keyboards being plugged in and tested at the same time (unfortunatly, I can't use the other keyboard for more than testing, as a few of its keys have stopped working altogether).
I'm running Ubuntu 26.04 LTS.







