Changeset 6a208fc in mainline
- Timestamp:
- 2020-12-31T21:27:13Z (4 years ago)
- Children:
- 8fb674b
- Parents:
- a76ba5f3
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2020-06-27 11:48:20)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-12-31 21:27:13)
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/layout/layout.c
ra76ba5f3 r6a208fc 47 47 48 48 /* Dispays help for layout in various levels */ 49 static void print_help( )49 static void print_help(void) 50 50 { 51 51 printf("Changes, lists or displays the current keyboard layout.\n"); -
uspace/lib/c/generic/io/input.c
ra76ba5f3 r6a208fc 254 254 async_exch_t *exch = async_exchange_begin(sess); 255 255 256 aid_t mid = async_send_0(exch, INPUT_ CHANGE_LAYOUT, &call);256 aid_t mid = async_send_0(exch, INPUT_SET_LAYOUT, &call); 257 257 rc = async_data_write_start(exch, layout, str_size(layout)); 258 258 -
uspace/lib/c/include/ipc/input.h
ra76ba5f3 r6a208fc 40 40 typedef enum { 41 41 INPUT_ACTIVATE = IPC_FIRST_USER_METHOD, 42 INPUT_ CHANGE_LAYOUT,42 INPUT_SET_LAYOUT, 43 43 INPUT_GET_LAYOUT 44 44 } input_request_t; -
uspace/srv/hid/input/input.c
ra76ba5f3 r6a208fc 137 137 } 138 138 139 /* Handler for IPC call INPUT_ CHANGE_LAYOUT */140 static void client_ change_layout_handler(ipc_call_t *call)139 /* Handler for IPC call INPUT_SET_LAYOUT */ 140 static void client_set_layout_srv(ipc_call_t *call) 141 141 { 142 142 void *layout_name; … … 153 153 154 154 /* Handler for IPC call INPUT_GET_LAYOUT */ 155 static void client_get_layout_ handler(ipc_call_t *call)155 static void client_get_layout_srv(ipc_call_t *call) 156 156 { 157 157 const char *layout_name = layout_active->name; … … 419 419 async_answer_0(&call, EOK); 420 420 break; 421 case INPUT_ CHANGE_LAYOUT:422 client_ change_layout_handler(&call);421 case INPUT_SET_LAYOUT: 422 client_set_layout_srv(&call); 423 423 break; 424 424 case INPUT_GET_LAYOUT: 425 client_get_layout_ handler(&call);425 client_get_layout_srv(&call); 426 426 break; 427 427 default:
Note:
See TracChangeset
for help on using the changeset viewer.