comparison src/video/dc/SDL_dcevents.c @ 1461:11134dc42da8

Updated for Dreamcast KOS June 2005 snapshot: http://cadcdev.sourceforge.net/svn/snapshots/ http://gamedev.allusion.net/softprj/kos/dcsetup.php
author Sam Lantinga <slouken@libsdl.org>
date Thu, 02 Mar 2006 13:16:02 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1460:d79e6b0c2c19 1461:11134dc42da8
111 SDL_memset(&old_state,0,sizeof(old_state)); 111 SDL_memset(&old_state,0,sizeof(old_state));
112 } 112 }
113 113
114 maple_raddr(addr,&port,&unit); 114 maple_raddr(addr,&port,&unit);
115 115
116 state = kbd_get_state(port,unit); 116 state = maple_dev_state(port,unit);
117 if (!state) return; 117 if (!state) return;
118 118
119 shiftkeys = state->shift_keys ^ old_state.shift_keys; 119 shiftkeys = state->shift_keys ^ old_state.shift_keys;
120 for(i=0;i<sizeof(sdl_shift);i++) { 120 for(i=0;i<sizeof(sdl_shift);i++) {
121 if ((shiftkeys>>i)&1) { 121 if ((shiftkeys>>i)&1) {