Firesphere\YubiAuth\Helpers\QwertyConvertor
Synopsis
class QwertyConvertor
{
- // members
- protected static string $dvorak = "[]',.pyfgcrl/=aoeuidhtns-;qjkxbmwvz{}\"<>PYFGCRL?+AOEUIDHTNS_:QJKXBMWVZ";
- protected static string $qwerty = "-=qwertyuiop[]asdfghjkl;'zxcvbnm,./_+QWERTYUIOP{}ASDFGHJKL:\"ZXCVBNM<>?";
- protected static string $azerty = ")-azertyuiop^\$qsdfghjklmùwxcvbn,;:=°_AZERTYUIOP¨*QSDFGHJKLM%WXCVBN?./+";
- // methods
- public static string convertString()
- public static string convertToQwerty()
Members
protected
- $azerty
—
string
This might be tricky to detect, as the initial position of C seems to be the same - $dvorak — string
- $qwerty — string
Methods
public
- convertString() — Detect different keyboard layouts and return the converted string.
- convertToQwerty()