The Leap Motion device is completely independent from the Oculus Rift. It should work with virtually any HMD, barring model-specific interference or OS incompatibility. For example if a specific HMD used the same frequency of IR light for head tracking, there could be issues with interference. Likewise, an iOS-based HMD wouldn't work since we don't have an iOS service.