<commit_before>package org.leyfer.thesis.TouchLogger.helper;

import org.leyfer.thesis.TouchLogger.config.Code;
import org.leyfer.thesis.TouchLogger.config.Range;
import org.leyfer.thesis.TouchLogger.config.TouchConfig;
import org.leyfer.thesis.TouchLogger.config.Type;

import java.util.HashMap;
import java.util.Map;

public class DeviceTouchConfig {
    // LG Nexus 5 (stock)
    public static final TouchConfig hammerhead_Nexus_5_Config = new TouchConfig(
            "/dev/input/event1",
            new Code("0003", "0000"),
            new Range(0, 9, 255),
            new Type("002f", "0035", "0036", "003a", "0039")
    );


    // Samsung galaxy note 3
    public static final TouchConfig MSM8974_SM_N900_Config = new TouchConfig(
            "/dev/input/event1",
            new Code("0003", "0000"),
            new Range(0, 9, 255),
            new Type("002f", "0035", "0036", "003b", "0039")
    );

    // LG G2
    public static final TouchConfig MSM8974_LG_D802_Config = new TouchConfig(
            "/dev/input/event1",
            new Code("0003", "0000"),
            new Range(0, 9, 255),
            new Type("002f", "0035", "0036", "003a", "0039")
    );

    public static final Map<String, TouchConfig> configMap = new HashMap<String, TouchConfig>() {{
        put("HAMMERHEAD,NEXUS 5", hammerhead_Nexus_5_Config);
        put("HAMMERHEAD,AOSP ON HAMMERHEAD", hammerhead_Nexus_5_Config);
        put("UNIVERSAL5420,SM-N900", MSM8974_SM_N900_Config);
        put("MSM8974,SM-N9005", MSM8974_SM_N900_Config);
        put("MSM8974,LG-D802", MSM8974_LG_D802_Config);
    }};
}<commit_msg>Fix config for LG G2<commit_after>package org.leyfer.thesis.TouchLogger.helper;

import org.leyfer.thesis.TouchLogger.config.Code;
import org.leyfer.thesis.TouchLogger.config.Range;
import org.leyfer.thesis.TouchLogger.config.TouchConfig;
import org.leyfer.thesis.TouchLogger.config.Type;

import java.util.HashMap;
import java.util.Map;

public class DeviceTouchConfig {
    // LG Nexus 5 (stock)
    public static final TouchConfig hammerhead_Nexus_5_Config = new TouchConfig(
            "/dev/input/event1",
            new Code("0003", "0000"),
            new Range(0, 9, 255),
            new Type("002f", "0035", "0036", "003a", "0039")
    );


    // Samsung galaxy note 3
    public static final TouchConfig MSM8974_SM_N900_Config = new TouchConfig(
            "/dev/input/event1",
            new Code("0003", "0000"),
            new Range(0, 9, 255),
            new Type("002f", "0035", "0036", "003b", "0039")
    );

    // LG G2
    public static final TouchConfig MSM8974_LG_D802_Config = new TouchConfig(
            "/dev/input/event1",
            new Code("0003", "0000"),
            new Range(0, 9, 255),
            new Type("002f", "0035", "0036", "003a", "0039")
    );

    public static final Map<String, TouchConfig> configMap = new HashMap<String, TouchConfig>() {{
        put("HAMMERHEAD,NEXUS 5", hammerhead_Nexus_5_Config);
        put("HAMMERHEAD,AOSP ON HAMMERHEAD", hammerhead_Nexus_5_Config);
        put("UNIVERSAL5420,SM-N900", MSM8974_SM_N900_Config);
        put("MSM8974,SM-N9005", MSM8974_SM_N900_Config);
        put("GALBI,LG-D802", MSM8974_LG_D802_Config);
    }};
}
{'fraction_non_alphanumeric': 0.13449023861171366, 'fraction_numerical': 0.09823365354818717, 'mean_word_length': 2.9510403916768664, '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': '2275629', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1068, 'n_words': 228}