libdom
Loading...
Searching...
No Matches
keyboard_event.h
Go to the documentation of this file.
1/*
2 * This file is part of libdom.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
6 */
7
8#ifndef dom_interntal_events_keyboard_event_h_
9#define dom_interntal_events_keyboard_event_h_
10
12
13#include "events/ui_event.h"
14
30
31/* Destructor */
33
34/* Initialise function */
36
37/* Finalise function */
39
40
41/* Parse the modifier list string to corresponding bool variable state */
43 uint32_t *modifier_state);
44
45#endif
dom_exception
Definition exceptions.h:24
dom_key_location
Definition keyboard_event.h:19
void _dom_keyboard_event_finalise(struct dom_keyboard_event *evt)
Definition keyboard_event.c:60
dom_exception _dom_parse_modifier_list(dom_string *modifier_list, uint32_t *modifier_state)
Definition keyboard_event.c:391
dom_exception _dom_keyboard_event_initialise(struct dom_keyboard_event *evt)
Definition keyboard_event.c:43
void _dom_keyboard_event_destroy(struct dom_keyboard_event *evt)
Definition keyboard_event.c:35
Definition keyboard_event.h:18
bool repeat
Definition keyboard_event.h:27
dom_string * code
Definition keyboard_event.h:22
struct dom_ui_event base
Definition keyboard_event.h:19
dom_key_location location
Definition keyboard_event.h:23
bool is_composing
Definition keyboard_event.h:28
uint32_t modifier_state
Definition keyboard_event.h:25
dom_string * key
Definition keyboard_event.h:21
Definition string.h:19
Definition ui_event.h:32