Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/input.c

    r28a5ebd r8edec53  
    11/*
    2  * Copyright (c) 2012 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    164164}
    165165
     166static void input_ev_dclick(input_t *input, ipc_call_t *call)
     167{
     168        int bnum;
     169        errno_t rc;
     170
     171        bnum = ipc_get_arg1(call);
     172
     173        rc = input->ev_ops->dclick(input, bnum);
     174        async_answer_0(call, rc);
     175}
     176
    166177static void input_cb_conn(ipc_call_t *icall, void *arg)
    167178{
     
    196207                        input_ev_button(input, &call);
    197208                        break;
     209                case INPUT_EVENT_DCLICK:
     210                        input_ev_dclick(input, &call);
     211                        break;
    198212                default:
    199213                        async_answer_0(&call, ENOTSUP);
Note: See TracChangeset for help on using the changeset viewer.