I’m trying to write photon application similar to kbsel ( switching keyboard
mappings ). I want to catch certain keystrokes and do specific actions. So I
created keyboard region ( Ph_KBD_REGION ), sensitive on Ph_EV_KEY event. I’m
able now to catch all keyboard event ( Shift, Alt, Ctrl, F1, … ) with
Pt_CB_FILTER or Pt_CB_RAW callback.
And here is my problem: is it possible to consume certrain keystoke that
application behind keyboard region ( any runnig app ) will not receive as
keyboard event? For example is it posible to filter ( or consume ) every
‘F1’ keystroke ( or pwm’s Ctrl-Esc, Ctrl-Alt-[1-9] )? All other unspecified
keyboard events remain untouched and will be received by application behind
region. How to do this? I tryied return Pt_END or Pt_HALT from callback - no
luck 
Please help.
// Creating PtRegion:
PtSetArg( &args[n++], Pt_ARG_AREA, &area, 0 );
PtSetArg( &args[n++], Pt_ARG_
PtSetArg( &args[n++], Pt_ARG_
PtSetArg( &args[n++], Pt_ARG_