001/*----------------------------------------------------------------------------*/
002/* Copyright (c) 2016-2018 FIRST. All Rights Reserved.                        */
003/* Open Source Software - may be modified and shared by FRC teams. The code   */
004/* must be accompanied by the FIRST BSD license file in the root directory of */
005/* the project.                                                               */
006/*----------------------------------------------------------------------------*/
007
008package edu.wpi.cscore;
009
010/**
011 * USB camera information
012 */
013public class UsbCameraInfo {
014  public UsbCameraInfo(int dev, String path, String name) {
015    this.dev = dev;
016    this.path = path;
017    this.name = name;
018  }
019
020  /**
021   * Device number (e.g. N in '/dev/videoN' on Linux)
022   */
023  public int dev;
024
025  /**
026   * Path to device if available (e.g. '/dev/video0' on Linux)
027   */
028  public String path;
029
030  /**
031   * Vendor/model name of the camera as provided by the USB driver
032   */
033  public String name;
034}