Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/console/src/console.c

    rd0dfbba r69c376b5  
    11/*
    2  * Copyright (c) 2026 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2006 Josef Cejka
    44 * Copyright (c) 2006 Jakub Vana
     
    4545#include <io/console.h>
    4646#include <ipc/console.h>
    47 #include "../private/console.h"
    4847
    4948console_ctrl_t *console_init(FILE *ifile, FILE *ofile)
     
    194193                event->ev.key.mods = ipc_get_arg4(call);
    195194                event->ev.key.c = ipc_get_arg5(call);
    196                 return EOK;
     195                break;
    197196        case CEV_POS:
    198197                event->ev.pos.pos_id = ipc_get_arg2(call) >> 16;
     
    201200                event->ev.pos.hpos = ipc_get_arg4(call);
    202201                event->ev.pos.vpos = ipc_get_arg5(call);
    203                 return EOK;
    204         case CEV_RESIZE:
    205                 return EOK;
    206         }
    207 
    208         return EIO;
     202                break;
     203        default:
     204                return EIO;
     205        }
     206
     207        return EOK;
    209208}
    210209
Note: See TracChangeset for help on using the changeset viewer.