summaryrefslogtreecommitdiff
path: root/xf86-input-joystick.tex
diff options
context:
space:
mode:
Diffstat (limited to 'xf86-input-joystick.tex')
-rw-r--r--xf86-input-joystick.tex98
1 files changed, 85 insertions, 13 deletions
diff --git a/xf86-input-joystick.tex b/xf86-input-joystick.tex
index e22229d..898f0d3 100644
--- a/xf86-input-joystick.tex
+++ b/xf86-input-joystick.tex
@@ -69,7 +69,7 @@
\section*{Overview}
\subsection*{Abstract}
-\begin{frame}{Abstract}
+\begin{frame}{abstract}
\structure{xf86-input-joystick?}
\begin{itemize}
\item \textbf{not} meant for playing games under X
@@ -80,7 +80,7 @@
\end{frame}
\subsection*{Overview}
-\begin{frame}{Overview}
+\begin{frame}{overview}
\tableofcontents
\end{frame}
@@ -89,6 +89,7 @@
\subsection{physical joysticks}
\begin{frame}{joysticks}
\begin{itemize}
+ \item lot of different hardware configurations
\item easily 6 or more axes, different types
\begin{itemize}
\item directional pad
@@ -96,10 +97,10 @@
\item analog sticks
\end{itemize}
\item bunch of buttons, easily 10 and more
- \item sometimes force feedback
+ \item force feedback
\end{itemize}
\begin{center}
- \includegraphics[width=4cm,height=4cm]{pics/logitech_1.png}
+ \includegraphics[width=3.5cm,height=3.5cm]{pics/logitech_1.png}
\end{center}
\end{frame}
@@ -163,7 +164,8 @@ $$
$ \Rightarrow $ lightweight abstraction layer
\end{frame}
-\section{Features}
+
+\section{Details}
\subsection{mappings}
\begin{frame}{axis mappings}
\structure{form of mapping}
@@ -219,7 +221,7 @@ $$
\end{itemize}
\end{frame}
-\subsection{distributing}
+
\begin{frame}{distribution defaults}
\begin{itemize}
\item mostly installed unintentionally \\
@@ -240,21 +242,91 @@ $$
\end{frame}
+\subsection{pointer vs. keyboard}
+\begin{frame}{pointer vs. keyboard}
+ \begin{itemize}
+ \item X.Org server strictly separates pointers and keyboards
+ \item no hybrid input devices \\
+ $ \Rightarrow $ xf86-input-joystick has to create two input devices
+ \begin{itemize}
+ \item properties only on pointer
+ \item keyboard layout and autorepeat on keyboard
+ \end{itemize}
+ \end{itemize}
+\end{frame}
-\section{Technical details}
-% keyboard layout unknown, how to provide good mapping with scancodes
-% different auto repeat rates
-% creates two devices, MOUSE and KEYBOARD
-% automatic configuration is problematic
-% dynamic configuration and state change desired
-% XI2 and valuator events
+
+\begin{frame}{keyboard configuration}
+ \begin{itemize}
+ \item user wants KeySyms (space, Return, XF86AudioPlay, ...)
+ \item driver emits scancodes
+ \begin{itemize}
+ \item keyboard layout unwanted indirection layer
+ \item layout unknown to driver
+ \item no custom keyboard layout from within driver
+ \end{itemize}
+ \item different auto repeat rate possible \\
+ $ \Rightarrow $ current configuration PITA
+ \end{itemize}
+\end{frame}
+
+
+\subsection{raw valuators}
+\begin{frame}{raw valuator events}
+ \begin{itemize}
+ \item valuators 0 and 1 reserved for pointer movement
+ \item optional additional raw valuator per axis
+ \begin{itemize}
+ \item useful for XI2 applications (e.g. gimp)
+ \item less useful for games
+ \end{itemize}
+ \end{itemize}
+\end{frame}
\section{Future}
+\subsection{platforms}
+\begin{frame}{platforms}
+ \begin{itemize}
+ \item focus on Linux
+ \begin{itemize}
+ \item end user desktop systems
+ \item interactive kiosk systems
+ \item console systems (XBox, PS2/3, ...)
+ \item media central systems
+ \end{itemize}
+ \item support for Solaris, etc. possible \\
+ $ \Rightarrow $ not useful
+ \end{itemize}
+\end{frame}
+
+
+\subsection{features}
+\begin{frame}{possible features}
+ \begin{itemize}
+ \item most properties implemented
+ \begin{itemize}
+ \item still some work left
+ \end{itemize}
+ \item \textbf{xinput} only ``frontend'' for properties
+ \begin{itemize}
+ \item driver can deactivate/activate itself
+ \item GTK/Qt frontend with profiles
+ \end{itemize}
+ \item \textit{force feedback} support
+ \end{itemize}
+\end{frame}
+\section*{}
+\subsection*{}
+\begin{frame}
+ \begin{center}
+ \huge Thank you
+ \end{center}
+\end{frame}
\end{document}