Changeset 16091 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 20, 2009 4:53:58 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/Makefile.kmk
r15816 r16091 97 97 $(PATH_BIN)/additions/vboxmouse_drv_14.so \ 98 98 $(PATH_BIN)/additions/vboxmouse_drv_15.so \ 99 $(PATH_BIN)/additions/vboxmouse_drv_16.so \ 99 100 $(PATH_BIN)/additions/vboxvideo_drv.o \ 100 101 $(PATH_BIN)/additions/vboxvideo_drv_70.so \ … … 103 104 $(PATH_BIN)/additions/vboxvideo_drv_14.so \ 104 105 $(PATH_BIN)/additions/vboxvideo_drv_15.so \ 106 $(PATH_BIN)/additions/vboxvideo_drv_16.so \ 105 107 $(PATH_BIN)/additions/mountvboxsf \ 106 108 $(VBOX_SELINUX_CMPLD) \ … … 147 149 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_14.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_14.so 148 150 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_15.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_15.so 151 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_16.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_16.so 149 152 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxvideo_drv.o $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv.o 150 153 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_70.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_70.so … … 153 156 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_14.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_14.so 154 157 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_15.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_15.so 158 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_16.so $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_16.so 155 159 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/mountvboxsf $(VBOX_LNX_ADD_INS_OUT_DIR)/mount.vboxsf 156 160 ifdef VBOX_SELINUX_CMPLD -
trunk/src/VBox/Additions/x11/xgraphics/Makefile.kmk
r12446 r16091 191 191 vboxvideo_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD 192 192 vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 193 vboxvideo_drv_15_DEFS := $(vboxvideo_drv_70_DEFS) NO_ANSIC PCIACCESS 193 vboxvideo_drv_15_DEFS := $(vboxvideo_drv_70_DEFS) NO_ANSIC PCIACCESS VBOX_NO_LOW_COLOUR 194 194 vboxvideo_drv_15_INCS = \ 195 195 $(VBOX_PATH_X11_XORG_1_5) \ … … 201 201 202 202 203 # 204 # vboxvideo_drv_16 205 # 206 DLLS += vboxvideo_drv_16 207 vboxvideo_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD 208 vboxvideo_drv_16_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 209 vboxvideo_drv_16_DEFS := $(vboxvideo_drv_15_DEFS) 210 vboxvideo_drv_16_INCS = \ 211 $(VBOX_PATH_X11_XORG_1_6) \ 212 $(VBOX_PATH_X11_XORG_1_6)/X11 \ 213 $(VBOX_PATH_X11_XORG_1_6)/xorg 214 vboxvideo_drv_16_SOURCES = \ 215 vboxvideo_15.c \ 216 vboxutils.c 217 218 203 219 include $(KBUILD_PATH)/subfooter.kmk 204 220 -
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo.h
r9811 r16091 82 82 /* VBE/DDC support */ 83 83 #include "vbe.h" 84 #include "vbeModes.h"85 84 86 85 /* ShadowFB support */ 87 #include "shadow.h"88 89 86 #include "shadowfb.h" 90 87 … … 105 102 #define VBE_DISPI_LFB_ENABLED 0x40 106 103 107 /* Int 10 support */108 #include "xf86int10.h"109 110 /* bank switching */111 #include "mibank.h"112 113 104 /* Dga definitions */ 114 105 #include "dgaproc.h" 115 106 116 #include "xf86Resources.h"117 107 #include "xf86RAC.h" 118 108 119 #include "xf1bpp.h"120 #include "xf4bpp.h"121 109 #include "fb.h" 122 #include "afb.h"123 #include "mfb.h"124 110 125 111 #define VBOX_VERSION 4000 -
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_15.c
r9929 r16091 84 84 #define BOOL_STR(a) ((a) ? "TRUE" : "FALSE") 85 85 86 #ifdef XFree86LOADER 87 # include "xorg-server.h" 88 #else 89 # ifdef HAVE_CONFIG_H 90 # include "config.h" 91 # endif 92 #endif 86 #include "xorg-server.h" 93 87 #include "vboxvideo.h" 94 88 #include "version-generated.h" -
trunk/src/VBox/Additions/x11/xmouse/Makefile.kmk
r12446 r16091 126 126 $(PATH_SUB_CURRENT) 127 127 vboxmouse_drv_15_SOURCES = \ 128 xorg15/vboxmouse.c 128 vboxmouse_15.c 129 130 131 # 132 # vboxmouse_drv_16 133 # 134 DLLS += vboxmouse_drv_16 135 vboxmouse_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD 136 vboxmouse_drv_16_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 137 vboxmouse_drv_16_INCS := \ 138 $(VBOX_PATH_X11_XORG_1_6) \ 139 $(VBOX_PATH_X11_XORG_1_6)/X11 \ 140 $(VBOX_PATH_X11_XORG_1_6)/xorg \ 141 $(PATH_SUB_CURRENT) 142 vboxmouse_drv_16_SOURCES = \ 143 vboxmouse_15.c 129 144 130 145 -
trunk/src/VBox/Additions/x11/xmouse/vboxmouse_15.c
r16042 r16091 48 48 */ 49 49 50 #ifdef HAVE_CONFIG_H51 #include "config.h"52 #endif53 54 50 #include <VBox/VBoxGuest.h> 55 51 #include <xf86.h> … … 78 74 VBoxInit(DeviceIntPtr device) 79 75 { 76 CARD8 map[2] = { 0, 1 }; 80 77 InputInfoPtr pInfo; 81 78 82 79 pInfo = device->public.devicePrivate; 83 80 84 if (!InitValuatorClassDeviceStruct(device, 2, GetMotionHistory, 85 GetMotionHistorySize(), Absolute)) { 86 xf86Msg(X_ERROR, "%s: InitValuatorClassDeviceStruct failed\n", 87 pInfo->name); 88 return BadAlloc; 89 } 81 if (!InitValuatorClassDeviceStruct(device, 2, 82 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 83 GetMotionHistory, 84 #endif 85 GetMotionHistorySize(), Absolute)) 86 return !Success; 87 88 /* Pretend we have buttons so the server accepts us as a pointing device. */ 89 if (!InitButtonClassDeviceStruct(device, 2 /* number of buttons */, map)) 90 return !Success; 90 91 91 92 /* Tell the server about the range of axis values we report */ … … 185 186 pInfo->type_name = XI_MOUSE; 186 187 pInfo->flags = XI86_POINTER_CAPABLE | XI86_SEND_DRAG_EVENTS | 187 XI86_ALWAYS_CORE | XI86_OPEN_ON_INIT;188 XI86_ALWAYS_CORE; 188 189 189 190 xf86CollectInputOptions(pInfo, NULL, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.