Commit graph

80 commits

Author SHA1 Message Date
David Reveman
09ca916772 Close down fixes. 2008-10-30 03:37:34 -04:00
David Reveman
08987c7ee4 Input cleanup. 2008-10-30 03:37:32 -04:00
David Reveman
af21ea418b Fix memory error. 2008-10-30 03:37:32 -04:00
David Reveman
fc833276ac External output window support. 2008-10-30 03:37:30 -04:00
David Reveman
15bf44f82f Add some missing xlib macros. 2008-10-30 03:37:30 -04:00
David Reveman
e0a250c488 Add atKeynames.h to EXTRA_DIST. 2008-10-30 03:37:26 -04:00
David Reveman
b94d36eb95 Asynchronous pointer grabbing. 2008-10-30 03:37:23 -04:00
David Reveman
e92aa7be90 Use XCB for event processing. 2008-10-30 03:37:21 -04:00
David Reveman
4b7d3bbe7c Add initial pointer grab support. Passive pointer grabs are
currently disabled.
2008-10-30 03:37:20 -04:00
David Reveman
152b5940c9 Only use XInput Extension if 2.0 or greater. 2008-10-30 03:37:18 -04:00
David Reveman
a2646f4f88 Improved system for tracking key/button state. 2008-10-30 03:37:18 -04:00
David Reveman
442a1cce7a Add initial support of back-end XInput extension. 2008-10-30 03:37:16 -04:00
David Reveman
1c93025aa4 No need for this anymore. 2008-10-30 03:37:14 -04:00
David Reveman
96357e860f Mask input events properly. 2008-10-30 03:37:05 -04:00
David Reveman
95106e7245 Select for SubstructureRedirectMask on screen window and make sure
no WM is running when using back-end server root window.
2008-10-30 03:37:04 -04:00
David Reveman
3078ea3bfd Add support for using back-end server root window. 2008-10-30 03:37:04 -04:00
David Reveman
cc40918422 Add better naming of screens and remove the screen argument
from attachScreen dbus method.
2008-10-30 03:37:01 -04:00
David Reveman
90037b647b Add proper back-end server authentication support. 2008-10-30 03:36:59 -04:00
David Reveman
84ddb6de62 Add new DMX input code that uses the mi event queue and MPX
for handling of multiple input devices.
2008-10-30 03:36:58 -04:00
David Reveman
162a060f4c Improved RANDR support. 2008-10-30 03:36:50 -04:00
David Reveman
2bda1f5610 Nomad DMX work. 2008-10-30 03:36:41 -04:00
Peter Hutterer
8d0cb507ae dmx: avoid hilarious #define Xcalloc xcalloc game. 2008-10-17 10:19:11 +10:30
Peter Hutterer
8a23707b86 dmx: change remainder of manual EQ allocation to GetEventList(). 2008-10-17 10:19:10 +10:30
Adam Jackson
7aa535708f Fix more xcalloc stupidity.
Did I mention the hate?  Pretty sure I mentioned the hate.
2008-10-08 16:25:59 -04:00
Adam Jackson
4fe80aa14a I hate you xlib. Please die in a fire. 2008-10-08 16:22:35 -04:00
Adam Jackson
8a5b89e8e1 xalloc+memset(0) -> xcalloc 2008-10-06 15:36:51 -04:00
Kristian Høgsberg
25dd5ce077 Add atKeynames.h in hw/dmx/input and drop evil cross-ddx #include. 2008-07-28 12:35:03 -04:00
Peter Hutterer
874dcdb3bd dmx: remove a ifndef XINPUT, XINPUT is always defined now. 2008-06-05 16:14:29 +09:30
Peter Hutterer
52752911ea dmx: don't free event list after use. 2008-06-05 16:14:23 +09:30
Peter Hutterer
3ff2f3a00e dmx: for now, don't acknowledge SDs. 2008-06-05 16:13:38 +09:30
Peter Hutterer
5bcd9e8953 dmx: learn about the existence of IsXExtensionPointer and IsXExtensionKeyboard 2008-06-05 16:13:23 +09:30
Peter Hutterer
8da8a0fec4 dmx: claim we support XI 2.
We don't really, yet, but at least we get the full device list this way.
2008-06-05 16:13:18 +09:30
Peter Hutterer
d10ba4591a dmx: some more build fixes. 2008-06-05 16:13:03 +09:30
Peter Hutterer
00b4339168 dmx: remove some #if 0'd code. 2008-05-25 22:34:11 +09:30
Peter Hutterer
68b4f250ee dmx: fix build.
Just because it builds, doesn't mean it works.
2008-05-14 16:18:48 +09:30
Peter Hutterer
e251c9e75a Remove all traces of #ifdef XINPUT and the matching bits from the configure.ac 2008-04-25 16:49:35 +09:30
Eamon Walsh
5c03d13181 xace: add new hooks + access controls: XInput extension.
Introduces new dix API to lookup a device, dixLookupDevice(), which
replaces LookupDeviceIntRec and LookupDevice.
2007-09-28 08:02:00 -04:00
Eamon Walsh
4017d31902 devPrivates rework: since API is already broken, switch everything
over to new system.

Need to update documentation and address some remaining vestiges of
old system such as CursorRec structure, fb "offman" structure, and
FontRec privates.
2007-08-28 09:28:25 -04:00
Adam Jackson
4d76075dbb Death to RCS tags. 2007-06-29 14:06:52 -04:00
Brian
e1dea151db Implement a minor hack in dmxCheckFunctionKeys() to detect special keys.
Keep track of status of (left) alt/ctrl keys so that ctrl-alt-q to exit
can be detected.  Not ideal, but works for now.
2007-04-03 11:21:50 -06:00
Brian
e44f106ffc clean-up, debug code 2007-04-02 16:26:15 -06:00
Brian
8d8bc89277 fix formatting 2007-04-02 16:21:57 -06:00
Brian
3e482de7b1 checkpoint: more clean-up 2007-04-02 15:38:15 -06:00
Brian
76a7a5ca1f formatting fixes 2007-04-02 15:24:05 -06:00
Brian
69baad321d clean-up dmxCoreMotion() dmxCoreMotion2() 2007-04-02 15:21:22 -06:00
Brian
44eb15adee checkpoint clean-up 2007-04-02 15:12:04 -06:00
Brian
0f873a9d4f remove some debug code 2007-04-02 14:51:38 -06:00
Brian
3a0ce1084a for completeness, init dummy's min/maxval[1] values (vertical axis) 2007-04-02 14:51:21 -06:00
Brian
12016f20f7 As for normal mouse device, init valuator maxval[] to real values, not zero. 2007-04-02 14:50:48 -06:00
Brian
0aaf28e563 In dmxBackendMouGetInfo() initialize the info->minval[], maxval[] arrays to the size of the backend display.
It seems that the changes to X input exposed a problem that wasn't detected
before.  The axis clipping code in GetPointerEvents() uses those limits to
constrain the pointer's coordinate range.  The max was zero so the pointer
couldn't move.
2007-04-02 12:41:30 -06:00