14 Commits
Author SHA1 Message Date
Preetpal Kaur 02ad22d6c8 Input: declare BString to get the Mouse Name
Change-Id: I3476f58839202a6fd8c93e325a15045963a9b7b2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3125
Reviewed-by: Adrien Destugues <[email protected]>
2020-09-10 17:15:09 +00:00
Preetpal Kaur 37d793236c Added get_set_mulitple_mouse_type() functions
Change-Id: I95f85a15a77c3a548bb672cb966ae7b13fcefcc8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3127
Reviewed-by: Adrien Destugues <[email protected]>
2020-09-10 17:15:09 +00:00
Preetpal Kaur 33f4d9b52b input_server: prepare for multiple mouse settings handling
Add MultipleMouseSettings class in input_server mouse settings code.

It is identical to the one in input preferencdes, but manages a
different implementation of the MouseSettings (which is kept as it was
before)

Change-Id: I4d96bb3702160c4ab9cf5411573e9609ee1f88a6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3129
Reviewed-by: Adrien Destugues <[email protected]>
2020-09-10 17:15:09 +00:00
Preetpal Kaur 82430c4028 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 <[email protected]>
2020-09-10 17:15:09 +00:00
Preetpal Kaur abbd654ba9 Added 6th button in Mouse GUI
- Correct button size of 4 and 5 buttons in Mouse GUI.
- Button number are in squence now, added the default values.

Change-Id: I915077d11f9212c47c782fd9296b9f5b8909ed09
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2509
Reviewed-by: Adrien Destugues <[email protected]>
2020-06-24 06:28:04 +00:00
Preetpal Kaur 13b45a2ea3 Integrate PadBlocker in input preferences
- Import padblocker sources
- Add slider to set padblocking time
- Generates PadBlocker settings

Fixes #11673

Change-Id: Ic88416215aabb1ae6aba79ff41cb55a7f0f8008d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1590
Reviewed-by: Adrien Destugues <[email protected]>
2020-06-22 15:08:48 +00:00
Preetpal Kaur ed257f056f Input: add icons to the DeviceList
Change-Id: I2eaebca0f0e91e3420b7e63a4a568f4e658af253
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2722
Reviewed-by: Adrien Destugues <[email protected]>
2020-06-09 06:52:11 +00:00
Preetpal Kaur 6ae1da352b Fix Bug: Remove Wacom device from Devicelist
I make some changes in the wacom input server to solve the bug mentioned above. I don't have wacom and unable to buy it duw to COVID-19.
Can anyone please test the code.

Change-Id: I27a7353cafd495f89d7ba7f8a6f4fa7e8abc86e1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2448
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2020-04-18 18:18:39 +00:00
Preetpalkaur3701 c8c9723ae5 Input preferences: Make Device list width is font sensitive
Fixes #15738

Change-Id: I125c47f015c939acbd70c9509310ec3cdef7d2c5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2308
Reviewed-by: Adrien Destugues <[email protected]>
2020-03-08 07:53:27 +00:00
Preetpal Kaur 2a64b13f81 Input preference: inconsistent dialog buttons location.
Fixes #15685

Change-Id: I38a48394ba45c7c53208e4333c797ec0b2310c96
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2262
Reviewed-by: Adrien Destugues <[email protected]>
2020-02-23 10:19:31 +00:00
Preetpal Kaur 640c0e7f8f AboutSystem: add Preetpal Kaur to the contributors
Change-Id: Id91daf874d3e582ab722a4b57244374d478c534b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1126
Reviewed-by: Adrien Destugues <[email protected]>
2020-02-10 09:59:57 +00:00
Preetpal Kaur 8272123ea5 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 <[email protected]>
2019-08-20 09:52:25 +00:00
Preetpal Kaur 5e9685caa8 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 <[email protected]>
2019-07-23 15:16:01 +00:00
Preetpal Kaur 5012906434 Disable Touchpad preferences.
Show warning in the touchpad preference dialog box when user is not connected and also disable touchpad preferences except touchpad view.

Change-Id: I52b80e834ee3bb37d568aa065942eae405001343
Reviewed-on: https://review.haiku-os.org/c/1344
Reviewed-by: Adrien Destugues <[email protected]>
2019-04-19 08:26:40 +00:00