mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-14 13:18:19 +00:00
committed by
Christian Helmuth
parent
2db563ebdd
commit
443dc1f71d
@ -69,6 +69,9 @@ extern "C" {
|
|||||||
switch(curr.type())
|
switch(curr.type())
|
||||||
{
|
{
|
||||||
case Input::Event::MOTION:
|
case Input::Event::MOTION:
|
||||||
|
if (curr.is_absolute_motion())
|
||||||
|
SDL_PrivateMouseMotion(0, 0, curr.ax(), curr.ay());
|
||||||
|
else
|
||||||
SDL_PrivateMouseMotion(0, 1, curr.rx(), curr.ry());
|
SDL_PrivateMouseMotion(0, 1, curr.rx(), curr.ry());
|
||||||
break;
|
break;
|
||||||
case Input::Event::PRESS:
|
case Input::Event::PRESS:
|
||||||
|
Reference in New Issue
Block a user