SIGN IN SIGN UP

Use enum for key injection mode

There was only two key injection modes:
 - the default one
 - the mode with --prefer-text enabled

To prepare the addition of another mode (--raw-key-events), use an enum
instead of a bool.

PR #2831 <https://github.com/Genymobile/scrcpy/pull/2831>
R
Romain Vimont committed
5e918ac0c39cf7004c7f6843f2d28d4a06fd216e
Parent: 0c0f62e