File tree Expand file tree Collapse file tree 3 files changed +6
-20
lines changed Expand file tree Collapse file tree 3 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -375,9 +375,7 @@ enum_i8(EventID)
375375    RSH_EVENT_COUNT ,
376376
377377    // Auto typing 
378-     KEY_PRESS            =  1 ,    // DEPRECATED 
379-     KEY_RELEASE ,                // DEPRECATED 
380-     KEY_AUTO_TYPE ,
378+     KEY_AUTO_TYPE        =  1 ,
381379    KEY_EVENT_COUNT ,
382380
383381    // Remote server manager 
Original file line number Diff line number Diff line change @@ -762,8 +762,6 @@ Amiga::update(CmdQueue &queue)
762762                cpu.processCommand (cmd);
763763                break ;
764764
765-             case  CMD_KEY_PRESS:
766-             case  CMD_KEY_RELEASE:
767765            case  CMD_KEY_RELEASE_ALL:
768766            case  CMD_KEY_TOGGLE:
769767
Original file line number Diff line number Diff line change @@ -149,28 +149,18 @@ class Keyboard final : public SubComponent {
149149    void  toggle (KeyCode keycode);
150150    void  releaseAll ();
151151
152-     //  DEPRECATED
153-     //  void autoType(KeyCode keycode, Cycle duration = MSEC(100), Cycle delay = 0);
152+     //  Auto-types a string
153+     void  autoType (const  string &text);
154+ 
155+     //  Discards all pending key events
156+     void  abortAutoTyping ();
154157
155158private: 
156159
157160    //  Wake up the keyboard if it has gone idle
158161    void  wakeUp ();
159162
160163
161-     // 
162-     //  Auto typing
163-     // 
164- 
165- public: 
166- 
167-     //  Auto-types a string
168-     void  autoType (const  string &text);
169- 
170-     //  Discards all pending key events
171-     void  abortAutoTyping ();
172- 
173- 
174164    // 
175165    //  Talking to the Amiga
176166    // 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments