Changeset 22685 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Sep 1, 2009 9:58:57 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51797
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxmouse/vboxmouse_15.c
r22589 r22685 74 74 } 75 75 76 static void 77 VBoxPtrCtrlProc(DeviceIntPtr device, PtrCtrl *ctrl) 78 { 79 /* Nothing to do, dix handles all settings */ 80 } 81 76 82 static int 77 83 VBoxInit(DeviceIntPtr device) 78 84 { 79 85 CARD8 map[2] = { 0, 1 }; 80 InputInfoPtr pInfo;81 82 pInfo = device->public.devicePrivate;83 86 Atom axis_labels[2] = { 0, 0 }; 84 87 Atom button_labels[2] = { 0, 0 }; 85 88 InputInfoPtr pInfo; 89 90 pInfo = device->public.devicePrivate; 86 91 if (!InitValuatorClassDeviceStruct(device, 2, 87 92 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 … … 99 104 #endif 100 105 map)) 106 return !Success; 107 if (!InitPtrFeedbackClassDeviceStruct(device, VBoxPtrCtrlProc)) 101 108 return !Success; 102 109
Note:
See TracChangeset
for help on using the changeset viewer.