Hello MSDN_userSince1994_newaccount2023 ,
Based on official documentation and technical resources, here are the answers to your specific points.
1. Is there a #define or enum value to detect this layout?
Yes, but it's not a separate layout ID; it's a feature of the standard Japanese layout.
The Japanese IME On/Off keys are not represented by a separate keyboard layout locale identifier (like 00000411 for the standard Japanese layout). Instead, they are specific keys within the standard Japanese 106/109-key layout.
You detect them by processing their virtual key codes:
- The IME On key has the virtual key code
VK_KANA(0x15). - The IME Off key has the virtual key code
VK_KANJI(0x19), which is also the virtual key for the Kanji (漢字) key.
These are defined in the Windows header files (WinUser.h). When the Japanese input locale is active, pressing these hardware keys generates these VK_ codes.
Official Source: Virtual-Key Codes (Microsoft Learn): https://free.blessedness.top/en-us/windows/win32/inputdev/virtual-key-codes
2. What is the name of this layout in Windows UI?
This is not a selectable "layout" in the Windows Settings app. The IME On/Off keys are a hardware feature of physical Japanese keyboards.
In the Windows UI, you simply select the Microsoft IME for Japanese. The OS and IME are designed to recognize and use these special keys when present on the hardware.
For end-user documentation, the accurate terms are a "Japanese keyboard with dedicated ImeOn and Off keys" or the "109-key Japanese keyboard layout."
3. Is this layout selectable in Windows 11 Japanese IME settings?
No. The Windows IME settings allow you to choose between the 106-key and 109-key layout patterns in the "Hardware keyboard layout" settings. This setting changes the mapping for keys like the [半角/全角] key. The dedicated IME On/Off keys are a fixed part of the 109-key specification's physical design, not a separate software option.
Official Source: Configure the Microsoft Japanese IME (Microsoft Support): https://support.microsoft.com/en-us/windows/microsoft-japanese-ime-da40471d-6b91-4042-ae8b-713a96476916
4. Were these keyboards actually produced and sold in large volume?
Yes, absolutely. This is not a fictional keyboard.
The 109-key JIS (Japanese Industrial Standard) layout, which includes the dedicated IME On (かな) and IME Off (カタカナ) keys, is the standard and prevalent keyboard sold in Japan. If you look at Japanese electronics retailers, the vast majority of keyboards are this 109-key layout.
External Reference: Japanese input method - Keyboard Layouts (Wikipedia): https://en.wikipedia.org/wiki/Japanese_input_method#Keyboard_layouts
5. Is this a fictional keyboard like the Google rotary phone keyboard?
No. The Microsoft documentation reflects the real, standard 109-key JIS keyboard specification that OEMs in Japan have been following for decades. It is as real and common in Japan as the 104-key ANSI layout is in the United States.
The Japanese ImeOn/ImeOff implementation describes the real, standard 109-key JIS keyboard. You detect its special keys not by a layout ID, but by the VK_KANA and VK_KANJI virtual key codes when the Japanese input locale is active.
I hope this fully addresses your question!