Advertisement
spacechase0

Keystate Management

Jun 14th, 2011
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. Uint8 oldKeystates[ whatever_the_size_is ];
  2. Uint8 newKeystates[ whatever_the_size_is ];
  3.  
  4. for ( size_t i = 0; i < whatever_the_size_is; ++i )
  5. {
  6.     newKeystates[ i ] = oldKeystates[ i ];
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement