บน 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) - สำคัญที่สุด
- System Settings → Trackpad → Point & Click
- ☑ Secondary click (คลิกขวา)
- เลือก: Click with two fingers (แนะนำ) หรือ Click in bottom right corner
- ☑ 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)
สรุปการตั้งค่าที่แนะนำ
| Platform | Right-Click Method | Key Requirement |
|---|---|---|
| macOS (Native) | Two-finger tap / Click bottom-right | Trackpad Settings |
| Boot Camp (Windows) | Two-finger tap | Boot Camp Drivers |
| VirtualBox | Two-finger tap (Host) / Host Key + Click | Guest Additions |
| Parallels | Two-finger tap | Parallels Tools |
| VMware Fusion | Two-finger tap | VMware Tools |
แก้ปัญหา Right-Click ไม่ทำงาน
- ตรวจสอบ macOS Trackpad Settings (Secondary Click = On)
- Reinstall Guest Tools (Guest Additions / Parallels Tools / VMware Tools)
- Update Hypervisor ให้ล่าสุด
- Restart Guest OS และ Host
- ตรวจสอบ Mouse Integration Settings ใน Hypervisor