class UVC::UVCDevice::Info

Attributes

asynchronous_control[R]
autoupdate_control[R]
disabled_due_to_automatic_mode[R]
disabled_due_to_incompatibility_with_commit_state[R]
supports_get[R]
supports_set[R]

Public Class Methods

new(bits) click to toggle source
# File lib/uvc.rb, line 792
def initialize(bits)
        bits = bits.reverse.split(//).map {|c| c == "1" }
        @supports_get = bits[0]
        @supports_set = bits[1]
        @disabled_due_to_automatic_mode = bits[2]
        @autoupdate_control = bits[3]
        @asynchronous_control = bits[4]
        @disabled_due_to_incompatibility_with_commit_state = bits[5]
end