On 6 October 2014 11:15, Russell Senior <russ...@personaltelco.net> wrote: > >> have a look at FONER20N.dts >> switch { >> label = "switch"; >> gpios = <&gpio0 13 1>; >> linux,code = <0xf7>; >> linux,input-type = <5>; /* EV_SW */ >> }; >> >> that would obsolete 2 and you need to change 3. i have merged 1 into >> my tree. > > Thanks! > > Do you know what the significance of 0xf7 is there, if any?
include/dt-bindings/input/input.h #define KEY_RFKILL 247 /* Key that controls all radios */ (why not use that?) -- Rafał _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel