Commit Graph

8892 Commits

Author SHA1 Message Date
Jérôme Duval
3fff653f05 Moved usage pages/ids to USB_hid.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 12:05:10 +00:00
Rudolf Cornelissen
00fc82f9ee two more type2 scripts (now tested)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 11:38:22 +00:00
Axel Dörfler
ffda28d2b5 Fixed warning of the debug build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 11:05:33 +00:00
Axel Dörfler
f390e6a3f7 Fixed the build of the debug version of the driver. Thanks to Jerome for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 11:03:40 +00:00
Rudolf Cornelissen
8315a92763 added 2 type2 coldstart script cmds.. (not yet tested)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 10:25:20 +00:00
Jérôme Duval
b2c507bdf7 Renamed functions to hid_*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 09:44:25 +00:00
Jérôme Duval
8c5cc5d1aa Extracted USB HID specific data to USB_hid.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 09:08:58 +00:00
Stefano Ceccherini
97a326b35f Almost completely rewritten the ps2 mouse driver. Now it works (max 3 buttons for now), even under R5 (though you need a header that I won't commit here).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 06:32:23 +00:00
Jérôme Duval
2197729c08 Added support for keyboard LEDs
Should be changed one day to take into account the report descriptor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-19 20:45:25 +00:00
Axel Dörfler
3b00a056c7 Be's native types are no longer allowed in this file (because of the gensyscall utility).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-19 18:55:33 +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
4c5967bb9a Added the HID USB driver to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 23:33:13 +00:00
Jérôme Duval
3e7e86bd26 Added a HID USB driver
Keyboards working (missing features : leds, key repeating)
Only mouse detection, not working


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 23:30:05 +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
Rudolf Cornelissen
c319524a0a corrected typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 11:40:39 +00:00
Rudolf Cornelissen
bf393e0a34 split-up scripts for type1 and 2: type 2 still has to be drastically expanded. (coldstart stuff)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-18 11:32:12 +00:00
Oliver Tappe
057ceb6137 - fixed issues when compiling with gcc-2.95.3.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 16:34:13 +00:00
Ingo Weinhold
3b554981d3 * Corrected sMountMutex comment.
* Turned sMountOpMutex into a recursive lock.
* Re-inserted sMountOpLock locking in vnode_path_to_vnode(). It doesn't
  deadlock on mounting anymore. :-P
* Added a check in fs_mount(), whether the mount point is a directory. If
  it wasn't, in general it wouldn't be possible to get its parent
  directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 12:29:27 +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
DarkWyrm
98ecc9715d Added to Utils a function to compute polygon boundaries
Moved Utils to libappserver - DisplaySupport needs it
Tweaked PicturePlayer to match polygon function tweaks
Added Shape, Region, and Polygon handling to ServerWindow
Removed ServerWindow::DispatchGraphicsMessage
Numerous small tweaks to DisplayDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:27:58 +00:00
DarkWyrm
c33ef86b1d Made some tweaks for region, shape, and polygon support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:21:41 +00:00
DarkWyrm
f06ff64b1a Set the API for stroke/fill shape
Made a couple API tweaks for stroke/fill polygon
Added a Frame() method to BezierCurve to be able handle polygon API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:20:14 +00:00
Stefano Ceccherini
7575ec2d87 Uncommented the code which makes auto indenting possible.
Correctly maintain fClickOffset in SetText().
Some small style fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:16:06 +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
19644c521d removed ColumnListView.cpp and ColorTools.cpp from libbe.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 21:41:42 +00:00
Jérôme Duval
b989bdedeb Added ColumnListView.cpp and ColorTools.cpp (these aren't from OpenTracker)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 20:50:37 +00:00
Jérôme Duval
5c99440e0f Added ColorTools and ColumnListView from Vision cvs repository
(ColorTools.h : 1.2, ColorTools.cpp : 1.4,
ColumnListView.h : 1.13, ColumnListView.cpp : 1.3)
Original code from OpenTracker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 20:42:34 +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
Axel Dörfler
452ba3abd1 Just like any other mount point, "/" should not be remounted - dunno
why that was there before. Thanks to Ingo for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 15:34:26 +00:00
Axel Dörfler
bfe052ed74 I accidently mixed up the parameter order of the ISA I/O calls, thanks
to Stefano for reporting this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 10:39:14 +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
Michael Pfeiffer
82f24520e1 Added (untested) support for landscape orientation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 16:16:39 +00:00
Michael Pfeiffer
cd6bfb01f3 Alternative implementation that uses STL.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 16:14:20 +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
Axel Dörfler
fbb0ac2170 fork() now at least calls _kern_fork(), but would not even be complete
if that one worked.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:48:28 +00:00
Axel Dörfler
f845dd4e4f Implemented userland part of execve().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:46:56 +00:00
Axel Dörfler
41f37da0fd Added empty and non-working syscalls for _user_fork(), _user_wait_for_child(),
and _user_exec().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:45:37 +00:00
Axel Dörfler
25258635f7 Implemented waitpid() a bit more; it now calls the _kern_wait_for_child() syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:44:06 +00:00
Axel Dörfler
367fa74ad9 Added needed syscalls for fork(), exec(), and waitpid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:42:02 +00:00
Axel Dörfler
cd4e4d3383 Added wcsmbs to libroot.so, replaced posix_gnu_getopt.o with posix_gnu_ext.o
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:28:34 +00:00
Axel Dörfler
ac50932dae Moved the getopt() functionality from the getopt/ subdir to the new
extensions/ directory - which will contain glibc specific additions
to the POSIX standard (getopt() is here because of getopt_long() etc.).
Also added obstack functions.
Added wcsmbs to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:23:08 +00:00
Axel Dörfler
0dffa6c281 It's now allowed to use wchar_t - it doesn't hurt anymore :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:21:19 +00:00
Axel Dörfler
5e4171c975 Made a minimum subset build - mbrtowc() is currently a hack to make it work...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 12:20:03 +00:00
Jérôme Duval
fd3e280e83 we now have uintptr_t in our headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 09:35:09 +00:00
Axel Dörfler
40f2ce7d20 Activated the index functions and ported it to the the new VFS API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 02:08:54 +00:00
Axel Dörfler
1b41fce458 Added some rudimentary AMD CPU identification, courtesy of Brennan Cleveland.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 01:54:50 +00:00
DarkWyrm
bb32d497e9 Checking in some fixes to StrokePolygon protocol before I forget they're there
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 01:06:17 +00:00
Axel Dörfler
75e4b8694c Removed the STREAM_TYPE_ constants.
Now maintains uid/gid/mode, modification and creation time for all nodes.
Implemented rootfs_write_stat() completely. rootfs_read_stat() now fills
in all required values.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 00:44:57 +00:00