forked from enlightenment/efl
Revert "ecore-input: add keysym to Ecore_Event_Key struct"
This reverts commit c3f3c4eba8
.
this was audited and found to be impractical due to portability concerns
This commit is contained in:
parent
476ebdc0a1
commit
121e7be4b6
|
@ -361,7 +361,6 @@ _device_handle_key(struct libinput_device *device, struct libinput_event_keyboar
|
|||
e->timestamp = timestamp;
|
||||
e->same_screen = 1;
|
||||
e->keycode = code;
|
||||
e->keysym = sym;
|
||||
|
||||
_device_modifiers_update(edev);
|
||||
|
||||
|
|
|
@ -154,7 +154,6 @@ extern "C" {
|
|||
unsigned int keycode; /**< Key scan code numeric value @since 1.10 */
|
||||
|
||||
void *data; /**< User data associated with an Ecore_Event_Key @since 1.10 */
|
||||
unsigned int keysym; /**< Encoding of keyboard symbold @since 1.15 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -827,7 +827,6 @@ _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard EINA_UN
|
|||
e->timestamp = timestamp;
|
||||
e->modifiers = input->modifiers;
|
||||
e->keycode = code;
|
||||
e->keysym = sym;
|
||||
|
||||
if (state)
|
||||
ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL);
|
||||
|
|
|
@ -2422,7 +2422,6 @@ _ecore_xcb_event_key_press(xcb_generic_event_t *event)
|
|||
e->same_screen = xevent->same_screen;
|
||||
e->root_window = xevent->root;
|
||||
e->keycode = keycode;
|
||||
e->keysym = sym;
|
||||
|
||||
DBG("Sending Key Down Event: %s", e->keyname);
|
||||
ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL);
|
||||
|
|
|
@ -393,7 +393,6 @@ _ecore_key_press(int event,
|
|||
e->same_screen = xevent->same_screen;
|
||||
e->root_window = xevent->root;
|
||||
e->keycode = xevent->keycode;
|
||||
e->keysym = sym;
|
||||
|
||||
ecore_event_add(event, e, NULL, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue