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 commang 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_Lock
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown
How do I configure it so when "pressed" is keycode 185 and when "released" is keycode 186?