Changeset 677


Ignore:
Timestamp:
May 16, 2011, 1:23:02 PM (9 years ago)
Author:
Sam Hocevar
Message:

ps3: hardcode keybindings for now and reactivate the gamma window.

Location:
abuse/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/configuration.cpp

    r555 r677  
    138138    {
    139139        key_map[i].joy = 0;
     140#if !defined __CELLOS_LV2__
    140141        key_map[i].left = get_key_binding( "left", i + 1 );
    141142        key_map[i].right = get_key_binding( "right", i + 1 );
     
    146147        key_map[i].b2 = get_key_binding( "b2", i + 1 );
    147148        key_map[i].b1 = get_key_binding( "b1", i + 1 );
     149#else
     150        key_map[i].left = 258;
     151        key_map[i].right = 259;
     152        key_map[i].up = 256;
     153        key_map[i].down = 257;
     154        key_map[i].b4 = 281;
     155        key_map[i].b3 = 261;
     156        key_map[i].b2 = 32;
     157        key_map[i].b1 = 0;
     158#endif
    148159    }
    149160}
  • abuse/trunk/src/gamma.cpp

    r671 r677  
    153153        Event ev;
    154154        wm->flush_screen();
    155 #if !defined __CELLOS_LV2__
    156155        do
    157156        {
     
    168167
    169168        dg = ((spicker *)gw->inm->get(ID_GREEN_PICKER))->first_selected() * 4;
    170 #else
    171         /* Do not display the gamma window on the PS3 for now. */
    172 #endif
    173169
    174170        wm->close_window(gw);
Note: See TracChangeset for help on using the changeset viewer.