On Sat, May 20, 2017 at 7:26 PM, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > On Sat, May 20, 2017 at 06:57:46PM +0200, Linus Walleij wrote: >> + tk->codes[0] = KEY_UP; >> + tk->codes[1] = KEY_DOWN; >> + tk->codes[2] = KEY_LEFT; >> + tk->codes[3] = KEY_RIGHT; >> + tk->codes[4] = KEY_ENTER; >> + tk->codes[5] = KEY_W; >> + tk->codes[6] = KEY_O; > > Why 'W' and 'O'? I do not think the router software expects users to > "type" these letters? Could it have something to do with WPS and maybe > something else? Yeah, they had these values in the vendor tree. Here is a photo of this beast: https://dflund.se/~triad/krad/dlink-dir-685/dir-685-touchkeys.jpg As you can see I marked only 6 keys on the image. The key "O" I haven't been able to provoke by poking around but the vendor driver handles this, maybe something from an earlier or alternative hardware revision? KEY_W is indeed WPS, I will change that to the right keycode. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html