History log of /haiku/src/preferences/input/InputWindow.cpp
Revision Date Author Comments
# d052479f 27-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

Input preferences: Use BControlLook::ComposeIconSize().

And do some other cleanup while at it.

Fixes #17919.


# eb87d690 01-May-2021 Adrien Destugues <pulkomandy@pulkomandy.tk>

Input preferences: use correct API for watch_input_devices()

We now use the same API as BeOS for input devices notification.

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


# 02dabf4b 29-Mar-2021 Saloni <saloniggoyal@gmail.com>

input preferences: Updates code according to Haiku guidelines

These are the changes using tool clang-format with argument --style=haiku and the changes that were not according to guidelines have been removed.

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


# a0f0cb5a 20-Dec-2020 Máximo Castañeda <antiswen@yahoo.es>

Input preferences: fix list item retrieval

Fixes #16679

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


# 82430c40 26-Jun-2020 Preetpal Kaur <preetpalok123@gmail.com>

Mouse Preferences: store settings for multiple mouses.

Use a BMessage for the mouse settings. Store an array of mouse_setting
and an array of names for the corresponding mouses.

The input preferences can load the settings in both the old and new
format. If in the old format, the settings are applied to all mouses.

In this commit, input_server is not modified yet to use the new settings
format, leading to unusable mouse.

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


# 058fca80 26-Aug-2020 Adrien Destugues <adrien.destugues@opensource.viveris.fr>

Input preferences: fix list minimum size

- Use the longest device name as a min size
- Refactor things a bit to simplify the code
- Also set weights in the top group view to ensure a nice ratio between
the list and the other part of the window


# ed257f05 17-May-2020 Preetpal Kaur <preetpalok123@gmail.com>

Input: add icons to the DeviceList

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


# 5bbf7f1b 05-Feb-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Actually handle more than 3 mouse buttons

The code in input_server was pretty much all set for this, but there was
no way to configure the extra buttons. Add them to the mouse view in
Input preferences (up to 5 buttons are handled now)

Define a new B_MOUSE_BUTTON(n) macro to generate the bitmask for a given
button (numbered from 1).

Change-Id: I9091082277937d89b08464ff474e7bbb5db82401
Reviewed-on: https://review.haiku-os.org/c/haiku/+/180
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 145f127f 06-Feb-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

Input preferences: fix crash and add icon

Fixes #15680.


# 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>


# 8272123e 17-Jul-2019 Preetpal Kaur <preetpalok123@gmail.com>

Connected Devices: Mouse, Touchpad and Keyboard

-Resolve some issues.
-Added the connected devices code in the main window.
-Replace BUTTON_DEFAULTS and BUTTON_REVERT with kMsgDefaults and kMsgRevert.

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


# 490df7cb 27-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Input: improve layout

Put some margins around the main view


# a79976ef 24-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Input preferences: fix build

One file was accidentally missing from this commit and was added to the
next one (which isn't ready for merging yet). Add it back here instead.


# 5e9685ca 01-May-2019 Preetpal Kaur <preetpalok123@gmail.com>

Completed Mouse and Touchppad preferences

Complete working and view of pointing devices(mouse and touchpad).

Resolve some issues.
Added the Jamfile

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