Class: ProconBypassMan::DeviceProconFinder

Inherits:
Object
  • Object
show all
Defined in:
lib/procon_bypass_man/support/device_procon_finder.rb

Constant Summary collapse

HID_NAME =
"Nintendo Co., Ltd. Pro Controller"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.findObject



4
5
6
# File 'lib/procon_bypass_man/support/device_procon_finder.rb', line 4

def self.find
  new.find
end

Instance Method Details

#findString, NilClass

Returns:

  • (String, NilClass)


9
10
11
# File 'lib/procon_bypass_man/support/device_procon_finder.rb', line 9

def find
  find_device_path
end