Screen sensitivity masks
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
Types of sensitivity masks
Synopsis:
#include <screen/screen.h>
enum {
SCREEN_SENSITIVITY_MASK_ALWAYS = (1 << 0),
SCREEN_SENSITIVITY_MASK_NEVER = (2 << 0),
SCREEN_SENSITIVITY_MASK_NO_FOCUS = (1 << 3),
SCREEN_SENSITIVITY_MASK_FULLSCREEN = (1 << 4),
SCREEN_SENSITIVITY_MASK_CONTINUE = (1 << 5),
SCREEN_SENSITIVITY_MASK_STOP = (2 << 5),
SCREEN_SENSITIVITY_MASK_POINTER_BRUSH = (1 << 7),
SCREEN_SENSITIVITY_MASK_FINGER_BRUSH = (1 << 8),
SCREEN_SENSITIVITY_MASK_STYLUS_BRUSH = (1 << 9),
SCREEN_SENSITIVITY_MASK_OVERDRIVE = (1 << 10),
SCREEN_SENSITIVITY_MASK_CLIPPED = (1 << 11)
};
Data:
- SCREEN_SENSITIVITY_MASK_ALWAYS
- Pointer and touch events are always forwarded to the window's context if they intersect with the window - regardless of transparency.
- SCREEN_SENSITIVITY_MASK_NEVER
- The window never receives pointer or multi-touch events.
- SCREEN_SENSITIVITY_MASK_NO_FOCUS
- Pointer and touch events are forwarded to the window's context if they intersect the window and are in an area of the window that isn't fully transparent.
- SCREEN_SENSITIVITY_MASK_FULLSCREEN
- Pointer and touch events are forwarded to the window's context no matter where they are on the display.
- SCREEN_SENSITIVITY_MASK_CONTINUE
- Windows underneath this window can receive pointer or multi-touch events, even if this window has input focus.
- SCREEN_SENSITIVITY_MASK_STOP
- The window will be the final receiver of the pointer or multi-touch events.
- SCREEN_SENSITIVITY_MASK_POINTER_BRUSH
- The window receives pointer events, even in areas of transparency, when the source coordinates of the event are within the brush clip rectangle.
- SCREEN_SENSITIVITY_MASK_FINGER_BRUSH
- The window receives multi-touch events with a finger contact type, even in areas of transparency, when the source coordinates of the event are within the brush clip rectangle.
- SCREEN_SENSITIVITY_MASK_STYLUS_BRUSH
- The window receives multi-touch events with a stylus contact type, even in areas of transparency, when the source coordinates of the event are within the brush clip rectangle.
- SCREEN_SENSITIVITY_MASK_OVERDRIVE
- Setting this bit causes the system to go into overdrive when the window gets an input event.
- SCREEN_SENSITIVITY_MASK_CLIPPED
- The window receives touch and point data only when the position is within the bounds of the window.
Library:
libscreenDescription:
These masks are intended to be combined into a single integer bitmask representing combinations of desired sensitivities to be applied to a window.
Page updated: