These landings are determined by the accelerometers, however, a "hard landing 15 report" is also issued from a hard sideways landing, meaning the gear has taken an extreme side loading from a crabbed crosswind landing on the downwind gear for example.
This is I believe the most penalizing, as it would seem not hard but the angle for the load was extreme.