Add support for the Aeris Atmos AI (metal buttons).

This commit is contained in:
Jef Driesen 2011-04-16 08:53:58 +02:00
parent b288e82960
commit ce9459039c

View File

@ -64,6 +64,7 @@ static const device_backend_t oceanic_atom2_device_backend = {
oceanic_atom2_device_close /* close */
};
static const unsigned char aeris_atmosai_version[] = "ATMOSAI R\0\0 512K";
static const unsigned char aeris_epic_version[] = "2M EPIC r\0\0 512K";
static const unsigned char oceanic_proplus2_version[] = "PROPLUS2 \0\0 512K";
static const unsigned char oceanic_atom1_version[] = "ATOM rev\0\0 256K";
@ -358,6 +359,7 @@ oceanic_atom2_device_open (device_t **out, const char* name)
device->base.layout = &oceanic_atom1_layout;
else if (oceanic_common_match (sherwood_insight_version, device->version, sizeof (device->version)) ||
oceanic_common_match (sherwood_wisdom2_version, device->version, sizeof (device->version)) ||
oceanic_common_match (aeris_atmosai_version, device->version, sizeof (device->version)) ||
oceanic_common_match (oceanic_geo2_version, device->version, sizeof (device->version)) ||
oceanic_common_match (oceanic_proplus2_version, device->version, sizeof (device->version)) ||
(oceanic_common_match (oceanic_atom2_version, device->version, sizeof (device->version)) &&