Commit Graph

241 Commits

Author SHA1 Message Date
Axel Dörfler
d32e5bae5e The keyboard input device is now using the new inline-only input method extension
for dead keys - IOW you'll now see dead keys in BTextViews as you would see real
input methods like canna. Non-input-method-aware views won't see a difference to
the previous behaviour, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 11:55:43 +00:00
Jérôme Duval
c4cc0591f1 fixed some warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-23 14:05:40 +00:00
Axel Dörfler
304d592760 Made the keyboard device more resistant against any kind of error:
* Scancodes greater 255 are now handled correctly, and will no longer crash
  the input_server. This fixes bug #830.
* Use new (std:nothrow) instead of a simple new
* Now checks all allocations and appropriately handle failure
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-29 14:14:45 +00:00
Axel Dörfler
2bd9d1e3d8 Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-29 10:32:29 +00:00
Marcus Overhagen
0d9075c677 open() error is reported in errno
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 20:32:18 +00:00
Axel Dörfler
fafab8272d This should actually fix the bug a bit nicer (as it no longer prevents the mouse
from moving at all when moved slowly).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 09:37:16 +00:00
Stefano Ceccherini
b6ba23596d if the acceleration factor was more than 0, the mouse could only be moved every other pixel. Fixed (thanks to Jonathan Thompson for his help finding this). Axel, wouldn't it make more sense to move the acceleration computation to the input server, so it doesn't have to be implemented by every input device ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 08:10:23 +00:00
Jérôme Duval
5f3c583050 moved definition of B_FIRST_REAL_TIME_PRIORITY to HaikuBuildCompatibility.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-09 09:53:10 +00:00
Jérôme Duval
48b8e27155 improved the library name map for haiku and host keeping the simpler name input_server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-09 08:13:07 +00:00
Jérôme Duval
72cc02533e link input addon against /system/servers/input_server on non Haiku targets, map our input_server target to it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 16:33:44 +00:00
Jérôme Duval
ade5efae04 added an input device addon for GeniusEasypen serial tablets
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 19:01:30 +00:00
Axel Dörfler
74ef162141 Slowed down mouse acceleration quite a bit, but also made sure the minimal
acceleration factor is 1 which wasn't the case before.
The defaults now feel pretty good over here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-20 17:07:25 +00:00
Axel Dörfler
b7670df392 * The powers of two, revisited :-)
* Removed debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-16 07:15:38 +00:00
Axel Dörfler
42b505fba3 * Implemented mouse acceleration - it's not as smooth as on BeOS (your mileage
may differ), but I think it's definitely an improvement. This fixes bug #402.
* Since there now is acceleration, I reduced the mouse speed by half.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-15 20:32:12 +00:00
Axel Dörfler
61604e4875 I wanted to work on mouse acceleration, but this had to come first:
* No longer calls _RecursiveScan() in InitCheck() (but in the constructor instead).
* Fixed a bug when a new device was started: the new thread got a stack allocated
  structure pointer, but there were no handshake to make sure it was still valid.
* Now checks all BMessage allocation, as well as adding fields for success, and
  doesn't enqueue partial messages.
* Big refactoring and cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-15 16:53:09 +00:00
Jérôme Duval
23b47e0b5e now remap mouse buttons if the mouse driver doesn't remap itself
Remapping doesn't work on Haiku yet: it seems the mouse map isn't well updated for some unknown reason 
update license 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-14 21:24:14 +00:00
Axel Dörfler
099e443467 Minor cleanup and array orientation helper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 22:16:33 +00:00
Axel Dörfler
642090fdc6 * ScreenCornerSelector is now a BControl and fully keyboard navigable.
* simplified drawing a bit, and got rid of those scary scale*() stuff (which also
  results in better looks). The monitor now looks like the one in Screen; I think
  it should either be a very reduced form or a very detailed form, but anything
  in between often looks just odd.
* It now also listens to B_MOUSE_DOWN incl. mouse tracking, not only to B_MOUSE_UP.
* Less flickering on state changes (and focus change).
* Loading settings no longer overwrites defaults missing from the settings.
* Renamed ScreenSaverSettings::GetBlankCorner() to BlankCorner(),
  LoadSettings() to Load(), GetState() to GetModuleState(), ....
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-09 16:03:16 +00:00
Axel Dörfler
1fa515a650 * Fixed use of ScreenSaverSettings::TimeFlags() - it's a flags field after
all, so it should be used like one.
* Fixed a memory leak because of incorrect BMessageRunner usage.
* Some corner rects were computed incorrectly (I did that earlier).
* Since either a file or a directory is watched, but never both at the same
  time, we only need to store one ref.
