[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


    NAME
        CD_SETKEYMAP -- set the current key map structure for this console

    FUNCTION
        Set the current keymap structure used by this console unit to
        the structure pointed to by io_Data.

    IO REQUEST
        io_Message      mn_ReplyPort set if quick I/O is not possible
        io_Device       preset by the call to opendevice
        io_Unit         preset by the call to opendevice
        io_Command      CD_SETKEYMAP
        io_Flags        IOF_QUICK if quick I/O possible, else zero
        io_Length       sizeof(*keyMap)
        io_Data         struct keymap *keymap
                        pointer to a structure that describes
                        the raw keycode to byte stream conversion.

    RESULTS
        This function sets the io_Error field in the iostdreq, and fills
        the current key map from the structure pointed to by io_Data.

    BUGS

    SEE ALSO
        exec/io.h, devices/keymap.h, devices/console.h