dix: update pointer acceleration code to use ValuatorMask
Signed-off-by: Simon Thum <simon.thum@gmx.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Peter Hutterer
parent
8128846e16
commit
a4b8526185
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright © 2006-2009 Simon Thum simon dot thum at gmx dot de
|
||||
* Copyright © 2006-2011 Simon Thum simon dot thum at gmx dot de
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,7 +25,7 @@
|
||||
#ifndef POINTERVELOCITY_H
|
||||
#define POINTERVELOCITY_H
|
||||
|
||||
#include <input.h> /* DeviceIntPtr */
|
||||
#include <input.h>
|
||||
|
||||
/* constants for acceleration profiles */
|
||||
|
||||
@@ -134,11 +134,9 @@ InitPredictableAccelerationScheme(DeviceIntPtr dev,
|
||||
struct _ValuatorAccelerationRec* protoScheme);
|
||||
|
||||
extern _X_INTERNAL void
|
||||
acceleratePointerPredictable(DeviceIntPtr dev, int first_valuator,
|
||||
int num_valuators, int *valuators, int evtime);
|
||||
acceleratePointerPredictable(DeviceIntPtr dev, ValuatorMask* val, int evtime);
|
||||
|
||||
extern _X_INTERNAL void
|
||||
acceleratePointerLightweight(DeviceIntPtr dev, int first_valuator,
|
||||
int num_valuators, int *valuators, int ignored);
|
||||
acceleratePointerLightweight(DeviceIntPtr dev, ValuatorMask* val, int evtime);
|
||||
|
||||
#endif /* POINTERVELOCITY_H */
|
||||
|
||||
Reference in New Issue
Block a user