Traveler: Add support for analog joystick

This commit is contained in:
Gregory Nutt 2014-12-14 08:55:18 -06:00
parent ecbd3c5e92
commit 8c60335f94

View File

@ -65,6 +65,7 @@ CONFIG_DEBUG_GRAPHICS=y
# #
# Driver Debug Options # Driver Debug Options
# #
# CONFIG_DEBUG_INPUT is not set
# CONFIG_DEBUG_ANALOG is not set # CONFIG_DEBUG_ANALOG is not set
# CONFIG_DEBUG_GPIO is not set # CONFIG_DEBUG_GPIO is not set
CONFIG_DEBUG_SYMBOLS=y CONFIG_DEBUG_SYMBOLS=y
@ -100,6 +101,7 @@ CONFIG_SIM_X11FB=y
CONFIG_SIM_FBHEIGHT=400 CONFIG_SIM_FBHEIGHT=400
CONFIG_SIM_FBWIDTH=640 CONFIG_SIM_FBWIDTH=640
CONFIG_SIM_FBBPP=32 CONFIG_SIM_FBBPP=32
# CONFIG_SIM_TOUCHSCREEN is not set
# CONFIG_SIM_SPIFLASH is not set # CONFIG_SIM_SPIFLASH is not set
# #
@ -298,7 +300,15 @@ CONFIG_DEV_NULL=y
# CONFIG_AUDIO_DEVICES is not set # CONFIG_AUDIO_DEVICES is not set
# CONFIG_VIDEO_DEVICES is not set # CONFIG_VIDEO_DEVICES is not set
# CONFIG_BCH is not set # CONFIG_BCH is not set
# CONFIG_INPUT is not set CONFIG_INPUT=y
# CONFIG_MOUSE is not set
# CONFIG_INPUT_MAX11802 is not set
# CONFIG_INPUT_TSC2007 is not set
# CONFIG_INPUT_ADS7843E is not set
# CONFIG_INPUT_MXT is not set
# CONFIG_INPUT_STMPE811 is not set
# CONFIG_DJOYSTICK is not set
CONFIG_AJOYSTICK=y
# CONFIG_LCD is not set # CONFIG_LCD is not set
# CONFIG_MMCSD is not set # CONFIG_MMCSD is not set
# CONFIG_MTD is not set # CONFIG_MTD is not set
@ -474,6 +484,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
# #
# Examples # Examples
# #
# CONFIG_EXAMPLES_AJOYSTICK is not set
# CONFIG_EXAMPLES_BUTTONS is not set # CONFIG_EXAMPLES_BUTTONS is not set
# CONFIG_EXAMPLES_CAN is not set # CONFIG_EXAMPLES_CAN is not set
# CONFIG_EXAMPLES_CONFIGDATA is not set # CONFIG_EXAMPLES_CONFIGDATA is not set
@ -549,7 +560,10 @@ CONFIG_GRAPHICS_TRAVELER_PALRANGES=y
# #
# Input device selection # Input device selection
# #
# CONFIG_GRAPHICS_TRAVELER_JOYSTICK is not set CONFIG_GRAPHICS_TRAVELER_JOYSTICK=y
CONFIG_GRAPHICS_TRAVELER_AJOYSTICK=y
CONFIG_GRAPHICS_TRAVELER_JOYSTICK_SIGNO=13
CONFIG_GRAPHICS_TRAVELER_JOYDEV="/dev/ajoy0"
# #
# Debug options # Debug options
@ -616,6 +630,11 @@ CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL=3
# #
# CONFIG_SYSTEM_CLE is not set # CONFIG_SYSTEM_CLE is not set
#
# CU Minimal Terminal
#
# CONFIG_SYSTEM_CUTERM is not set
# #
# FLASH Program Installation # FLASH Program Installation
# #