001/*----------------------------------------------------------------------------*/
002/* Copyright (c) FIRST 2016. 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/// USB camera information
011public class UsbCameraInfo {
012  public UsbCameraInfo(int dev, String path, String name) {
013    this.dev = dev;
014    this.path = path;
015    this.name = name;
016  }
017
018  /// Device number (e.g. N in '/dev/videoN' on Linux)
019  public int dev;
020  /// Path to device if available (e.g. '/dev/video0' on Linux)
021  public String path;
022  /// Vendor/model name of the camera as provided by the USB driver
023  public String name;
024}