Home
last modified time | relevance | path

Searched refs:prev_button (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
DSDL_aaevents.c49 static int prev_button = -1, prev_x = -1, prev_y = -1; in AA_PumpEvents() local
66 if( prev_button != mouse_button ) { in AA_PumpEvents()
68 if ( ! (prev_button & AA_BUTTON1) ) { in AA_PumpEvents()
72 if ( prev_button & AA_BUTTON1 ) { in AA_PumpEvents()
77 if ( ! (prev_button & AA_BUTTON2) ) { in AA_PumpEvents()
81 if ( prev_button & AA_BUTTON2 ) { in AA_PumpEvents()
86 if ( ! (prev_button & AA_BUTTON3) ) { in AA_PumpEvents()
90 if ( prev_button & AA_BUTTON3 ) { in AA_PumpEvents()
99 prev_button = mouse_button; in AA_PumpEvents()