MAEMO: added hardware alias to the hardware detection table

This commit is contained in:
Tarek Soliman 2011-10-11 17:24:42 -05:00
parent 42ccfbfdde
commit a1fe57702a

View file

@ -35,19 +35,16 @@ enum MaemoModelType {
struct MaemoModel { struct MaemoModel {
const char *hwId; const char *hwId;
MaemoModelType modelType; MaemoModelType modelType;
const char *hwAlias;
bool hwKeyboard; bool hwKeyboard;
}; };
static const MaemoModel maemoModels[] = { static const MaemoModel maemoModels[] = {
// N800 {"RX-34", kMaemoModelTypeN800, "N800", false},
{"RX-34", kMaemoModelTypeN800, false}, {"RX-44", kMaemoModelTypeN810, "N810", true},
// N810 {"RX-48", kMaemoModelTypeN810, "N810W", true},
{"RX-44", kMaemoModelTypeN810, true}, {"RX-51", kMaemoModelTypeN900, "N900", true},
// N810W {0, kMaemoModelTypeInvalid, 0, true}
{"RX-48", kMaemoModelTypeN810, true},
// N900
{"RX-51", kMaemoModelTypeN900, true},
{0, kMaemoModelTypeInvalid, true}
}; };