Commit Graph

106 Commits

Author SHA1 Message Date
mlelstv 71e18f4b60 When merging entries with the keyboard map, print only the resulting changes.
While here, replace bcopy with standad memcpy.
2018-11-23 06:31:57 +00:00
khorben d01557a2c8 Added complete support for touchscreen calibration (see PR kern/45872).
Tested with the uts(4) driver, as well as with mice without calibration
support.

Reviewed by uwe@ (thank you!)
2012-12-24 01:29:20 +00:00
khorben 76cf3dff78 Added read-only support for touchscreen calibration (see PR kern/45872).
Tested with the uts(4) driver, as well as with mice without calibration
support.

Reviewed by uwe@ (thank you!)
2012-12-24 01:27:23 +00:00
khorben 0033dc95e8 Added a field type for signed integers. This is required when handling
touchscreen calibration values, which is about to be implemented in
wsconsctl (see PR kern/45872).

Reviewed by uwe@ (thank you!)
2012-12-24 01:20:12 +00:00
christos 722882388a allow non-command keysyms to be mapped as commands (experimental) 2012-10-23 15:30:45 +00:00
christos 2b7d68ecf8 - remove obsolete = { syntac
- print context for yyerror()
- add a production to clarify a syntax error
2012-10-23 01:59:18 +00:00
matt cf7ed4c9cc Convert to C89 function definitions 2012-03-20 18:50:30 +00:00
wiz 155b16958f Fix typo. 2012-02-14 11:05:32 +00:00
phx 01173747fc Amiga wscons/Xorg support, first phase.
Implemented wscons for CV64 and CV64/3D. Other graphics cards drivers are
prepared for it, but will not be attempted before Xorg is not running.
The wscons support is disabled by default. A GENERIC kernel should behave
like always. Use WSCONS to try out a kernel with wscons support.
Done by rkujawa@ and phx@.
2011-12-15 14:25:12 +00:00
joerg e837071dcc Mark yyerror as static and dead. 2011-08-27 19:01:34 +00:00
joerg 77103d874a input is unused 2011-05-24 12:07:14 +00:00
pooka b915a641c8 update macro names to match new ones
(i don't know why they changed, just fixing the build)
2011-02-06 21:38:09 +00:00
phx c122e153ac Allow standalone commands to be recognized, as in the in-kernel keymaps.
Also allow the Cmd token. Examples:
keycode 210 = Cmd Cmd_BrightnessUp
keycode 211 = Cmd_VolumeToggle
2010-11-30 12:22:06 +00:00
drochner 821d4396bd follow KS_GROUP_Ascii->KS_GROUP_Plain rename in kernel,
noticed by Andreas Gustafsson
2010-01-29 09:49:34 +00:00
christos 652adce2ab add %option noyywrap 2009-10-28 19:43:56 +00:00
snj 268e5bfd87 Mention a number of keyboard encodings.
From Jukka Ruohonen in PR kern/15955.
2009-06-09 19:46:32 +00:00
lukem 48680f64b2 fix sign-compare issues 2009-04-06 12:35:20 +00:00
jnemeth 10655c3e2a PR/40059 - Bug Hunting -- add Xref to wscons.conf(5) 2008-11-29 05:52:32 +00:00
apb 07103d0363 Pass SED=${TOOL_SED:Q} in the environment to scripts run during the build. 2008-10-26 14:55:17 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
dholland 79cfdc5aec Clarify message that says the map isn't shown when -a is given.
Resolves PR 32436 from Igor Sobrado based on a suggestion by
Dieter Roelants, except I expanded the message further.
2008-08-25 00:14:46 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
perry 36c7456d7c include sys/cdefs.h so that __attribute__ can be fixed later 2007-12-15 16:32:05 +00:00
christos 27ae1373d5 Mention include proper file for keyboard defines; from Zafer. 2006-10-22 19:39:32 +00:00
uwe b87585ec3c Mark splash.enable and splash.progress write-only, there are no ioctls
to get the values.
2006-08-13 23:52:11 +00:00
gdamore a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
jmcneill 8e45f8abca Add the ability to control the splash screen.
wsconsctl -d -w splash.enable=<1|0> to toggle the splash screen, and
 wsconsctl -d -w splash.progress=1 to update the splash animation
2006-02-18 19:35:11 +00:00
jmmv c799a9c4c0 Style fixes:
- Use EXIT_SUCCESS/EXIT_FAILURE where appropriate.
- Cut long lines.
- Properly indent continuation of lines.
- Sort includes.
- Replace u_int with unsigned int.
- Remove parenthesis around return values.
- Add blank line at the beginning of functions without local parameters.
- Cast *printf calls to void.
2006-02-05 18:11:46 +00:00
jmmv 2df378f966 Fix two pastos in the code to set 'samplerate'. 2006-02-05 17:45:06 +00:00
jmmv 8b589aee17 Add support to automatically repeat mouse button events in wsmouse(4) and
change wsconsctl(4) so that this is configurable.

This is specially useful for mice that provide page up/down buttons instead
of a real wheel and that do not send events repeatedly from the hardware.
(E.g.: Logitech Marble Mouse.)

No objections in tech-kern@.
2006-02-05 17:38:33 +00:00
wiz a76a5aebb5 Fix typo. From YOMURA Masanori in private mail. 2005-09-11 23:50:46 +00:00
wiz f3ce44eee2 Sort options. Various other fixes. 2005-07-24 21:07:52 +00:00
rpaulo d49bebea61 Add examples for scroll.fastlines and scroll.slowlines.
Also, bump the man page date.

ok wiz@, hubertf@
2005-07-24 20:54:06 +00:00
christos 6499bd69c1 constify. 2005-06-26 22:45:50 +00:00
lukem 86716480cb appease gcc -Wuninitialized 2005-06-02 00:15:02 +00:00
augustss 83ee25f9d4 Show an example of turning off auto repeat. 2005-05-03 13:26:25 +00:00
wiz f2944095c0 Fix a typo and add an s. 2005-05-03 11:57:11 +00:00
augustss e0b1c109ad Add an example for setting keyboard auto repeat rate. 2005-05-03 11:51:34 +00:00
jmmv 8bdb487207 Do not use FLG_MODIFY to mark color settings. I thought this was used to
denote that a flag was readable/writeable, but that is achieved by passing
a 0 as the flags.

Thanks to uwe@ for finding this out and explaining me why it was wrong.
2005-04-30 16:38:21 +00:00
augustss ecf40361a8 Change the default controlling devices to /dev/wskbd and /dev/wsmouse
(instead wskbd0 and wsmouse0), this way changes will affect all devices
instead of just the first one.
2005-04-29 16:51:33 +00:00
hubertf f3d4ac7cff Portuguese keyboards are supported to.
By Rui Paulo in PR 29884.
2005-04-05 12:17:17 +00:00
uwe 410c49bf05 Support backlight, brightness and contrast wsdisplay paramteres.
Useful for hpc* ports.
2005-02-27 15:26:16 +00:00
joff 9ff2922f8d o Add missing SGI wskbd type
o Add new MATRIXKP wskbd type
2005-01-31 06:24:08 +00:00
xtraeme 76500fc2f9 WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz) 2005-01-20 16:39:22 +00:00
xtraeme 844f4c525d Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 20:37:52 +00:00
jmmv ea287a80b7 Add 2004 to copyright notice as these has been significantly modified recently. 2004-07-30 15:22:42 +00:00
jmmv 1e4eaac87a Add an example on how to change the kernel message colors. This is
illustrative because it shows the use of the '-d' flag and how one can
set multiple variables in the same run of wsconsctl(8).
2004-07-30 11:21:16 +00:00
jmmv fcc698e864 Do not show several variables when they are not available.
At the moment this only affects the display part, hiding console colors,
border color and/or console scrollback if their respective ioctls are
not supported by the running kernel.

Trying to write to these variables will still fail with the correct ioctl
error message.
2004-07-30 11:08:03 +00:00