ANDROID_SHIFT_MASK = 193,
ANDROID_CONTROL_MASK = 4096,
ANDROID_ALT_MASK = 2,
+ ANDROID_SUPER_MASK = 4,
};
struct android_key_event
{
return ((state & ANDROID_CONTROL_MASK) ? ctrl_modifier : 0
| (state & ANDROID_SHIFT_MASK) ? shift_modifier : 0
- | (state & ANDROID_ALT_MASK) ? meta_modifier : 0);
+ | (state & ANDROID_ALT_MASK) ? meta_modifier : 0
+ | (state & ANDROID_SUPER_MASK) ? super_modifier : 0);
}
static int
{
return ((state & ctrl_modifier) ? ANDROID_CONTROL_MASK : 0
| (state & shift_modifier) ? ANDROID_SHIFT_MASK : 0
- | (state & meta_modifier) ? ANDROID_ALT_MASK : 0);
+ | (state & meta_modifier) ? ANDROID_ALT_MASK : 0
+ | (state & super_modifier) ? ANDROID_SUPER_MASK : 0);
}
static void android_frame_rehighlight (struct android_display_info *);