midorable
    Preparing search index...

    Interface InputKeyboardSnapshot

    キーボードのスナップショット

    interface InputKeyboardSnapshot {
        pressedKeys: string[];
    }
    Index

    Properties

    Properties

    pressedKeys: string[]

    現在押されているキーの識別子

    可能な環境では、物理キーの位置を表す KeyboardEvent.code 相当の値を使うことが望ましい。 Platform の制約により取得できない場合は、その環境で一貫したキー識別子を返す。