Esempio n. 1
0
void
sge::wlinput::processor::init(
	awl::backends::posix::event const &
)
{
	for(
		auto const &focus
		:
		foci_
	)
		focus_discover_(
			sge::input::focus::discover_event{
				*focus.second
			}
		);

	for(
		auto const &cursor
		:
		cursors_
	)
		cursor_discover_(
			sge::input::cursor::discover_event{
				*cursor.second
			}
		);
}
Esempio n. 2
0
void
sge::input::impl::multi_processor::on_cursor_discover(
	sge::input::cursor::discover_event const &_event
)
{
	cursor_discover_(
		_event
	);
}