You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
#ifndef TRACKBALLVIEWMODEL_H
|
|
#define TRACKBALLVIEWMODEL_H
|
|
|
|
#include "viewModel/BaseViewModel.h"
|
|
|
|
class TrackballViewModel : public BaseViewModel
|
|
{
|
|
Q_OBJECT
|
|
US_VIEW_MODEL(TrackballViewModel)
|
|
SINGLETON(TrackballViewModel)
|
|
|
|
private:
|
|
US_TRACKBALL(centerTrackball1, "pos", true, true)
|
|
US_TRACKBALL(centerTrackball2, "center", true, false)
|
|
|
|
US_TRACKBALL(upTrackball1, "Up 1", true, true)
|
|
US_TRACKBALL(upTrackball2, "Up 2", true, false)
|
|
|
|
US_TRACKBALL(downTrackball1, "Down 1", true, true)
|
|
US_TRACKBALL(downTrackball2, "Down 2", true, false)
|
|
|
|
US_TRACKBALL(rightTrackball1, "Right 1", false, false)
|
|
US_TRACKBALL(rightTrackball2, "Right 2", false, true)
|
|
|
|
US_TRACKBALL(leftTrackball1, "Left 1", true, true)
|
|
US_TRACKBALL(leftTrackball2, "Left 2", true, false)
|
|
|
|
US_TRACKBALL(upRightTrackball, "", true, true)
|
|
US_TRACKBALL(downRightTrackball, "", true, true)
|
|
US_TRACKBALL(upLeftTrackball, "", true, true)
|
|
US_TRACKBALL(downLeftTrackball, "", true, true)
|
|
};
|
|
|
|
#endif //TRACKBALLVIEWMODEL_H
|
|
|