Commit Graph

251 Commits

Author SHA1 Message Date
Jérôme Duval
cd64165bac use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:49:49 +00:00
Stefano Ceccherini
4c0af4a82e Cleanup. Removed the weird SingletonMouseDevice
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-17 21:46:37 +00:00
Ingo Weinhold
c729b01278 The <arch_config.h> header is needed in <syscalls.h>, since we're using
the atomic functions related macros.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-07 23:11:02 +00:00
Ingo Weinhold
54fc29e319 gcc 4 fix. White-space after a \ character at the end of a line is
ignored and the line concatenated with the next one -- making it a
comment, too. Either a bug or a newly implemented feature.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-16 21:31:34 +00:00
Ingo Weinhold
01eda82dbf Missing return types, illegal conversion all over the place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 21:25:31 +00:00
Ingo Weinhold
ca9e5772c3 * Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true.
Library names are now mapped for all targets but "host" (not only for
  "haiku") -- added one more level of indirection to achieve that.
  (TARGET_LIBRARY_NAME_MAP -> *_LIBRARY_NAME_MAP_*).
* Renamed build/HaikuBuildCompatibility.h to BeOSBuildCompatibility.h
  (auto-included when compiling something that uses the Be API for platform
  "host" on anon-BeOS platform), and introduced build/HaikuBuildCompatibility.h,
  which can be included when compiling something that can be built for both,
  Haiku and BeOS compatible platforms.
* Introduced libhaikucompat.a, a library that adds a few functions existing
  under Haiku, but not under BeOS.
* New rule AddSubDirSupportedPlatforms.
* Renamed libopenbeos.so to libbe_haiku.so.
* Introduced new target platform "libbe_test", which is basically equivalent
  to a BeOS compatible host platform target, with the exception, that instead
  of the host platform's libbe.so a special build of Haiku's libbe.so
  (libbe_haiku.so (formerly known as libopenbeos.so)) is used. Furthermore
  Haiku's public app, interface, storage, and support kit headers are used
  when compiling. This replaces the less nice way in which the test app server
  and applications for this test environment were built.
  When building for platform "libbe_test", the library name "be" is
  autotranslated to "libbe_haiku.so". Thus most applications don't need
  special fiddling when them building them for the app server test environment;
  usually an "AddSubDirSupportedPlatforms libbe_test ;" will suffice.
* Reduced the dependencies of <syscalls.h> and fixed problems caused by this
  (e.g. source files not including the needed headers directly).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-07 16:07:25 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Marcus Overhagen
