On Fri, Dec 16, 2022 at 01:36:24AM +0000, joewu(吳仲振) wrote: > Hi Dmitry, > > Thank you for comments. I will try to give a clear description and sent the patch again. > Actually, the function of "leave PC(cros) mode" button is to implement 'lock the screen' in chromeOS. > Google suggests us to sent 'F13' key to lock the screen, could we do it or do you have any suggestion? Is this different from the normal power button? If it is the key with "padlock" glyph you want to map it to KEY_SLEEP or KEY_SCREENLOCK. We should no longer use or recommend overriding F13 for this. Is there an internal Google bug for this? Could you add dtor@xxxxxxxxxx there? Thanks. -- Dmitry