Thanks to Murr and lg for excellent answers about keyboard emulation. IOCTLs like TIOCSTI, VT_ACTIVATE and VT_GETSTATE allows good keyboard emulation under consoles and shell. But if there any ioctls that allow emulate mouse? Now I use such approach as moving /dev/psaux to another place and creating a FIFO instead. Listening this FIFO and implementing ps/2 protocol allows to emulate mouse in QT, X and console (gpm) but real mouse doesn't work (it is necessary to make additional workaround to translate messages from/to real device). So it is a bit complicated. Any suggestions? Also is there anywhere a description of ioctls listed in "man ioctl_list"?
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Keyboard emulation (shell, QT, X) (2003)
- Форум Mouse handle with keyboard (2019)
- Форум compiz keyboard & mouse shortcuts (2008)
- Форум mouse and keyboard trouble (2003)
- Форум Wine: keyboard & mouse trouble (2003)
- Форум грабли с kdm/keyboard/mouse (2003)
- Форум Грабли с kdm/keyboard/mouse (2003)
- Форум Keyboard&mouse problems under X (2002)
- Форум Binding keyboard keys to mouse buttons.wayland. (2023)
- Форум ScreenSaver detect event form mouse+keyboard (2003)