Changeset 8edec53 in mainline for uspace/srv/hid/input/input.c
- Timestamp:
- 2021-10-25T17:51:10Z (2 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 91ece11b
- Parents:
- 805a149
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
r805a149 r8edec53 1 1 /* 2 * Copyright (c) 2021 Jiri Svoboda 2 3 * Copyright (c) 2006 Josef Cejka 3 * Copyright (c) 2011 Jiri Svoboda4 4 * All rights reserved. 5 5 * … … 311 311 } 312 312 313 /** Arbitrate client actiovation */ 313 /** Mouse button has been double-clicked. */ 314 void mouse_push_event_dclick(mouse_dev_t *mdev, int bnum) 315 { 316 list_foreach(clients, link, client_t, client) { 317 if (client->active) { 318 async_exch_t *exch = async_exchange_begin(client->sess); 319 async_msg_1(exch, INPUT_EVENT_DCLICK, bnum); 320 async_exchange_end(exch); 321 } 322 } 323 } 324 325 /** Arbitrate client activation */ 314 326 static void client_arbitration(void) 315 327 {
Note:
See TracChangeset
for help on using the changeset viewer.