1*e757cb8eSHans Petter Selasky# 2*e757cb8eSHans Petter Selasky# 3*e757cb8eSHans Petter Selasky# Copyright (c) 2018 Johannes Lundberg. All rights reserved. 4*e757cb8eSHans Petter Selasky# 5*e757cb8eSHans Petter Selasky# Redistribution and use in source and binary forms, with or without 6*e757cb8eSHans Petter Selasky# modification, are permitted provided that the following conditions 7*e757cb8eSHans Petter Selasky# are met: 8*e757cb8eSHans Petter Selasky# 1. Redistributions of source code must retain the above copyright 9*e757cb8eSHans Petter Selasky# notice, this list of conditions and the following disclaimer. 10*e757cb8eSHans Petter Selasky# 2. Redistributions in binary form must reproduce the above copyright 11*e757cb8eSHans Petter Selasky# notice, this list of conditions and the following disclaimer in the 12*e757cb8eSHans Petter Selasky# documentation and/or other materials provided with the distribution. 13*e757cb8eSHans Petter Selasky# 14*e757cb8eSHans Petter Selasky# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*e757cb8eSHans Petter Selasky# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*e757cb8eSHans Petter Selasky# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*e757cb8eSHans Petter Selasky# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*e757cb8eSHans Petter Selasky# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*e757cb8eSHans Petter Selasky# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*e757cb8eSHans Petter Selasky# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*e757cb8eSHans Petter Selasky# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*e757cb8eSHans Petter Selasky# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*e757cb8eSHans Petter Selasky# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*e757cb8eSHans Petter Selasky# SUCH DAMAGE. 25*e757cb8eSHans Petter Selasky# 26*e757cb8eSHans Petter Selasky 27*e757cb8eSHans Petter SelaskyS= ${SRCTOP}/sys 28*e757cb8eSHans Petter Selasky 29*e757cb8eSHans Petter Selasky.PATH: $S/dev/usb/input 30*e757cb8eSHans Petter Selasky 31*e757cb8eSHans Petter SelaskyKMOD= uhid_snes 32*e757cb8eSHans Petter SelaskySRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h vnode_if.h usbdevs.h \ 33*e757cb8eSHans Petter Selasky uhid_snes.c 34*e757cb8eSHans Petter Selasky 35*e757cb8eSHans Petter Selasky.include <bsd.kmod.mk> 36