override fun toString()

in kotlin-desktop-toolkit/src/main/kotlin/org/jetbrains/desktop/macos/Keyboard.kt [153:279]


    override fun toString(): String {
        return when (this) {
            ANSI_A -> "ANSI_A"
            ANSI_S -> "ANSI_S"
            ANSI_D -> "ANSI_D"
            ANSI_F -> "ANSI_F"
            ANSI_H -> "ANSI_H"
            ANSI_G -> "ANSI_G"
            ANSI_Z -> "ANSI_Z"
            ANSI_X -> "ANSI_X"
            ANSI_C -> "ANSI_C"
            ANSI_V -> "ANSI_V"
            ANSI_B -> "ANSI_B"
            ANSI_Q -> "ANSI_Q"
            ANSI_W -> "ANSI_W"
            ANSI_E -> "ANSI_E"
            ANSI_R -> "ANSI_R"
            ANSI_Y -> "ANSI_Y"
            ANSI_T -> "ANSI_T"
            ANSI_1 -> "ANSI_1"
            ANSI_2 -> "ANSI_2"
            ANSI_3 -> "ANSI_3"
            ANSI_4 -> "ANSI_4"
            ANSI_6 -> "ANSI_6"
            ANSI_5 -> "ANSI_5"
            ANSI_Equal -> "ANSI_Equal"
            ANSI_9 -> "ANSI_9"
            ANSI_7 -> "ANSI_7"
            ANSI_Minus -> "ANSI_Minus"
            ANSI_8 -> "ANSI_8"
            ANSI_0 -> "ANSI_0"
            ANSI_RightBracket -> "ANSI_RightBracket"
            ANSI_O -> "ANSI_O"
            ANSI_U -> "ANSI_U"
            ANSI_LeftBracket -> "ANSI_LeftBracket"
            ANSI_I -> "ANSI_I"
            ANSI_P -> "ANSI_P"
            ANSI_L -> "ANSI_L"
            ANSI_J -> "ANSI_J"
            ANSI_Quote -> "ANSI_Quote"
            ANSI_K -> "ANSI_K"
            ANSI_Semicolon -> "ANSI_Semicolon"
            ANSI_Backslash -> "ANSI_Backslash"
            ANSI_Comma -> "ANSI_Comma"
            ANSI_Slash -> "ANSI_Slash"
            ANSI_N -> "ANSI_N"
            ANSI_M -> "ANSI_M"
            ANSI_Period -> "ANSI_Period"
            ANSI_Grave -> "ANSI_Grave"
            ANSI_KeypadDecimal -> "ANSI_KeypadDecimal"
            ANSI_KeypadMultiply -> "ANSI_KeypadMultiply"
            ANSI_KeypadPlus -> "ANSI_KeypadPlus"
            ANSI_KeypadClear -> "ANSI_KeypadClear"
            ANSI_KeypadDivide -> "ANSI_KeypadDivide"
            ANSI_KeypadEnter -> "ANSI_KeypadEnter"
            ANSI_KeypadMinus -> "ANSI_KeypadMinus"
            ANSI_KeypadEquals -> "ANSI_KeypadEquals"
            ANSI_Keypad0 -> "ANSI_Keypad0"
            ANSI_Keypad1 -> "ANSI_Keypad1"
            ANSI_Keypad2 -> "ANSI_Keypad2"
            ANSI_Keypad3 -> "ANSI_Keypad3"
            ANSI_Keypad4 -> "ANSI_Keypad4"
            ANSI_Keypad5 -> "ANSI_Keypad5"
            ANSI_Keypad6 -> "ANSI_Keypad6"
            ANSI_Keypad7 -> "ANSI_Keypad7"
            ANSI_Keypad8 -> "ANSI_Keypad8"
            ANSI_Keypad9 -> "ANSI_Keypad9"
            Return -> "Return"
            Tab -> "Tab"
            Space -> "Space"
            Delete -> "Delete"
            Escape -> "Escape"
            Command -> "Command"
            Shift -> "Shift"
            CapsLock -> "CapsLock"
            Option -> "Option"
            Control -> "Control"
            RightCommand -> "RightCommand"
            RightShift -> "RightShift"
            RightOption -> "RightOption"
            RightControl -> "RightControl"
            Function -> "Function"
            F17 -> "F17"
            VolumeUp -> "VolumeUp"
            VolumeDown -> "VolumeDown"
            Mute -> "Mute"
            F18 -> "F18"
            F19 -> "F19"
            F20 -> "F20"
            F5 -> "F5"
            F6 -> "F6"
            F7 -> "F7"
            F3 -> "F3"
            F8 -> "F8"
            F9 -> "F9"
            F11 -> "F11"
            F13 -> "F13"
            F16 -> "F16"
            F14 -> "F14"
            F10 -> "F10"
            ContextualMenu -> "ContextualMenu"
            F12 -> "F12"
            F15 -> "F15"
            Help -> "Help"
            Home -> "Home"
            PageUp -> "PageUp"
            ForwardDelete -> "ForwardDelete"
            F4 -> "F4"
            End -> "End"
            F2 -> "F2"
            PageDown -> "PageDown"
            F1 -> "F1"
            LeftArrow -> "LeftArrow"
            RightArrow -> "RightArrow"
            DownArrow -> "DownArrow"
            UpArrow -> "UpArrow"
            ISO_Section -> "ISO_Section"
            JIS_Yen -> "JIS_Yen"
            JIS_Underscore -> "JIS_Underscore"
            JIS_KeypadComma -> "JIS_KeypadComma"
            JIS_Eisu -> "JIS_Eisu"
            JIS_Kana -> "JIS_Kana"
            else -> {
                "UNKNOWN"
            }
        }
    }