Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2018 04:11:58 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339764 - head/sys/sys
Message-ID:  <201810260411.w9Q4Bw60071950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Oct 26 04:11:58 2018
New Revision: 339764
URL: https://svnweb.freebsd.org/changeset/base/339764

Log:
  Add warning to sys/joystick.h announcing its planned demise.

Modified:
  head/sys/sys/joystick.h

Modified: head/sys/sys/joystick.h
==============================================================================
--- head/sys/sys/joystick.h	Fri Oct 26 04:10:32 2018	(r339763)
+++ head/sys/sys/joystick.h	Fri Oct 26 04:11:58 2018	(r339764)
@@ -49,4 +49,6 @@ struct joystick {
 #define JOY_GET_X_OFFSET  _IOR('J', 5, int)    /* get offset on X-axis */
 #define JOY_GET_Y_OFFSET  _IOR('J', 6, int)    /* get offset on Y-axis */
 
+#warning "This interface is for obsolete hardware and will be removed in FreeBSD 13"
+
 #endif /* !_SYS_JOYSTICK_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810260411.w9Q4Bw60071950>