Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> สมาร์ทโฟน >> Linux

คลิกขวา (Right-Click) ด้วย Trackpad บน Mac: Boot Camp, VirtualBox, Parallels, VMware Fusion

บน macOS ทำได้โดย: แตะ Trackpad 2 นิ้วพร้อมกัน (Two-finger tap) หรือตั้งค่าที่ System Settings

Boot Camp (Windows บน Mac Hardware)

Windows บน Boot Camp รองรับ Trackpad Gesture ของ Apple ผ่าน Boot Camp Drivers:

  • Right-click: แตะ Trackpad 2 นิ้วพร้อมกัน
  • Scroll: ลาก 2 นิ้ว
  • Zoom: Pinch 2 นิ้ว

ต้องติดตั้ง Boot Camp Support Software ให้ครบ (Download จาก Boot Camp Assistant หรือ Apple Support)

VirtualBox / Parallels / VMware Fusion (Guest OS)

Guest OS (Windows/Linux) จะรับ Input ผ่าน Hypervisor ต้องตั้งค่าที่ Host (macOS) และ/หรือ Guest

1. ตั้งค่าที่ macOS (Host) - สำคัญที่สุด

  1. System Settings → Trackpad → Point & Click
  2. ☑ Secondary click (คลิกขวา)
  3. เลือก: Click with two fingers (แนะนำ) หรือ Click in bottom right corner
  4. ☑ Tap to click (แตะเพื่อคลิก - ทำให้สะดวกกว่า)

2. VirtualBox

  • Settings → System → Motherboard → ☑ Enable I/O APIC
  • Settings → USB → ☑ USB Controller (USB 2.0/3.0)
  • Guest Additions: ติดตั้งใน Guest OS เพื่อ Mouse Integration, Shared Clipboard, Drag & Drop
  • Host Key (ปกติ Right Ctrl) + คลิก = Right Click ใน Guest (ถ้า Mouse Integration ปิด)

3. Parallels Desktop

  • Parallels Tools ติดตั้งใน Guest (Windows/Linux) → รองรับ Gesture ทั้งหมดจาก macOS Trackpad
  • Actions → Configure → Hardware → Mouse & Keyboard → ☑ Mouse → Optimize for games (ถ้าเล่นเกม)
  • Right-click: แตะ 2 นิ้ว (ทำงานได้ดีที่สุดกับ Parallels Tools)

4. VMware Fusion

  • VMware Tools ติดตั้งใน Guest
  • Virtual Machine Settings → Keyboard & Mouse → ☑ Use Mac shortcuts
  • Right-click: แตะ 2 นิ้ว (ทำงานได้ดีกับ VMware Tools)

สรุปการตั้งค่าที่แนะนำ

PlatformRight-Click MethodKey Requirement
macOS (Native)Two-finger tap / Click bottom-rightTrackpad Settings
Boot Camp (Windows)Two-finger tapBoot Camp Drivers
VirtualBoxTwo-finger tap (Host) / Host Key + ClickGuest Additions
ParallelsTwo-finger tapParallels Tools
VMware FusionTwo-finger tapVMware Tools

แก้ปัญหา Right-Click ไม่ทำงาน

  1. ตรวจสอบ macOS Trackpad Settings (Secondary Click = On)
  2. Reinstall Guest Tools (Guest Additions / Parallels Tools / VMware Tools)
  3. Update Hypervisor ให้ล่าสุด
  4. Restart Guest OS และ Host
  5. ตรวจสอบ Mouse Integration Settings ใน Hypervisor