SkkNicolaKeyEventFilter

SkkNicolaKeyEventFilter — Key event filter implementing NICOLA (thumb shift) input

Functions

gint64 (*SkkGetTime) ()

Types and Values

Description

This class is rarely used in programs but specified as "filter" property in rule metadata.

See also: SkkRule

Functions

SkkGetTime ()

gint64
(*SkkGetTime) (gpointer user_data);

Get the current timer count.

Parameters

user_data

data to pass to the delegate function.

[closure]

Types and Values

SKK_TYPE_NICOLA_KEY_EVENT_FILTER

#define SKK_TYPE_NICOLA_KEY_EVENT_FILTER (skk_nicola_key_event_filter_get_type ())

The type for SkkNicolaKeyEventFilter.


struct SkkNicolaKeyEventFilter

struct SkkNicolaKeyEventFilter {
	SkkKeyEventFilter parent_instance;
	SkkNicolaKeyEventFilterPrivate * priv;
	SkkGetTime get_time_func;
	gpointer get_time_func_target;
	GDestroyNotify get_time_func_target_destroy_notify;
	gint64 timeout;
	gint64 overlap;
	gint64 maxwait;
	gchar** special_doubles;
	gint special_doubles_length1;
};

Key event filter implementing NICOLA (thumb shift) input

This class is rarely used in programs but specified as "filter" property in rule metadata.

See also: SkkRule

Members

SkkNicolaKeyEventFilterPrivate *priv;

   

SkkGetTime get_time_func;

   

gpointer get_time_func_target;

   

GDestroyNotify get_time_func_target_destroy_notify;

   

gint64 timeout;

Duration where a single key press event is committed without a corresponding key release event.

 

gint64 overlap;

Duration between two overlapping key press events, so they are considered as a doule key press/release event.

 

gint64 maxwait;

Maximum duration to wait for the next key event.

 

gchar **special_doubles;

Special double key press events (SKK-NICOLA extension).

By default, "[fj]" (f + j), "[gh]" (g + h), "[dk]" (d + k), and "[LR]" (left shift + right shift) are registered.

 

gint special_doubles_length1;

   

struct SkkNicolaKeyEventFilterClass

struct SkkNicolaKeyEventFilterClass {
	SkkKeyEventFilterClass parent_class;
};

The class structure for SKK_TYPE_NICOLA_KEY_EVENT_FILTER. All the fields in this structure are private and should never be accessed directly.

Members