There's a 3rd button inside the headphone jack to detect when you put
the plug in.
It's used to know when to mute the built in speakers etc..
Ben.
wei zheng wrote:
Hi Michael & All,
I have questions about the hardware buttons in neo
1973/freerunner. There are only two buttons on neo 1973/freerunner.
Why are three resources in gta01_button_resources array?
static struct resource gta01_button_resources[] = {
[0] = {
.start = GTA01_GPIO_AUX_KEY,
.end = GTA01_GPIO_AUX_KEY,
},
[1] = {
.start = GTA01_GPIO_HOLD_KEY,
.end = GTA01_GPIO_HOLD_KEY,
},
[2] = {
.start = GTA01_GPIO_JACK_INSERT,
.end = GTA01_GPIO_JACK_INSERT,
},
};