* Don't update the settings as long as there is no settings file.
* Fixed strange usage of watch_node() - not specifying a handler means that
  the message is sent to the preferred handler, a BLooper is also always a
  handler, and the message only should go there.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 21:29:04 +00:00
Axel Dörfler
41158aaf91 * Renamed the ScreenSaverPrefs class to the more Be-like ScreenSaverSettings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 12:43:31 +00:00
Axel Dörfler
7cae4a1ee0 * Big time cleanup of the screen saver stuff, not yet finished yet, though.
Renamed lots of things, like ScreenSaverThread to ScreenSaverRunner,
  refactored code, etc. Much cleaner interfaces and code.
* Fixed a couple of bugs and in the add-on handling, especially some settings
  related bugs (ie. testing a screen saver will now use its latest settings,
  etc.).
* Correctly implemented DPMS support in ScreenSaverPrefs and the ScreenSaver
  preferences application - screen_blanker still ignores them, though.
* It's not yet font sensitive either.
* Changed the input_server add-on to not switch to the screen blanker immediately
  when it's in the "blank corner" - doesn't seem to work yet, though (only tested
  under Qemu).
* Correctly implemented the "preview" function (before, a screen saver would
  never know it rendered a preview).
* Evaluates the return value of BScreenSaver::StartSaver().
* The screen saver thread is no longer killed without notice - it's now
  always shut down properly.
* Made the code more robust against failure.
* Introduced some new bugs as well (the screen saver list view doesn't jump to
  the selection anymore, for some reason), those will be fixed later (as the
  remaining issues).
* Probably some more I forgot about.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 08:16:46 +00:00
Jérôme Duval
360e569a2c Patch from Momoziro.
Fixes highlighting bug in CannaIM's Kouhou window.
Changes windows look to better values


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-04 19:46:07 +00:00
Jérôme Duval
bbb7119577 beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 17:37:48 +00:00
Jérôme Duval
ab61875fe6 TMDescView is now resized to preferred before computing other views positions
fixed bug #599


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 10:52:44 +00:00
Jérôme Duval
771b07b64c made team monitor resizable
fix build of TeamMonitorTest app


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 12:13:16 +00:00
Jérôme Duval
bb55c479b8 B_COLOR_8_BIT is deprecated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-18 20:11:35 +00:00
Jérôme Duval
8a9866347d added checks for locking
also assigning the window field to null when quitting the window


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-13 20:26:45 +00:00
Jérôme Duval
f7f614034d better place the button Restart
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 14:20:39 +00:00
Jérôme Duval
f88e467c8a should better now :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 08:43:16 +00:00
Jérôme Duval
94a2752647 added a "Restart the Desktop" button, untested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 16:51:16 +00:00
Axel Dörfler
1bad82578f The <Print-Screen> key is now ignored when the screen saver is running - this
should fix bug #456.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 23:29:36 +00:00
Axel Dörfler
cc5da1fe65 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 23:16:06 +00:00
Marcus Overhagen
d323bbb26f Cleanup:
- made 'active' variable volatile
Bugfixes:
- fixed deletion of mouse_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error
- skip "serial" directory always
- close file handle when initializing device watcher thread fails


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:44:58 +00:00
Marcus Overhagen
dbb98f2b76 Cleanup:
- keyboard_device now frees device_ref.name by itself when it's deleted
- made 'active' variable volatile
Bugfixes:
- delete keyboard_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:41:24 +00:00
Jérôme Duval
f0bac93530 completes fix for bug #155
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 17:06:49 +00:00
Jérôme Duval
d361f6fa3b added monitoring for input/keyboard/at, hope this fix bug #155
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 17:04:07 +00:00
Jérôme Duval
7be5a254fa it is dumb to open and close devices before starting them
hopefully fixed bug #150


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 22:37:39 +00:00
Marcus Overhagen
ca228cbfcb use the definitions from driver header file, instead of defining a second set of constants
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 12:08:51 +00:00
Jérôme Duval
a71a4d8199 fix bug #140
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:26:40 +00:00
Jérôme Duval
718a665ba9 fix some memory leaks (part of bug #140
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:13:43 +00:00
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