History log of /haiku/headers/private/input/InputServerTypes.h
Revision Date Author Comments
# 696d127d 21-Dec-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Live update of Input preferences device list

- Implement watch_input_devices in input_server, as it was TODO. For
now, only one watcher is allowed at a time.
- Use it in Input preferences to get notified about added and removed
devices and update the device list accordingly.

Change-Id: I52018af53738e68271d6d63b5bea31fd7cab1b3b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2041
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 0fa3181d 31-Oct-2011 François Revol <revol@free.fr>

Implemented the patch on #7963 in a different way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43037 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2bbb8288 14-Dec-2008 Jérôme Duval <korli@users.berlios.de>

added get_modifier_key() as proposed by Olivier Cortes. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28812 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d57634f7 16-Jul-2007 Jérôme Duval <korli@users.berlios.de>

the keymap is now saved when key locks or key modifiers are changed
this fixes bug #1282


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21625 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87036968 07-Jul-2006 Jérôme Duval <korli@users.berlios.de>

input_server saves its settings on change, sending itself a 'Save' request message


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18052 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 26b02ddc 26-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

The input_server is now notified when the screen resolution is changed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15165 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c17d025 15-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

* Introduced a new handshake between input_server and app_server, and some
temporary handling code in the app_server.
* RootLayer no longer creates the input_server messaging port - this is now
the responsibility of the input_server.
* Moved AS_CREATE_[OFFSCREEN_]WINDOW from ServerApp::_MessageLooper() to
_DispatchMessage().
* The RootLayer thread is now started as soon as the input_server is there.
* removed or disabled any input_server stuff in the AppServer class.
* removed old message commmands to the app_server.
* Removed the R5_CURSOR_COMM and HAIKU_APPSERVER_COMM definitions: the
input_server is now automatically built correctly depending on the target.
* InputServer::EventLoop() plays now safe and checks for error conditions.
* InputServer::EnqueueDeviceMessage() seems to leak memory, added TODO about
this.
* InputServer event loop messaging uses ports for inner-app communication - why?
* The InputServer event loop thread is no longer killed on exit, it just quits
when its port is gone.
* Minor cleanup in input_server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14949 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa1e0b9c 28-Oct-2004 Jérôme Duval <korli@users.berlios.de>

added codes for adding and removing


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9562 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6bd2c5e5 24-Aug-2004 Jérôme Duval <korli@users.berlios.de>

fix the naming


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8631 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91180f23 24-Aug-2004 Jérôme Duval <korli@users.berlios.de>

Added some other method replicant message ids


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d92d0a24 18-Aug-2004 Jérôme Duval <korli@users.berlios.de>

Update to R5 operation values, added a prefix IS_


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8603 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87e2c83a 29-Jul-2004 Jérôme Duval <korli@users.berlios.de>

input_server message ids are now here


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8507 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0fa3181d95582cdf165a9f9e1cfb08ab5bad158f 31-Oct-2011 François Revol <revol@free.fr>

Implemented the patch on #7963 in a different way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43037 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2bbb828870b7394d876930766f208ea8ef5ea785 14-Dec-2008 Jérôme Duval <korli@users.berlios.de>

added get_modifier_key() as proposed by Olivier Cortes. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28812 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d57634f732be41fbe05490df36e2c7510c260d0d 16-Jul-2007 Jérôme Duval <korli@users.berlios.de>

the keymap is now saved when key locks or key modifiers are changed
this fixes bug #1282


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21625 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8703696801ccb3ca38a27466a22c67dbcc2ccd4e 07-Jul-2006 Jérôme Duval <korli@users.berlios.de>

input_server saves its settings on change, sending itself a 'Save' request message


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18052 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 26b02ddc808ad610a35d4666fb694a3b3ce4b997 26-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

The input_server is now notified when the screen resolution is changed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15165 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c17d025516c9c1a271394f8ef618d842e68c716 15-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

* Introduced a new handshake between input_server and app_server, and some
temporary handling code in the app_server.
* RootLayer no longer creates the input_server messaging port - this is now
the responsibility of the input_server.
* Moved AS_CREATE_[OFFSCREEN_]WINDOW from ServerApp::_MessageLooper() to
_DispatchMessage().
* The RootLayer thread is now started as soon as the input_server is there.
* removed or disabled any input_server stuff in the AppServer class.
* removed old message commmands to the app_server.
* Removed the R5_CURSOR_COMM and HAIKU_APPSERVER_COMM definitions: the
input_server is now automatically built correctly depending on the target.
* InputServer::EventLoop() plays now safe and checks for error conditions.
* InputServer::EnqueueDeviceMessage() seems to leak memory, added TODO about
this.
* InputServer event loop messaging uses ports for inner-app communication - why?
* The InputServer event loop thread is no longer killed on exit, it just quits
when its port is gone.
* Minor cleanup in input_server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14949 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa1e0b9c50663444a9fc2460521b07e712e57410 28-Oct-2004 Jérôme Duval <korli@users.berlios.de>

added codes for adding and removing


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9562 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6bd2c5e573f3d00a6bc47dadd540e9a526243379 24-Aug-2004 Jérôme Duval <korli@users.berlios.de>

fix the naming


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8631 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91180f23e02ce1ceb10c344bd2ff4cf42b0e1aab 24-Aug-2004 Jérôme Duval <korli@users.berlios.de>

Added some other method replicant message ids


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d92d0a2423b4d8a14748d3f1e2a538420edfa34b 18-Aug-2004 Jérôme Duval <korli@users.berlios.de>

Update to R5 operation values, added a prefix IS_


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8603 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87e2c83aed586878bd9093a32e3c737f1f72e267 29-Jul-2004 Jérôme Duval <korli@users.berlios.de>

input_server message ids are now here


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8507 a95241bf-73f2-0310-859d-f6bbb57e9c96