106d748c45 Prevent input_server from hogging the CPU when input devices fail.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-23 00:28:14 +00:00
Axel Dörfler
4dd3c15639 Renamed SSInputFilter/SSController to ScreenSaverFilter and ScreenSaverController.
Germans are usually a bit picky about abbreviations...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 21:32:01 +00:00
Jérôme Duval
a5c04ff3a5 we update the message runner interval time to have the next message when we could need to invoke screen_blanker.
Pointed by axeld's watch, thanks :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 10:04:34 +00:00
Axel Dörfler
bb218ba83f More cleanup.
Get rid of unused fRtc variable.
Added TODO about why the current solution doesn't work correctly (doesn't start
the screen saver at exact times, but possibly almost twice fBlankTime too late).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 00:17:12 +00:00
Axel Dörfler
3b7087718c Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-26 23:34:26 +00:00
Jérôme Duval
30a2435232 -fmultiple-symbol-spaces is only needed for target R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-06 08:42:54 +00:00
Jérôme Duval
911290f701 copyright update
fix for blank time in screen_blanker


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 12:54:15 +00:00
Jérôme Duval
1974b4b7df fixed multiple launchs when cornered
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 12:31:23 +00:00
Jérôme Duval
850fb78d9c now monitor the directory if settings file is not found, and vice et versa
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 10:09:24 +00:00
Jérôme Duval
1559de1285 added screensaver kit package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 12:22:22 +00:00
Jérôme Duval
0a1f6e8966 added a little trace
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 13:23:38 +00:00
Jérôme Duval
7ac01f7eb9 variables are now inited correctly
works ok on R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-19 13:08:15 +00:00
Jérôme Duval
1437c09cb7 screen_blanker signature is at one place
modules tab selection makes the right module selected


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-01 12:53:23 +00:00
Jérôme Duval
80f28ba092 Revamped the screensaver filter
It currently uses the R5 screen_blanker
It monitors screensaver settings, and screen_blanker run by ScreenSaver prefs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-29 16:30:13 +00:00
Jérôme Duval
02bf3b7c13 added some checks, this shouldn't be needed with a consistent keymap, but as we don't want to crash in this case ... (could help DarkWyrm)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-15 23:57:51 +00:00
Jérôme Duval
a46295b9f0 Placed data files in /etc/KanBe for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 18:33:33 +00:00
Jérôme Duval
b7df9a98df avoids warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-07 17:17:04 +00:00
Stefano Ceccherini
171f28336b The device name isn't allocated on the heap, so it shouldn't be freed. This also fixes the crash in case there is no serial mouse. Thanks to Oscar Lesta for providing the fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-24 09:28:49 +00:00
Axel Dörfler
49a755ef15 The task manager is now completely font sensitive.
Enlarged the cancel button a bit.
Started counting mechanism (ie. later, when you really press Ctrl+Alt+Del,
the TMDescView counts down to zero). Ideally, this would be fed by the
keyboard device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 08:36:51 +00:00
Axel Dörfler
73c9d940e7 Now groups by system components, ie. system components are added at the
bottom of the list while other teams are added at the top of the list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 06:44:33 +00:00
Axel Dörfler
5311273550 Refactoring: moved all controls into the TMView class (former TMBox).
It now also handles all messages relating to its controls.
The file path is now truncated to the view's bounds.
Fixed wrong update position of the TMDescView; it always took updateRect
as view bounds.
Enlarged item gap a bit so fit the BeOS task manager exactly.
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 06:37:14 +00:00
Axel Dörfler
9695be8f49 When you kill an item, it is no longer active.
TMBox::Pulse() will now only invalidate the view if something changed - this
completely removes the flickering that was visible with our app_server.
Fixed typo.
Added a ToDo comment since TMDescView::fItem is not correctly updated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 05:39:39 +00:00
Axel Dörfler
d145df451e Fixed some of the simpler font sensitivity problems. Looks much better on the real thing now.
Also no longer states that Haiku components would be part of "the BeOS" :-)
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-15 05:20:10 +00:00
Stefano Ceccherini
e7b980ae96 now we send B_MOUSE_MOVED before any other message. This should fix the problem described in the TODO item. At least, it does over here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-01 07:54:54 +00:00
Stefano Ceccherini
6af8fc0973 Added a TODO item with the possible solution to a bug (which I can't verify at the moment), improved error checking.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-27 06:34:20 +00:00
Axel Dörfler
497d01f0b9 Some minor visual improvements: the keyboard input device now reports
"AT Keyboard" and "USB Keyboard", instead of "at|usb Keyboard".
Also, the mouse input device now reports a "PS/2 Mouse" instead of
a "ps2 Mouse".
Generally, both now capitalize the device name when reporting the name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-25 14:17:57 +00:00
Jérôme Duval
2ee0e237e1 added a tablet device addon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-20 21:52:39 +00:00
Axel Dörfler
8b618fc01c The mouse add-on got the meaning of COMPILE_FOR_R5 a bit wrong.
Now, it will always link against our libbe.so, so it might not work under
R5 anymore at all (which is okay since it can now be run natively).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-04 14:36:17 +00:00
Jérôme Duval
7d3f2fc424 haiku build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 21:52:20 +00:00
Jérôme Duval
49104a39cf haiku build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:37:49 +00:00
Stefano Ceccherini
b7adead4eb Removed the serial_mouse addon from the build (for now) as it causes the input server not to start if you don't have a serial mouse connected to the port.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 12:47:22 +00:00
Jérôme Duval
cdd88ef06b Moved to kLeftTitledWindowLook
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 16:44:50 +00:00
Jérôme Duval
a60f0fba94 canna lib doesn't build when DEBUG is defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 11:07:48 +00:00
Jérôme Duval
df76730ea2 comment typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 23:06:26 +00:00
Jérôme Duval
431461e9d1 fix for gcc-2.95.3_binutils-2.15
version 20041202 is needed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 23:02:24 +00:00
Jérôme Duval
9964bf44e8 adding a haiku-cannaIM-cvs package
adding cannaIM to the build


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 14:12:53 +00:00
Jérôme Duval
281cd6b56f forgot to add these files
part of Canna Input Method addon
from Nec Corporation, modified by T.Murai


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 22:08:39 +00:00
Jérôme Duval
076ccc5c5c Added Canna Input Method addon
lib/* and rk/* are from Nec Corporation, modified by T.Murai
CannaIM addon from M.Kawamura
Tested on R5, data files are needed
Thanks to M.Kawamura and T.Murai for donation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 21:23:50 +00:00
Jérôme Duval
e0169612c9 added serial_mouse to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 14:22:09 +00:00
Stefano Ceccherini
4e8891d152 Check in the serial mouse addon before I forget about it (hmmm holidays...).
Should be cleaned up a bit and maybe merged with the "other" mouse addon.
Courtesy of Oscar Lesta aka BiPolar


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 08:17:37 +00:00
Jérôme Duval
7ff4a24347 added all_workspaces flag
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-26 21:15:46 +00:00
Jérôme Duval
65018030ea Completed Team Monitor
Unimplemented : 4 seconds pressing reboot


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-26 21:05:06 +00:00
Jérôme Duval
5a23ac2600 added debug and fixed style
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 22:56:07 +00:00
Jérôme Duval
ca4719945c added initial team monitor
fixed device naming


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 22:47:40 +00:00
Jérôme Duval
7dcdcad2c0 Fixed mouse device naming, it now iterates from 1 :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 22:35:11 +00:00
Jérôme Duval
2895720c82 init the button state
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 15:16:02 +00:00
Jérôme Duval
6f1fb05e1f Added a haiku-inputkit-cvs package
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 09:45:36 +00:00
Jérôme Duval
c2fbfb71f0 clean up, now avoid locking when shutdowning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 15:59:40 +00:00
Jérôme Duval
6be0f7ef24 reversed sign change, bad idea ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:58:13 +00:00
Jérôme Duval
6ed407d8fa added log
added a sign change


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:23:04 +00:00
Jérôme Duval
372a32913b when our input_server links against libopenbeos.so , addons have to do the same
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 09:16:57 +00:00
Jérôme Duval
7d5d344bf1 Some mice have two wheels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 11:20:45 +00:00
Jérôme Duval
fc2045ee7e added wheel support, changed to kb_mouse_driver.h mouse_movement to avoid crashing when the driver writes back the io
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 21:59:33 +00:00
Jérôme Duval
4c2a769c68 Now uses a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 15:41:01 +00:00
Jérôme Duval
3b464cb0ce fixed debug macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-22 10:04:52 +00:00
Jérôme Duval
743554c63a Forgot the timestamp for non at devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 23:36:46 +00:00
Jérôme Duval
39394f4183 This one is better
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 13:21:19 +00:00
Jérôme Duval
711d19bd29 fix for leds and modifiers
NOTE : modifiers are per device


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 13:13:30 +00:00
Jérôme Duval
421f4885ed Support for LEDS
Support for keymap reloading


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 12:07:21 +00:00
Jérôme Duval
08acc659ec Fix menu key handling so that message is sent only when pressed alone
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 08:39:14 +00:00
Jérôme Duval
95b397199c Added support for USB keyboards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 19:46:06 +00:00
Jérôme Duval
f78e17fccc Added a brazilian keyboard mapping ABNT2 Keypad . to 0x70
Added handling for CtrlAltDel key combination, atm it only ensures we don't reboot ...
Added handling for Menu key => send BeMn to Deskbar asking to show menu, could be moved somewhere else in the future (filter?)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 16:41:22 +00:00
Jérôme Duval
9c6d4260cb added japanese keys support , untested
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 17:19:02 +00:00
Jérôme Duval
ba35b2bdf7 added several missing keys
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:53:22 +00:00
Jérôme Duval
05f7693002 Support for locks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 22:20:28 +00:00
Jérôme Duval
80c565ca25 bug fix for new dead key behaviour
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 21:49:48 +00:00
Jérôme Duval
5447827d24 Added key events generation
Working!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 21:41:28 +00:00
Jérôme Duval
a725f63418 Added AT keyboard mapping
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 16:21:31 +00:00
Jérôme Duval
7072c960f8 adding comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 00:33:55 +00:00
Jérôme Duval
da4ca8a49e added keymap
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 00:20:34 +00:00
Jérôme Duval
43ca889200 fixed logging, a bit of worker
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 00:03:20 +00:00
Jérôme Duval
e73537f459 rebased on the mouse device addon, cleaned, untested
still lacks better logging, thread worker, settings handling, keymap management and that's all!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 23:34:06 +00:00
Stefano Ceccherini
33efb91915 Almost rewrote the mouse input add-on to handle multiple devices, added usb devices monitoring (not tested as USB doesn't work on my machine).
Now it generates the device name from the folder name (i.e. /dev/input/mouse/serial/0 ---> "serial mouse 1").


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 06:42:58 +00:00
Jérôme Duval
3f8c0d7e75 now button 2 is working
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:48:03 +00:00
Jérôme Duval
5c506d7fdd change debug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:14:27 +00:00
Stefano Ceccherini
0dbc4bef49 Changed the fQuit variable to a static sQuit. Removed the snooze() in the device watcher thread function.
Started implementing the "one thread per device" design.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 07:43:56 +00:00
Stefano Ceccherini
145a357d37 This fixes the crash when Debug is active (at least over here; Korli, can you check?)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 07:12:02 +00:00
Jérôme Duval
600f089e43 added a base keyboard addon
added a grist to addons


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 22:27:29 +00:00
Jérôme Duval
e361bf6901 fix buttons handling
seems doubleclick not handled yet
crash when debug is active (before this change)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 12:22:33 +00:00
Stefano Ceccherini
3aa69c787f Some changes to the Mouse Input Server Device add-on. B_MOUSE_UP/DOWN still don't work correctly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 08:52:54 +00:00
Jérôme Duval
53d77642d6 Added mouse settings handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:55:54 +00:00
Jérôme Duval
61d7deee8a added a mouse input server device courtesy of Stefano Ceccherini
basicly tested


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:54:09 +00:00
Jérôme Duval
97cdac132b added methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:12:20 +00:00
Jérôme Duval
11b0d5ec50 Added devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 11:03:58 +00:00
beveloper
269cf3bf22 note sure if this is correct, but it fixes the build. replaced CENTER by NONE
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:58:32 +00:00
beveloper
280ad881fd fixed include directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:57:23 +00:00
Michael Phipps
fc5f38fce2 Fix the cornering - it turns out that what the R5 input_server provides in get_screen_region isn't useful.
I use a BScreen instead. Also fixed the timer to work properly with "Don't Blank" corners - before it would
enter a state where the screen would never blank based on the timer again - the timer thread was corrupted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 20:18:35 +00:00
Michael Phipps
f141dd5709 Re-styled and (hopefully) finalized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00
Ingo Weinhold
5bc810f76c Added src/servers/screensaver to the include search paths, since there
lives the ScreenSaverPrefs.h header. The header should go to a place
somewhere under headers/private though!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-19 23:48:47 +00:00
Michael Phipps
c171a52d8b Rewritten from scratch to match the "screenblanker" style of R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-19 19:41:42 +00:00
Michael Phipps
28857c0500 Rewritten with some help from voidref. Not complete, but pretty close.
Mostly I just need to use the ScreenSaverPrefs to figure out how many seconds
before blanking.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-09 01:20:53 +00:00
Ingo Weinhold
8bac7924c0 Fixed the path to the input server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@38 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:20:25 +00:00
ejakowatz
5f281ed502 Well, I couldn't go to bed without making *something* build ... ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 13:40:32 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00