1/* 2 * Copyright (c) 2010, 2017 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 174 unchanged lines hidden (view full) --- 183 switch (byte) { 184 case Ps2Reset: 185 rxQueue.push_back(Ack); 186 rxQueue.push_back(SelfTestPass); 187 break; 188 case SetResolution: 189 case SetRate: 190 case SetStatusLed: |
191 rxQueue.push_back(Ack); 192 ackNext = 1; 193 break; 194 case ReadId: 195 rxQueue.push_back(Ack); 196 if (params()->is_mouse) 197 rxQueue.push_back(MouseId); 198 else --- 5 unchanged lines hidden (view full) --- 204 // We're not a trackpoint device, this should make the probe go away 205 rxQueue.push_back(Ack); 206 rxQueue.push_back(0); 207 rxQueue.push_back(0); 208 // fall through 209 case Disable: 210 case Enable: 211 case SetDefaults: |
212 case SetScaling1_1: 213 case SetScaling1_2: |
214 rxQueue.push_back(Ack); 215 break; 216 case StatusRequest: 217 rxQueue.push_back(Ack); 218 rxQueue.push_back(0); 219 rxQueue.push_back(2); // default resolution 220 rxQueue.push_back(100); // default sample rate 221 break; --- 142 unchanged lines hidden --- |