Commit Graph

26 Commits

Author SHA1 Message Date
fincs
f78363be81
wutsocket: Revise automatic initialization, see details:
- socket_lib_init/exit wrappers are no longer stubs; they now perform
  refcounting & automatically register/deregister the socket devoptab
- Similarly, WHBInitialize/DeinitializeSocketLibrary are now aliased
  to socket_lib_init/exit
- WHBLogUdp now references socket_lib_init/finish again
- __init/fini_wut_socket have been simplified and are now weak,
  this is intended to allow users to customize their behaviour
2021-06-08 20:04:33 +02:00
GaryOderNichts
f1e9cbd58a wutsocket: implement missing functions 2021-03-07 16:40:55 +01:00
rw-r-r-0644
c377cffe13
Network socket changes (#136) 2021-03-07 13:09:12 +01:00
Crayon
78ee1c51bc Add Nunchuk/CC emulated sticks, KPAD accelerometer data, WPAD/KPAD documentation (#114)
* Add emulated stick values for Nunchuk and Classic Controller

* Add acceleration sensor data to KPADStatus

I have also changed the posValid type from uint8_t to int8_t because the value can be negative.
A negative value means that the result validity is not really good.

* Set version to beta in the doc

* Added mask for button C and button Z on the Nunchuk

The same mask applies to WPADButton and WPADNunchukButton.

* Add doxygen comments and fix typos

Most of the comments are pretty obvious but at least it's a start.

* Fix a copy-paste error in my last commit

I have also added comments for VPADGetTPCalibrationParam and VPADSetTPCalibrationParam.

* Add documentation for all buttons
2020-01-20 17:38:29 +11:00
Crayon2000
df93bf758f Add missing function declarations
Added:
* inet_ntoa_r
* inet_ntop
* inet_pton
* VPADGetTPCalibratedPointEx
2019-07-02 01:04:27 -04:00
rw-r-r-0644
4d7517a630 nsysnet: Add other supported socket options 2019-03-16 10:37:17 +00:00
James Benton
a5053a2a1a Fix padding in sockaddr_storage 2018-09-02 09:33:56 +01:00
Ash
fb92450f21
include/nsysnet/nssl: Clarify "block" arg to NSSLCreateConnection 2018-06-28 19:36:44 +10:00
Ash
3e8c28f939
include/nsysnet/nssl.h: Semantics - libcurl->nlibcurl 2018-06-28 19:36:12 +10:00
Ash
da3b0efaa6
include/nsysnet/nssl: Missing comma (-_-) 2018-06-28 19:34:28 +10:00
Ash
f9f5eb343a
include/nsysnet/nssl: Add meaningful group names, update cURL sample 2018-06-28 19:33:39 +10:00
Ash
0dd4b6bbda
include/nsysnet/nssl: Add NSSLDestroyConnection(). 2018-06-28 18:51:13 +10:00
Ash
e86a3be046
include/nsysnet/nssl: Add all the system certificates 2018-06-28 18:50:05 +10:00
Ash
55a911b56e
include/nsysnet/nssl: Add Doxygen documentation 2018-06-28 10:06:39 +10:00
James Benton
8c1943cdd7 nsysnet: Fix NSSL context / connection types.
NSSLCreateContext returns negative number on failure so must be a handle
rather than a pointer.
2018-06-18 12:17:16 +01:00
James Benton
3483172b50 nsysnet: Add NSSL* functions. 2018-06-18 11:13:25 +01:00
Maschell
f5aa0a6523 Add include of head "sys/select.h" which declares missing "fd_set" 2018-06-17 20:55:28 +01:00
James Benton
0239462847 nsysnet: Add defines for UDP broadcast. 2017-06-02 11:50:43 +01:00
James Benton
cdc07cac23 nsysnet: Update socket.h to use sys/time.h and sys/types.h 2017-04-10 23:19:21 +01:00
James Benton
4dfe8d5ea6 nsysnet: Add some missing stuff. 2017-04-07 01:23:29 +01:00
James Benton
9161baaee3 nsysnet: Do not rely on sys/socket.h or sys/time.h 2017-04-05 18:16:20 +01:00
dimok789
37330b5046 - added gx2 aa 2x and 4 and some additional primitive and surface enums
- added some gx2 logical ORed enums as typdef enum does not allow OR operations without a cast in C++
- added AXQuit in sndcore2
- added OSGetTitleID in coreinit
- removed not existing functions from nsysnet and added inet_ntoa
2016-10-11 19:17:18 +02:00
James Benton
8f38b15a72 Add missing .dox module files. 2016-10-09 21:25:33 +01:00
xhp-creations
28f8b1655f Fixed C++ defines and procui.h declarations
Fixed C++ defines and procui.h declarations
2016-08-15 00:33:58 -04:00
James Benton
67cc02c52b Remove trailing whitespace in socket.h 2016-07-24 23:41:21 +01:00
shinyquagsire23
cc0c50a8d5 Add nsysnet RPL imports 2016-07-24 15:13:06 -07:00