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
Author of s3d