make core keyboard/pointer map functions act on all core-sending devices

Make Set{Keyboard,Modifier,Pointer}Mapping act on all devices which send core
events.
Change LegalModifier to accept a DeviceIntPtr.
This commit is contained in:
Daniel Stone 2006-09-29 00:34:23 +03:00 • committed by Daniel Stone
commit ad631afcf3
19 changed files with 297 additions and 235 deletions

View file

@ -53,7 +53,7 @@
/** Returns TRUE if the key is a valid modifier. For PC-class
* keyboards, all keys can be used as modifiers, so return TRUE
* always. */
Bool LegalModifier(unsigned int key, DevicePtr pDev)
Bool LegalModifier(unsigned int key, DeviceIntPtr pDev)
{
return TRUE;
}