mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Use usb-mouse instead of usb-tablet on FreeBSD
This commit is contained in:
		
							parent
							
								
									cb2a35a736
								
							
						
					
					
						commit
						8106026fd0
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		
							
								
								
									
										6
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -156,6 +156,7 @@ function vm_boot() { | ||||||
|   local MAC_BOOTLOADER="" |   local MAC_BOOTLOADER="" | ||||||
|   local MAC_MISSING="" |   local MAC_MISSING="" | ||||||
|   local MAC_DISK_DEV="ide-hd,bus=ahci.2" |   local MAC_DISK_DEV="ide-hd,bus=ahci.2" | ||||||
|  |   local MOUSE="usb-tablet" | ||||||
|   local NET_DEVICE="virtio-net" |   local NET_DEVICE="virtio-net" | ||||||
|   local OSK="" |   local OSK="" | ||||||
|   local QEMU_VER="" |   local QEMU_VER="" | ||||||
|  | @ -296,6 +297,9 @@ function vm_boot() { | ||||||
|       if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then |       if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then | ||||||
|         CPU="${CPU},topoext" |         CPU="${CPU},topoext" | ||||||
|       fi |       fi | ||||||
|  |       if [ "${guest_os}" == "freebsd" ]; then | ||||||
|  |         MOUSE="usb-mouse" | ||||||
|  |       fi | ||||||
|       disk_size="16G" |       disk_size="16G" | ||||||
|       ;; |       ;; | ||||||
|     macos) |     macos) | ||||||
|  | @ -625,7 +629,7 @@ function vm_boot() { | ||||||
|          ${VIDEO} -display ${OUTPUT} |          ${VIDEO} -display ${OUTPUT} | ||||||
|          -device usb-ehci,id=input |          -device usb-ehci,id=input | ||||||
|          -device usb-kbd,bus=input.0 |          -device usb-kbd,bus=input.0 | ||||||
|          -device usb-tablet,bus=input.0 |          -device ${MOUSE},bus=input.0 | ||||||
|          -device ${NET_DEVICE},netdev=nic -netdev ${NET},id=nic |          -device ${NET_DEVICE},netdev=nic -netdev ${NET},id=nic | ||||||
|          -audiodev pa,id=audio0,out.mixing-engine=off,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} |          -audiodev pa,id=audio0,out.mixing-engine=off,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} | ||||||
|          -device intel-hda -device hda-duplex,audiodev=audio0 |          -device intel-hda -device hda-duplex,audiodev=audio0 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue