How Do the Phonetic Arabic Keyboards Work?

Windows Langbar on the taskbar
Mac input language menu on the menu bar