HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #579

Ticket #579: bkeyapi.patch

File bkeyapi.patch, 683 bytes (added by pulkomandy, 3 years ago)

Remove useless keyboard_id check

  • bkeyapi.cpp

     
    2626#error something is wrong with the makefile 
    2727#endif                 
    2828 
    29 #define KEY_ID_PC101 0 // the docs say it should be 0x83ab, but they lie 
    30  
    3129#define KEY_SEMAPHORE_NAME "keyboard driver waiting..." 
    3230 
    3331#define KEY_THREAD_PERIOD   33333             // microseconds, 1/30th of a second 
    … …  
    303301      goto cleanup; 
    304302   } 
    305303 
    306    if (keyboard_id != KEY_ID_PC101) { 
    307       goto cleanup; 
    308    } 
    309  
    310304   waiting_for_input = create_sem(0, "waiting for input..."); 
    311305 
    312306   if (waiting_for_input < B_NO_ERROR) { 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/