I have a keyboard that has a scroll wheel, but it doesn't work on Ubuntu and xev command doesn't show anything when moving it. But with the dmesg command I found this:When moving the scroll wheel up:atkbd serio0: Unknown key pressed (translated set 2, code 0x8b on isa0060/serio0).atkbd serio0: Use 'setkeycodes e00b <keycode>' to make it known.When moving the scroll wheel down:atkbd serio0: Unknown key released (translated set 2, code 0x8b on isa0060/serio0).atkbd serio0: Use 'setkeycodes e00b <keycode>' to make it known.It seems to be the same key but the pressed/released change if moving it up/down.xmodmap -pke | grep croll shows:keycode  78 = Scroll_Lock NoSymbol Scroll_Lockkeycode 185 = XF86ScrollUp NoSymbol XF86ScrollUpkeycode 186 = XF86ScrollDown NoSymbol XF86ScrollDownHow do I configure it so when pressed is keycode 185 and when released is keycode 186?
Using setkeycodes to map pressed and released to different keys
linux;ubuntu;keyboard;keyboard shortcuts;keyboard layout