|
From: | Siebren |
Subject: | Re: [Gnash-dev] fb-gnash with TSLIB ERROR: write ABS_X |
Date: | Mon, 06 May 2013 13:58:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 |
On 04/25/2013 09:13 AM, Siebren wrote:
Hi Rob, Hi, I found that the "ERROR: write ABS_X' seems to be caused by the lack of a UserInput device. Strace shows: 11:12:46.770807 write(-1, ".\220\207Q>\302\v\0\3\0\0\0 \3\0\0", 16) = -1 EBADF (Bad file descriptor)So it seems that the filedescriptor _fd wasn't properly initialized. I've enabled config_input_uinput in the linux kernel to make the device /dev/uinput available. This fixes this error. Maybe an extra check is useful to see if the _fd is not -1 anymore? Can I add that? and where would be an appropriate place for that? (sorry, still newbie ;) ). Now on the fb-gnash I only get the 'General Mouse Down' event when I press the screen (on or next to a button). While on my pc (with mouse) I got General Mouse Down, General Mouse Up, General Press and General Release (and Rollout and Rollover, but that might be difficult with a touchscreen), when I press a button. Why are the other 'General X' events missing in framebuffer-gnash? is that because of the gnash::key::INVALID in addData(true, gnash::key::INVALID, 0, event.x, event.y); in TouchDevice.cpp? How can I use the Press and Release to be able to press buttons as well with gnash on the framebuffer? Regards, Siebren |
[Prev in Thread] | Current Thread | [Next in Thread] |