<commit_before>#ifndef MOTION_H
#define MOTION_H

class Motion
{
    public:
        Motion();

    private:
        
};

#endif // MOTION_H<commit_msg>add Motion to support different type of controller<commit_after>#ifndef MOTION_H
#define MOTION_H
#include "include/Leap.h"

class Motion
{
    public:
        Motion();
        
        bool setController(int controller_type);
        int getControllerCurrent();
        int* getControllerSupported();
        
        double getNormalizedX();
        double getNormalizedY();
        double getNormalizedZ();
        
        int getGestureStatus(int gesture_type);
        
    private:
        int controller_type_current;
        int* controller_type_supported;
        
        double x_normalized;
        double y_normalized;
        double z_normalized;
        
        //for Leap Motion
        Leap::Controller controller_leap;
        Leap::InteractionBox box_leap;
        
};

#endif // MOTION_H
{'fraction_non_alphanumeric': 0.07588357588357589, 'fraction_numerical': 0.0, 'mean_word_length': 2.1470588235294117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2414010', 'n_tokens_mistral': 286, 'n_tokens_neox': 271, 'n_words': 63}