Only display used hotkeys in the dump, changed the tabs to spaces, also I tested it on linux, works just fine :)

Signed-off-by: belal <jimbelal@gmail.com>
develop
belal 2010-02-18 15:41:39 -05:00
parent 7ce8935aef
commit b16a69d237
1 changed files with 4 additions and 2 deletions

@ -48,8 +48,10 @@ int main (void)
DF.ReadHotkeys(hotkeys);
for(uint32_t i =0;i< NUM_HOTKEYS;i++)
{
cout << "x: " << hotkeys[i].x << "\ty: " << hotkeys[i].y << "\tz: " << hotkeys[i].z <<
"\ttext: " << hotkeys[i].name << endl;
if(hotkeys[i].mode != -1){
cout << "x: " << hotkeys[i].x << " y: " << hotkeys[i].y << " z: " << hotkeys[i].z <<
" text: " << hotkeys[i].name << endl;
}
}
DF.FinishReadNotes();
DF.Detach();