So I had to choose 2 obscure keycodes to map on "proximity meter left" and "proximity meter right"...
Here are the results:
{
.gpio = INT_PROX_L,
These keynames and their order are easy to memorize now, because (since we read from left to right) we know that coffee = left and shop = right :-)
.code = KEY_COFFEE,
.desc = "Proximity Left",
},
{
.gpio = INT_PROX_R,
.code = KEY_SHOP,
.desc = "Proximity Right",
},
Geen opmerkingen:
Een reactie posten