How to use backslash in JIS keyboard layout

Disclaimer: Made with Google Gemini-Pro prompts If you use a physical Japanese (JIS) hardware keyboard layout on a modern Mac, you have likely run into a frustrating quirk: even if you change your macOS text settings to output a backslash (\) instead of a Yen sign (¥), Google Chrome, VS Code, and Slack will completely ignore your system settings. While the macOS Terminal respects the software substitution, web browsers and electron apps read the raw hardware keycode (0x5C) directly from your Japanese keyboard, forcing the ¥ symbol onto your screen unless you hold down Option + ¥....

 May 30, 2026  •   4 min  •   694 words  •   Suyog Garg