<commit_before>#include "wiigyromouse.h"
#include "../event_translator_macros.h"
#include <cmath>

//wiimote.(wm_accels,wm_gyros,wm_down, ratchet_btn, dampen_btns) = wiigyromouse(...)
const char* wiigyromouse::decl = \
 "axis, axis, axis, axis, axis, axis, key [] = wiigyromouse(float smooth_factor=.75, int buffer_size=4, float xscale=1, float yscale=1, float min_offset=0.0616205, float max_offset=60, float deadzone = .01, bool use_accels=true, float dampen_factor = 0, int dampen_period = 1)";
wiigyromouse::wiigyromouse(std::vector<MGField>& fields) {
  BEGIN_READ_DEF;
  READ_FLOAT(smooth_factor);<commit_msg>fix default value of wiigyromouse dampenperiod<commit_after>#include "wiigyromouse.h"
#include "../event_translator_macros.h"
#include <cmath>

//wiimote.(wm_accels,wm_gyros,wm_down, ratchet_btn, dampen_btns) = wiigyromouse(...)
const char* wiigyromouse::decl = \
 "axis, axis, axis, axis, axis, axis, key [] = wiigyromouse(float smooth_factor=.75, int buffer_size=4, float xscale=1, float yscale=1, float min_offset=0.0616205, float max_offset=60, float deadzone = .01, bool use_accels=true, float dampen_factor = 0, int dampen_period = 10)";
wiigyromouse::wiigyromouse(std::vector<MGField>& fields) {
  BEGIN_READ_DEF;
  READ_FLOAT(smooth_factor);
{'fraction_non_alphanumeric': 0.13765822784810128, 'fraction_numerical': 0.030854430379746837, 'mean_word_length': 7.006329113924051, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3309615', 'n_tokens_mistral': 510, 'n_tokens_neox': 479, 'n_words': 98}