Mir

Code review comment for lp:~mir-team/mir/unify-keyboard-actions

Revision history for this message
Robert Carr (robertcarr) wrote :

>> }
>> Could be a one liner:
>> return old_kev_from_new(kev).action;

Not quite. mir_key_action_multiple does not correspond to mir_keyboard_action_repeat. mir_key_action_multiple is an unused feature from android relating to delivering multiple distinct keys in one event. mir_keyboard_action_repeat corresponds to AKEY_EVENT_ACTION_DOWN and repeatCount > 0.

« Back to merge proposal