If you bind your volume key to a control, it will call it "scancode.256"
I found this bug when my Logitech mouse's side-buttons stopped working in minecraft, because they also lowered my PC volume.
Linked issues
is duplicated by 1
relates to 3
Attachments
Comments 11
@violine1101 I think for me it has something to do with the fact that my mouse4 and mouse5 also control my volume outside of games. It hasn't done that ingame until this snapshot, now that they appear as scancode.256
This seems to have extended to several keys, including all media keys as well as Mouse6 and Mouse7 for me, and the thing shown in the Controls settings is even weirder now.
Worth noting that SOH is Start of Heading, ␁, which is codepoint $01
, which may be an indicator that the game is reading garbage data. in all, the string "␁\␁]␁" is $01 5c 01 5b 01
. This string was mentioned for scancode.310 in this MinecraftForum post, which went unanswered, back in 1.8.9. RShift is 229
according to this table, however this user's keyboard seems to be nonstandard, as they were able to get RShift recognized by holding Mouse1 at the same time they hit the key. Scancode 310
should be a modifier key according to the earlier table, however that table seems to conflict with the data gathered for MC-170376, so this should be taken with a grain of salt. Code analysis will need to be done to disambiguate whether the game is actually referring to scancodes, or is erroneously referring to keycodes as scancodes.
I can't get SOHSOHSOH to show up at all in the recent versions I've tested (1.20.2 and snapshots for 1.20.3), but scancode.256 has shown up plenty of times. Can this ticket be renamed back?
The ownership of this report can be given to anyone who wants it by the way, as I'm not personally updating it
I can assign Mouse 4 and Mouse 5 just fine, but the
scancode.256
appears if I use any of the volume controls on my keyboard.