Ask HN: How do you call the "-" on a keyboard? |
Ask HN: How do you call the "-" on a keyboard? |
VK_OEM_MINUS 0xBD For any country/region, the Dash and Underscore key
VK_SUBTRACT 0x6D Subtract key
I'm not sure if I've ever heard someone say "Subtract key" but I guess it makes sense for it's purpose on the numpad
This other source has a different description: https://learn.microsoft.com/en-us/dotnet/api/system.windows....
OemMinus 189 The OEM minus key on any country/region keyboard.
I do it a little differently for the character (versus the key). That's probably more important because I'm almost always referring to the character, not the key. I call that a "minus", "hyphen", or "dash" depending on the context it's being used in.