summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2021-11-10s/configuraiton/configuration/ in comment.msaitoh
2021-09-28wsmouse: add support for "precision scrolling" events and (GET|SET)PARAMSnia
WSCONS_EVENT_HSCROLL and WSCONS_EVENT_VSCROLL are two new wscons event types that allow scrolling with a higher precision ("smoothness") than an emulated scroll wheel, and are useful for touch input drivers. WSMOUSEIO_GETPARAMS and WSMOUSEIO_SETPARAMS are two new ioctls that allow the speed and direction of precision scrolling to be configured. both features were originally implemented in OpenBSD.
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd. Field and flag name aligned with OpenBSD. This does not constitute a functional or ABI change, as the field location and size, and the value placed in that field, are the same as the previous code, but we're bumping __NetBSD_Version__ so 3rd-party module source code can adapt, as needed. NetBSD 9.99.89
2021-09-22wscons: add definitions for BÉPO, a standardized, Dvorak-style optimizednia
keyboard layout for French
2021-06-07fix the NetBSD tag.christos
2021-06-07PR/56223: David Shao ^[]8;;^G make console unresponsive. From OpenBSD:christos
In `string' state, accept bell (^G) as an end of sequence in addition to `ESC \', as supported by xterm; some third-party software such as ncmpcpp rely upon this.
2021-06-01wsdisplay(4): Use C99 initializer for usl_syncops.riastradh
Avoid sketchy function pointer cast while here.
2021-05-16Try to guess attributes better.mlelstv
2021-05-16No need to check cell count.mlelstv
2021-05-11wscons: add support for the Neo 2 German keyboard layoutnia
Neo is an optimized layout for German and English, similar to Dvorak for English. It can be used to type most Latin-based languages and has separate layers for symbols and directional commands.
2021-04-24add an ioctl() to get a list of fonts currently available via wsfontmacallan
2021-01-28fix logic botch from previous - if we're asked to draw the cursor somewheremacallan
else and it's still visible we need to clear it
2021-01-26- refactor vcons_cursor_noread() a bit so it works the same way as the othermacallan
_noread() methods instead of duplicating half of vcons_cursor() - skip clearing the cursor only if we use all _noread() methods - clear RI_CURSOR in all copy*_noread() methods as well if we overwrite the cursor
2021-01-25clear the RI_CURSOR flag when we overwrite the cursor so we can skip clearingmacallan
it when asked to do it later on saves a bunch of framebuffer writes
2021-01-21introduce a putchar() based implementation of cursor() in order to avoidmacallan
framebuffer reads quite a speedup on arm64 / genfb
2021-01-17Revert previous and introduce vcons_earlyinit, which is like vcons_initjmcneill
except it does not setup a vcons_intr thread.
2021-01-17The change from config_interrupts to a kthread for VCONS_DRAW_INTR initjmcneill
unfortunately makes it easier to trigger a race that results in characters not being erased properly at boot. Work around the original issue a different way by creating a fake device_t and defer initialization until we are sure that config_interrupt threads are done. This is not ideal and the race is still present but fixing this properly would require a rewrite to make this code MP-safe.
2021-01-17Add appropriate memory barriers around sc_busy accesses. Fixes an issuejmcneill
where character cells are sometimes not erased properly on aarch64 at boot.
2021-01-17trailing whitespacejmcneill
2021-01-16Instead of defining VCONS_DONT_READ as the raw value of 0x30, insteadjmcneill
define it as (VCONS_NO_COPYCOLS|VCONS_NO_COPYROWS) for clarify. NFC.
2021-01-02be more careful when optimizing stretches of blanks into erasecols()macallan
now testpat's output is redrawn properly
2020-12-28provide (bug)compatibility with vga in WSDISPLAYIO_{PUT|GET}WSCHARmacallan
if row == 0 treat col as linear index into the text / attribute buffer, transform into proper coordinates as needed for putchar() with this wsmoused works as expected
2020-12-27Explicitly include generated ioconf.h for struct cfdrivers.tsutsui
2020-12-25Use C99 designated initializers for struct consdev.tsutsui
2020-12-23fix tpyomacallan
spotted by RVP, thanks!
2020-12-18Use sel{record,remove}_knote().thorpej
2020-11-21Fix previous and tag the right callout...mlelstv
2020-11-21Run callout without kernel lock, the softint itself is still protected.mlelstv
2020-10-29wscons(4): WSKBD_TYPE_PC_AT is automatically translated tonia
WSKBD_TYPE_PC_XT in modern kernels
2020-10-17Correct KB_NEXT value. No impact since KB_NEXT isn't used anywhere.mlelstv
2020-08-29provide KB_APPLE layout variant which uses Command-F* to switch console screensmacallan
mostly for consistent behaviour across *Books which may have ADB or USB keyboards
2020-07-13Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.nia
2020-07-13Canadian French keyboard layout for ukbd/pckbdnia
2020-07-13Add keyboard layout for Latin American Spanish to ukbd/pckbdnia
2020-07-12Add Icelandic keyboard layout to ukbd/pckbd.nia
2020-07-12Add Estonian layout as a variation of Swedish for ukbd and pckbdnia
2020-07-12Add support for the Brazilian keyboard layout to pckbd and ukbd.nia
This is significantly different from the European Portugese layout, and was pieced together from Wikipedia, X11 layout files, and to some extent with trial and error. Thanks to lun-4 for helping test this. PR kern/44570
2020-06-11Update for proplib(3) API changes.thorpej
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
2020-04-04KNF (Format block comment)pgoyette
NFCI
2020-04-04Make default protocol version used by wscons selectable and defaultmlelstv
to the current version. Fixes PR 55103.
2019-12-12Rather than keeping a separate mutex, condvar, and pserialize for eachpgoyette
module hook, we can share a common set of synchronization structures. This cuts the amount of cacheline_aligned data for these structures by 50%. Note that we still have a per-hook localcount, since we need to count individual references. As discussed with riastradh@ Welcome to 9.99.22 !
2019-12-06localifymaxv
2019-11-10in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAITchs
and remove code to handle failures that can no longer happen.
2019-07-31When font is switched, not only putchar, but also other ri_ops can berin
changed by backend driver, e.g., see rasops1.c: https://nxr.netbsd.org/xref/src/sys/dev/rasops/rasops1.c#58
2019-07-25Halt the old console on both cnattach and preattachjmcneill
2019-07-24Call cn_halt for old console in wsdisplay_preattach toojmcneill
2019-07-23Enable us to enter DDB from serial console when WSDISPLAY_MULTICONSrin
is enabled. This is necessary for machines on which framebuffer console cannot be disabled at run time. opt_wsdisplay_compat.h is generated for all ports including those that do not support wscons. OK Jared
2019-07-23Call cn_halt on the old console devicejmcneill
2019-07-09Do not overflow int64_t on HP Spectre x360 13-inch ae019TUryoon
The machine has pen touch panel with (18344, 10544) -> (3840, 2160) conversion.