Kanzi 3.9.10
win32_mouse_input.hpp File Reference

Namespaces

namespace  kanzi
 
namespace  kanzi::win32
 

Functions

bool kanzi::win32::addMouseDownEvent (EventQueue &queue, PointerButton buttons, int x, int y, HWND hwnd)
 Adds a mouse button pressed down event.
 
bool kanzi::win32::addMouseUpEvent (EventQueue &queue, PointerButton buttons, int x, int y)
 Adds a mouse button released event.
 
bool kanzi::win32::currentMouseMessageIsFromTouch () noexcept
 Predicate for testing whether the current mouse event originated from a touch device.
 
KZ_NO_DISCARD PointerButton kanzi::win32::getTriggeredPointerButtonEvent (UINT message, Win32WParam wParam) noexcept
 Gets the triggered Kanzi mouse button from the Win32 mouse button event.
 
KZ_NO_DISCARD PointerButton kanzi::win32::translateWin32ButtonsToKanzi (Win32WParam wParam) noexcept
 Maps the pressed down Win32 mouse buttons to logical mouse buttons used by Kanzi.