S3DW_HANDLE_KEY(3) | s3d Manual | S3DW_HANDLE_KEY(3) |
s3dw_handle_key - handle key input on widget
#include <s3dw.h>
int s3dw_handle_key(const struct s3d_evt *event);
This is somehow useful to call in your keyhandler functions if you want to have input-boxes work. ;)
// way 1:
s3d_set_callback(S3D_EVENT_KEY,s3dw_handle_key);
// way 2:
...
void key(struct s3d_evt *evt)
{
s3dw_handle_key(evt);
....
// your own keyhandler code
...
}
....
s3d_set_callback(S3D_EVENT_KEY,key);
Simon Wunderlich
s3d |