← Back to context

Comment by firesteelrain

5 days ago

I have a calculator button on my Dell laptop. Some of these keys are just macros.

The calculator button is one of the "standardized" buttons, it isn't even as complex as macro as it turns out!

And very handy

  • Really? I had assumed it was running calc.exe via some hidden command line window

    • Yep! It's basically just a button that tells the OS "open the system calculator"

      ~~

      I looked it up, the Human Interface Devices usage "Consumer Control" code assigned to "Application Launch - Calculator" is 0x0C0192 or 0x192

      This keypress is sent as a scancode/keycode, not an ASCII character. On Windows, this opens calc.exe by default, but you can change which app opens in response to the calculator key by editing the media key mappings in the Registry