diff options
author | Romain Perier <bambi@ubuntu.com> | 2012-07-07 15:57:08 +0200 |
---|---|---|
committer | Romain Perier <bambi@ubuntu.com> | 2012-07-07 15:57:08 +0200 |
commit | 1e1c7136c5be5c374e71d724dfd9ee4dea6f77ca (patch) | |
tree | 2fddd73fd7f0ddf4b3b422fbd526f79639bc3f9c | |
parent | 9fc8c9e555cf6a309e56d25dc0acf229f6cc2d03 (diff) | |
download | android-input-bridge-1e1c7136c5be5c374e71d724dfd9ee4dea6f77ca.tar.gz |
Add scrolling support on server side
-rw-r--r-- | aibd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -131,7 +131,8 @@ static int input_subsystem_init(void) ioctlx(uinput_fd, UI_SET_RELBIT, REL_X); ioctlx(uinput_fd, UI_SET_RELBIT, REL_Y); - + ioctlx(uinput_fd, UI_SET_RELBIT, REL_WHEEL); + ioctlx(uinput_fd, UI_SET_KEYBIT, BTN_LEFT); ioctlx(uinput_fd, UI_SET_KEYBIT, BTN_RIGHT); ioctlx(uinput_fd, UI_SET_KEYBIT, BTN_MIDDLE); |