FreeBASIC  0.91.0
hook_multikey.c
Go to the documentation of this file.
1 /* multikey entrypoint, default to console mode */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL int fb_Multikey( int scancode )
7 {
8  int res;
9 
10  FB_LOCK();
11 
13  res = __fb_ctx.hooks.multikeyproc( scancode );
14  else
15  res = fb_ConsoleMultikey( scancode );
16 
17  FB_UNLOCK();
18 
19  return res;
20 }