|
Purpose |
Changes the input source to a program | |
|
Old name |
#define dvc_redirect dvc_set_inp_mask | |
|
Syntax |
void dvc_set_inp_mask(ipsource) | |
|
Parameters |
int ipsource |
Combination of sources from which to obtain input |
|
Description |
The function dvc_set_inp_mask() is used in conjunction with device drivers to change the source of input from devices other than the normal keyboard. You can set up the input sources for a driver with the utility DFSETUP. For example, a device might have the following input devices set up: | |
|
|
Source Number |
Device |
|
|
1 |
Keyboard |
|
|
2 |
MSR |
|
|
3 |
Scanner |
|
|
4 |
Scales |
|
|
Each of the source numbers correspond to a bitmask of 2 to the power of the number. For example, to take input from the keyboard, scanner or the scales, set the ipsource parameter to 1 + 4 + 8. See the DP4 Device Drivers Developers Manual for more information about this function. | |
|
See also |
||