1: #include <X/mit-copyright.h> 2: 3: /* $Header: XKeyClickCon.c,v 10.4 86/02/01 15:36:00 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: 8: /* 9: * XKeyClickControl - Controls the volume of the "click" that the 10: * keyboard makes when a key is pressed. 0 if "off", 8 is the loudest 11: * volume. Initially volume is set to 6. 12: */ 13: 14: XKeyClickControl(volume) 15: int volume; 16: { 17: register XReq *req; 18: register Display *dpy; 19: 20: GetReq(X_KeyClick, 0); 21: req->func = volume; 22: }