Terminal emulator with all the bells and whistles https://www.enlightenment.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
528 B

#ifndef _KEYIN_H__
#define _KEYIN_H__ 1
typedef struct _Keys_Handler Keys_Handler;
struct _Keys_Handler
{
Ecore_IMF_Context *imf;
unsigned int last_keyup;
Eina_List *seq;
unsigned char composing : 1;
};
void keyin_compose_seq_reset(Keys_Handler *khdl);
Eina_Bool key_is_modifier(const char *key);
Eina_Bool keyin_handle(Keys_Handler *khdl, Termpty *ty, const Evas_Event_Key_Down *ev,
int alt, int shift, int ctrl);
void keyin_handle_up(Keys_Handler *khdl, Evas_Event_Key_Up *ev);
#endif