/third_party/weston/clients/ |
D | keyboard.c | 42 struct keyboard; 61 struct keyboard *keyboard; member 265 struct keyboard { struct 266 struct virtual_keyboard *keyboard; argument 286 label_from_key(struct keyboard *keyboard, in label_from_key() argument 290 return style_labels[keyboard->keyboard->preedit_style]; in label_from_key() 292 switch(keyboard->state) { in label_from_key() 305 draw_key(struct keyboard *keyboard, in draw_key() argument 328 label = label_from_key(keyboard, key); in draw_key() 343 get_current_layout(struct virtual_keyboard *keyboard) in get_current_layout() argument [all …]
|
D | simple-im.c | 53 typedef void (*keyboard_input_key_handler_t)(struct simple_im *keyboard, 63 struct wl_keyboard *keyboard; member 122 struct simple_im *keyboard = data; in handle_reset() local 126 keyboard->compose_state = state_normal; in handle_reset() 150 struct simple_im *keyboard = data; in handle_commit_state() local 152 keyboard->serial = serial; in handle_commit_state() 178 struct simple_im *keyboard = data; in input_method_keyboard_keymap() local 192 keyboard->keymap = in input_method_keyboard_keymap() 193 xkb_keymap_new_from_string(keyboard->xkb_context, in input_method_keyboard_keymap() 201 if (!keyboard->keymap) { in input_method_keyboard_keymap() [all …]
|
D | multi-resource.c | 55 struct wl_keyboard *keyboard; member 296 keyboard_handle_keymap(void *data, struct wl_keyboard *keyboard, in keyboard_handle_keymap() argument 304 keyboard_handle_enter(void *data, struct wl_keyboard *keyboard, in keyboard_handle_enter() argument 311 keyboard_handle_leave(void *data, struct wl_keyboard *keyboard, in keyboard_handle_leave() argument 317 keyboard_handle_key(void *data, struct wl_keyboard *keyboard, in keyboard_handle_key() argument 324 keyboard_handle_modifiers(void *data, struct wl_keyboard *keyboard, in keyboard_handle_modifiers() argument 347 if (device->p.keyboard == NULL) { in start_device() 348 device->p.keyboard = in start_device() 350 wl_keyboard_add_listener(device->p.keyboard, in start_device() 372 if (device->p.keyboard) in destroy_device() [all …]
|
/third_party/weston/tests/ |
D | keyboard-test.c | 78 struct keyboard *keyboard = client->input->keyboard; in TEST() local 84 assert(keyboard->key == expect_key); in TEST() 85 assert(keyboard->state == expect_state); in TEST() 86 assert(keyboard->focus == expect_focus); in TEST() 88 if (keyboard->state == WL_KEYBOARD_KEY_STATE_PRESSED) { in TEST() 91 } else if (keyboard->focus) { in TEST() 113 struct keyboard *keyboard = client->input->keyboard; in TEST() local 118 assert(keyboard->key_time_msec == timespec_to_msec(&t1)); in TEST() 119 assert(timespec_eq(&keyboard->key_time_timespec, &t1)); in TEST() 122 assert(keyboard->key_time_msec == timespec_to_msec(&t2)); in TEST() [all …]
|
D | devices-test.c | 68 assert(cl->input->keyboard); in TEST() 71 assert(!cl->input->keyboard); in TEST() 87 assert(cl->input->keyboard); in TEST() 107 assert(cl->input->keyboard); in TEST() 127 assert(cl->input->keyboard); in TEST() 145 assert(cl->input->keyboard); in TEST() 162 wl_keyboard_release(cl->input->keyboard->wl_keyboard); in TEST() 163 free(cl->input->keyboard); in TEST() 164 cl->input->keyboard = NULL; in TEST() 218 wl_keyboard_release(cl->input->keyboard->wl_keyboard); in TEST() [all …]
|
D | weston-test-client-helper.c | 260 struct keyboard *keyboard = data; in keyboard_handle_enter() local 263 keyboard->focus = wl_surface_get_user_data(wl_surface); in keyboard_handle_enter() 265 keyboard->focus = NULL; in keyboard_handle_enter() 268 keyboard->focus); in keyboard_handle_enter() 275 struct keyboard *keyboard = data; in keyboard_handle_leave() local 277 keyboard->focus = NULL; in keyboard_handle_leave() 288 struct keyboard *keyboard = data; in keyboard_handle_key() local 290 keyboard->key = key; in keyboard_handle_key() 291 keyboard->state = state; in keyboard_handle_key() 292 keyboard->key_time_msec = time_msec; in keyboard_handle_key() [all …]
|
/third_party/boost/libs/statechart/example/Keyboard/ |
D | Keyboard.cpp | 109 void DisplayStateConfiguration( const Keyboard & keyboard ) in DisplayStateConfiguration() argument 113 for ( Keyboard::state_iterator pLeafState = keyboard.state_begin(); in DisplayStateConfiguration() 114 pLeafState != keyboard.state_end(); ++pLeafState ) in DisplayStateConfiguration() 158 Keyboard keyboard; in main() local 159 keyboard.initiate(); in main() 160 DisplayStateConfiguration( keyboard ); in main() 161 keyboard.process_event( EvNumLockPressed() ); in main() 162 DisplayStateConfiguration( keyboard ); in main() 163 keyboard.process_event( EvRequestShutdown() ); in main() 164 keyboard.process_event( EvCapsLockPressed() ); in main() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_keyboard.c | 556 SDL_Keyboard *keyboard = &SDL_keyboard; in SDL_KeyboardInit() local 559 SDL_memcpy(keyboard->keymap, SDL_default_keymap, sizeof(SDL_default_keymap)); in SDL_KeyboardInit() 566 SDL_Keyboard *keyboard = &SDL_keyboard; in SDL_ResetKeyboard() local 573 if (keyboard->keystate[scancode] == SDL_PRESSED) { in SDL_ResetKeyboard() 588 SDL_Keyboard *keyboard = &SDL_keyboard; in SDL_SetKeymap() local 594 SDL_memcpy(&keyboard->keymap[start], keys, sizeof(*keys) * length); in SDL_SetKeymap() 606 SDL_Keyboard *keyboard = &SDL_keyboard; in SDL_GetKeyboardFocus() local 608 return keyboard->focus; in SDL_GetKeyboardFocus() 614 SDL_Keyboard *keyboard = &SDL_keyboard; in SDL_SetKeyboardFocus() local 616 if (keyboard->focus && !window) { in SDL_SetKeyboardFocus() [all …]
|
/third_party/weston/libweston/ |
D | bindings.c | 205 struct weston_keyboard *keyboard = grab->keyboard; in binding_key() local 206 struct wl_display *display = keyboard->seat->compositor->wl_display; in binding_key() 211 weston_keyboard_end_grab(grab->keyboard); in binding_key() 212 if (keyboard->input_method_resource) in binding_key() 213 keyboard->grab = &keyboard->input_method_grab; in binding_key() 220 if (!wl_list_empty(&keyboard->focus_resource_list)) { in binding_key() 223 wl_resource_for_each(resource, &keyboard->focus_resource_list) { in binding_key() 240 wl_resource_for_each(resource, &grab->keyboard->focus_resource_list) { in binding_modifiers() 252 weston_keyboard_end_grab(grab->keyboard); in binding_cancel() 263 install_binding_grab(struct weston_keyboard *keyboard, in install_binding_grab() argument [all …]
|
D | input.c | 406 struct weston_keyboard *keyboard = in keyboard_focus_resource_destroyed() local 410 weston_keyboard_set_focus(keyboard, NULL); in keyboard_focus_resource_destroyed() 986 weston_keyboard_has_focus_resource(struct weston_keyboard *keyboard) in weston_keyboard_has_focus_resource() argument 988 if (!keyboard->focus) in weston_keyboard_has_focus_resource() 991 if (wl_list_empty(&keyboard->focus_resource_list)) in weston_keyboard_has_focus_resource() 1009 weston_keyboard_send_key(struct weston_keyboard *keyboard, in weston_keyboard_send_key() argument 1014 struct wl_display *display = keyboard->seat->compositor->wl_display; in weston_keyboard_send_key() 1019 if (!weston_keyboard_has_focus_resource(keyboard)) in weston_keyboard_send_key() 1022 resource_list = &keyboard->focus_resource_list; in weston_keyboard_send_key() 1027 &keyboard->timestamps_list, in weston_keyboard_send_key() [all …]
|
D | data-device.c | 639 struct weston_keyboard *keyboard = drag->base.keyboard_grab.keyboard; in data_device_end_pointer_drag_grab() local 643 weston_keyboard_end_grab(keyboard); in data_device_end_pointer_drag_grab() 739 struct weston_keyboard *keyboard = drag->base.keyboard_grab.keyboard; in data_device_end_touch_drag_grab() local 743 weston_keyboard_end_grab(keyboard); in data_device_end_touch_drag_grab() 849 struct weston_keyboard *keyboard = grab->keyboard; in drag_grab_keyboard_modifiers() local 854 if (mods_depressed & (1 << keyboard->xkb_info->shift_mod)) in drag_grab_keyboard_modifiers() 856 else if (mods_depressed & (1 << keyboard->xkb_info->ctrl_mod)) in drag_grab_keyboard_modifiers() 872 struct weston_pointer *pointer = grab->keyboard->seat->pointer_state; in drag_grab_keyboard_cancel() 873 struct weston_touch *touch = grab->keyboard->seat->touch_state; in drag_grab_keyboard_cancel() 917 struct weston_keyboard *keyboard = in weston_pointer_start_drag() local [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/services/ |
D | keyboard_key.dart | 14 /// A base class for all keyboard key types. 31 /// context of any modifiers, modes, or keyboard layouts which may be in effect. 34 /// in a particular location on the keyboard, without regard for the modifier 35 /// state, mode, or keyboard layout. 40 /// looking for "the key next next to the TAB key", since on a French keyboard, 44 /// "A" key on a QWERTY keyboard) moved the player to the left, you'd want to 46 /// key produces, you got the key that is in that location on the keyboard. 58 /// // The node used to request the keyboard focus. 120 /// * [RawKeyEvent], the keyboard event object received by widgets that listen 121 /// to keyboard events. [all …]
|
D | raw_keyboard.dart | 16 /// An enum describing the side of the keyboard that a key is on, to allow 123 /// side of the keyboard. Defaults to checking for the key being down on 124 /// either side of the keyboard. If there is only one instance of the key on 125 /// the keyboard, then [side] is ignored. 129 /// the given keyboard modifier key were pressed at the time of this event. 132 /// null. If the given key only appears in one place on the keyboard, returns 138 /// regardless of which side of the keyboard it is on. 144 /// event, regardless of which side of the keyboard it is on. 150 /// regardless of which side of the keyboard it is on. 156 /// regardless of which side of the keyboard it is on. [all …]
|
/third_party/libinput/test/ |
D | test-switch.c | 552 struct litest_device *keyboard; in START_TEST() local 559 keyboard = litest_add_device(li, LITEST_KEYBOARD); in START_TEST() 568 litest_event(keyboard, EV_KEY, KEY_A, 1); in START_TEST() 569 litest_event(keyboard, EV_SYN, SYN_REPORT, 0); in START_TEST() 570 litest_event(keyboard, EV_KEY, KEY_A, 0); in START_TEST() 571 litest_event(keyboard, EV_SYN, SYN_REPORT, 0); in START_TEST() 589 litest_delete_device(keyboard); in START_TEST() 596 struct litest_device *keyboard, *touchpad; in START_TEST() local 602 keyboard = litest_add_device(li, LITEST_KEYBOARD); in START_TEST() 612 litest_event(keyboard, EV_KEY, KEY_A, 1); in START_TEST() [all …]
|
D | test-touchpad.c | 2061 struct litest_device *keyboard; in START_TEST() local 2071 keyboard = dwt_init_paired_keyboard(li, touchpad); in START_TEST() 2075 litest_keyboard_key(keyboard, KEY_A, true); in START_TEST() 2076 litest_keyboard_key(keyboard, KEY_A, false); in START_TEST() 2094 litest_delete_device(keyboard); in START_TEST() 3672 struct litest_device *keyboard; in START_TEST() local 3678 keyboard = dwt_init_paired_keyboard(li, touchpad); in START_TEST() 3682 litest_keyboard_key(keyboard, KEY_A, true); in START_TEST() 3683 litest_keyboard_key(keyboard, KEY_A, false); in START_TEST() 3701 litest_delete_device(keyboard); in START_TEST() [all …]
|
/third_party/weston/compositor/ |
D | text-backend.c | 98 struct wl_resource *keyboard; member 613 context->keyboard = NULL; in unbind_keyboard() 621 struct weston_keyboard *keyboard = grab->keyboard; in input_method_context_grab_key() local 626 if (!keyboard->input_method_resource) in input_method_context_grab_key() 630 wl_resource_get_client(keyboard->input_method_resource)); in input_method_context_grab_key() 633 wl_keyboard_send_key(keyboard->input_method_resource, in input_method_context_grab_key() 645 struct weston_keyboard *keyboard = grab->keyboard; in input_method_context_grab_modifier() local 647 if (!keyboard->input_method_resource) in input_method_context_grab_modifier() 650 wl_keyboard_send_modifiers(keyboard->input_method_resource, in input_method_context_grab_modifier() 658 weston_keyboard_end_grab(grab->keyboard); in input_method_context_grab_cancel() [all …]
|
D | weston-screenshooter.c | 125 screenshooter_binding(struct weston_keyboard *keyboard, in screenshooter_binding() argument 146 recorder_binding(struct weston_keyboard *keyboard, const struct timespec *time, in recorder_binding() argument 149 struct weston_compositor *ec = keyboard->seat->compositor; in recorder_binding() 159 if (keyboard->focus && keyboard->focus->output) in recorder_binding() 160 output = keyboard->focus->output; in recorder_binding()
|
/third_party/libinput/quirks/ |
D | 50-system-lenovo.quirks | 105 [Lenovo ThinkPad Compact USB Keyboard with TrackPoint (keyboard)] 106 MatchUdevType=keyboard 119 # Lenovo Thinkpad Yoga (not the consumer versions) disables the keyboard 120 # mechanically. We must not disable the keyboard because some keys are 124 MatchName=AT Translated Set 2 keyboard 142 MatchName=AT Translated Set 2 keyboard 147 MatchName=AT Translated Set 2 keyboard 152 # keyboard and would therefore mistakenly be deactivated as well. 155 MatchName=AT Translated Set 2 keyboard 160 # keyboard also applies to X230 Tablet [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/premake/Xcode-iOS/Demos/keyboard/keyboard.xcodeproj/ |
D | project.pbxproj | 12 …4CBC542E1F7005322C280595 /* keyboard.c in Sources */ = {isa = PBXBuildFile; fileRef = 2987762A782C… 45 …/* keyboard.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "keyboard.c… 53 …C3E9A /* keyboard */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInI… 76 677B6BC5125065EF671517AF /* keyboard */ = { 84 name = "keyboard"; 126 2987762A782C33F9516B55E5 /* keyboard.c */, 148 759B2B246CC126C15CAC3E9A /* keyboard */, 172 73176F12128359B77F276047 /* keyboard */ = { 174 …ationList = 2CB14BD0504177BD395A5721 /* Build configuration list for PBXNativeTarget "keyboard" */; 185 name = "keyboard"; [all …]
|
/third_party/weston/libweston-desktop/ |
D | seat.c | 44 struct weston_keyboard_grab keyboard; member 61 weston_keyboard_send_key(grab->keyboard, time, key, state); in weston_desktop_seat_popup_grab_keyboard_key() 72 weston_keyboard_send_modifiers(grab->keyboard, serial, mods_depressed, in weston_desktop_seat_popup_grab_keyboard_modifiers() 80 wl_container_of(grab, seat, popup_grab.keyboard); in weston_desktop_seat_popup_grab_keyboard_cancel() 262 seat->popup_grab.keyboard.interface = in weston_desktop_seat_from_seat() 293 struct weston_keyboard *keyboard = weston_seat_get_keyboard(wseat); in weston_desktop_seat_popup_grab_start() local 297 if ((keyboard == NULL || keyboard->grab_serial != serial) && in weston_desktop_seat_popup_grab_start() 303 if (keyboard != NULL && in weston_desktop_seat_popup_grab_start() 304 keyboard->grab->interface != &weston_desktop_seat_keyboard_popup_grab_interface) in weston_desktop_seat_popup_grab_start() 305 weston_keyboard_start_grab(keyboard, &seat->popup_grab.keyboard); in weston_desktop_seat_popup_grab_start() [all …]
|
/third_party/flutter/flutter/packages/flutter_test/lib/src/ |
D | test_text_input.dart | 16 /// A testing stub for the system's onscreen keyboard. 22 /// * [WidgetTester.enterText], which uses this class to simulate keyboard input. 24 /// popup keyboard and initializing its text. 26 /// Create a fake keyboard backend. 28 /// The [onCleared] argument may be set to be notified of when the keyboard 32 /// Called when the keyboard goes away. 34 /// To use the methods on this API that send fake keyboard messages (such as 35 /// [updateEditingValue], [enterText], or [receiveAction]), the keyboard must 49 /// on-screen keyboard provided by the operating system. 101 /// Whether the onscreen keyboard is visible to the user. [all …]
|
/third_party/eudev/rules/ |
D | 60-evdev.rules | 8 RUN{builtin}+="keyboard", GOTO="evdev_end" 10 # AT keyboard matching by the machine's DMI data 13 RUN{builtin}+="keyboard", GOTO="evdev_end" 17 RUN{builtin}+="keyboard", GOTO="evdev_end" 21 RUN{builtin}+="keyboard", GOTO="evdev_end"
|
/third_party/wayland-ivi-extension/ivi-input-modules/ivi-input-controller/src/ |
D | ivi-input-controller.c | 249 struct weston_keyboard *keyboard, struct wl_resource *resource, in input_ctrl_kbd_snd_event_resource() argument 263 weston_keyboard_send_keymap(keyboard, resource); in input_ctrl_kbd_snd_event_resource() 267 keyboard->modifiers.mods_depressed, in input_ctrl_kbd_snd_event_resource() 268 keyboard->modifiers.mods_latched, in input_ctrl_kbd_snd_event_resource() 269 keyboard->modifiers.mods_locked, in input_ctrl_kbd_snd_event_resource() 270 keyboard->modifiers.group); in input_ctrl_kbd_snd_event_resource() 272 &keyboard->keys); in input_ctrl_kbd_snd_event_resource() 300 struct weston_surface *send_surf, struct weston_keyboard *keyboard, in input_ctrl_kbd_wl_snd_event() argument 309 resource_list = &keyboard->focus_resource_list; in input_ctrl_kbd_wl_snd_event() 313 input_ctrl_kbd_snd_event_resource(ctx_seat, keyboard, resource, in input_ctrl_kbd_wl_snd_event() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/ |
D | SDL_waylandevents.c | 54 struct wl_keyboard *keyboard; member 270 keyboard_handle_keymap(void *data, struct wl_keyboard *keyboard, in keyboard_handle_keymap() argument 314 keyboard_handle_enter(void *data, struct wl_keyboard *keyboard, in keyboard_handle_enter() argument 336 keyboard_handle_leave(void *data, struct wl_keyboard *keyboard, in keyboard_handle_leave() argument 343 keyboard_handle_key(void *data, struct wl_keyboard *keyboard, in keyboard_handle_key() argument 382 keyboard_handle_modifiers(void *data, struct wl_keyboard *keyboard, in keyboard_handle_modifiers() argument 418 if ((caps & WL_SEAT_CAPABILITY_KEYBOARD) && !input->keyboard) { in seat_handle_capabilities() 419 input->keyboard = wl_seat_get_keyboard(seat); in seat_handle_capabilities() 420 wl_keyboard_set_user_data(input->keyboard, input); in seat_handle_capabilities() 421 wl_keyboard_add_listener(input->keyboard, &keyboard_listener, in seat_handle_capabilities() [all …]
|
/third_party/flutter/flutter/dev/tools/gen_keycodes/data/ |
D | keyboard_key.tmpl | 14 /// A base class for all keyboard key types. 31 /// context of any modifiers, modes, or keyboard layouts which may be in effect. 34 /// in a particular location on the keyboard, without regard for the modifier 35 /// state, mode, or keyboard layout. 40 /// looking for "the key next next to the TAB key", since on a French keyboard, 44 /// "A" key on a QWERTY keyboard) moved the player to the left, you'd want to 46 /// key produces, you got the key that is in that location on the keyboard. 58 /// // The node used to request the keyboard focus. 120 /// * [RawKeyEvent], the keyboard event object received by widgets that listen 121 /// to keyboard events. [all …]
|