Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_window.c
| Show First 20 Lines • Show All 1,998 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Cursor API | /** \name Cursor API | ||||
| * \{ */ | * \{ */ | ||||
| void WM_init_tablet_api(void) | void WM_init_input_devices(void) | ||||
| { | { | ||||
| if (g_system) { | if (g_system) { | ||||
| GHOST_SetMultitouchGestures(g_system, (U.uiflag & USER_NO_MULTITOUCH_GESTURES) == 0); | |||||
| switch (U.tablet_api) { | switch (U.tablet_api) { | ||||
| case USER_TABLET_NATIVE: | case USER_TABLET_NATIVE: | ||||
| GHOST_SetTabletAPI(g_system, GHOST_kTabletWinPointer); | GHOST_SetTabletAPI(g_system, GHOST_kTabletWinPointer); | ||||
| break; | break; | ||||
| case USER_TABLET_WINTAB: | case USER_TABLET_WINTAB: | ||||
| GHOST_SetTabletAPI(g_system, GHOST_kTabletWintab); | GHOST_SetTabletAPI(g_system, GHOST_kTabletWintab); | ||||
| break; | break; | ||||
| case USER_TABLET_AUTOMATIC: | case USER_TABLET_AUTOMATIC: | ||||
| ▲ Show 20 Lines • Show All 357 Lines • Show Last 20 Lines | |||||