Force numlock to be on when sending modifier state to sommelier

linux apps decide how to interpret numpad keys based on the modifier
flags. CrOS is designed so that numlock is a vestigial key (c.f. ), but the implementation has that bit in the mask
as always off, despite that the behaviour is always on.

This fix hard-codes that the modifier sent to linux will always say
numlock is on.

Bug: 937102
Change-Id: Iffe91b180ad22de0d303ec404df30efc73ffc93b
Commit-Queue: Nic Hollingum <>
Reviewed-by: Yuichiro Hanada <>
Reviewed-by: Mitsuru Oshima <>
Cr-Commit-Position: refs/heads/master@{#641825}
1 file changed